refined-github/readme.md

14 KiB
Исходник Постоянная ссылка Ответственный История

Refined GitHub Chrome version Firefox version Deployment

Browser extension that simplifies the GitHub interface and adds useful features

Discuss it on Product Hunt 🦄

We use GitHub a lot and notice many dumb annoyances we'd like to fix. So here be dragons.

Our hope is that GitHub will notice and implement some of these much needed improvements. So if you like any of these improvements, please email GitHub support about doing it.

GitHub Enterprise is also supported by authorizing your own domain in the options.

Install

Highlights

Dashboard cleanup
Mark issues and pull requests as unread
(They will reappear in Notifications)
Preserves the original Markdown when you copy text from comments
Reaction avatars Moves destructive buttons in commenting forms away from the primary button
Linkifies issue/PR references in code, comments and titles

New Features

More actions

More info at a glance

Declutter

  • Hides other users starring/forking your repos from the news feed (optional)
  • Moves the dashboard organization switcher to the right column
  • Removes annoying hover effect in the repo file browser
  • Removes the comment box toolbar
  • Removes tooltips
  • Removes the "Projects" repo tab when there are no projects (New projects can be created on the "Settings" tab)

UI improvements

And lots more...

More shortcuts

Previously part of Refined GitHub

Community tweaks

Stuff that didn't get included, but might be useful.

Customization

We're happy to receive suggestions and contributions, but be aware this is a highly opinionated project. There's a single commonly-requested option but we're not interested in adding more as it's a slippery slope into adding one for everything. Users will always disagree with something. That being said, we're open to discussing things.

While this project is highly opinionated, this doesn't necessarily limit you from manually disabling functionality that is not useful for your workflow. Options include:

  1. (CSS Only) Use a Chrome extension that allows injecting custom styles into sites, based on a URL pattern. Stylist is one such tool. Example

  2. Clone the repository, make the adjustments you need, and load the unpacked extension in Chrome, rather than installing from the Chrome Store.

Contribute

Suggestions and pull requests are highly encouraged!

In order to make modifications to the extension you'd need to run it locally. Please follow the steps below:

git clone git@github.com:sindresorhus/refined-github
cd refined-github
npm install    # Install dev dependencies
npm run build  # Build the extension code so it's ready for the browser
npm run watch  # Listen for file changes and automatically rebuild

Once built, load it in the browser of your choice:

Chrome Firefox
  1. Open chrome://extensions
  2. Check the Developer mode checkbox
  3. Click on the Load unpacked extension button
  4. Select the folder refined-github/extension
  1. Open about:debugging#addons
  2. Click on the Load Temporary Add-on button
  3. Select the file refined-github/extension/manifest.json

Want more? Here are some ideas you could develop!

Created by

License

MIT