A Tampermonkey userscript that adds a Trending button to the GitHub header navigation bar.
- Adds a "Trending" link to the GitHub header
- Native GitHub styling that matches the existing UI
- Supports both light and dark themes
- Mobile responsive design
- Works with GitHub's SPA navigation
- Install Tampermonkey extension for your browser
- Click here to install the script
- Or manually create a new script in Tampermonkey and copy the content from
github-trending.user.js
Once installed, the Trending button will appear in the GitHub header next to "Pull requests". Click it to navigate to the GitHub Trending page.
- Works on all GitHub pages (
https://github.com/*) - Compatible with GitHub's new and old UI designs
- Supports dynamic page navigation (SPA)
- Fixed text color to match GitHub native styling
- Adjusted opacity for better visual consistency
- Initial release
- Added mobile responsive support
MIT License - feel free to use and modify as needed.
Created with ❤️ for the GitHub community.