Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antfu/refined-github-notifications
UserScript that enhances the GitHub Notifications
https://github.com/antfu/refined-github-notifications
github maintainers userscript
Last synced: 21 days ago
JSON representation
UserScript that enhances the GitHub Notifications
- Host: GitHub
- URL: https://github.com/antfu/refined-github-notifications
- Owner: antfu
- License: mit
- Created: 2023-03-06T03:28:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-19T07:59:12.000Z (about 2 months ago)
- Last Synced: 2024-10-01T01:43:46.620Z (about 1 month ago)
- Topics: github, maintainers, userscript
- Language: JavaScript
- Homepage:
- Size: 208 KB
- Stars: 208
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Userscript: Refined GitHub Notifications
Enhances the GitHub Notifications page, making it more productive and less noisy.
[Install on Greasyfork](https://greasyfork.org/en/scripts/461320-refined-github-notifications)
## Introduction
Check [Anthony's Talk](https://youtu.be/gu-0b6KCf80) or the [Transcripts](https://antfu.me/posts/manage-github-notifcations-2023) to learn more about the philosophy and motivations behind this userscript.
## Features
> **Note**: It's pretty opinionated. I'd encourage you to fork and customize it to your own needs.
- Add `target="_blank"` to all notifications (and remove `notification_referrer_id`)
- Refresh the page when going back to the tab, so you get the latest notifications
- Remove bot avatars
- Colorize the notification type (mention, review request, etc.)
- Auto mark notifications as done (remove it from the list), if:
- The issue/PR is closed/merged, and you have not participated at all
- The issue/PR is closed/merged, and you already read it
- PRs created by Renovate, if not participating
- New commits pushed to PRs
- *Notifications you have bookmarked will be bypassed
- Make sure only one notification tab is opened
- When going to the issue from the notification, inject a floating button to mark it as done and close the tab.
- `Alt/Option + X` to mark a notification as done and close it
- Preview issue body when hovering over the title## GitHub Token
When using "Detail Preview" feature, GitHub token would be better to provide to avoid rate limit. You can set the token by running the following command in the console of any page on GitHub:
```ts
localStorage.setItem('github_token', 'your token')
```## Sponsors
## License
[MIT](./LICENSE) License © 2023 [Anthony Fu](https://github.com/antfu)