meaningful-forks
Sort Github fork lists by the number of stars and commits ahead from the source repo.
Features
- Sort forks according to the number of effective stars (excluding fork author's own star)
- Sort forks according to the number of commits ahead from the source repo (displayed using a green up arrow)
- Show a flame symbol for forks more recent than the source repo
Installation
- Install Tampermonkey for managing userscripts on Chrome, Chromium, Firefox, Opera, or Safari.
- Add script for meaningful-forks from
dist/script.js
to Tampermonkey - Replace the Github API access token (the constant variable) on the first line with your own. See this post on how to create a new access token. The reason for this is because Github API limits unauthorized requests to only 60 times per hour. (more details)
!async function(){const e="f9765ac063fb541c632e7baec5bc91f0db0738dc",...
- Add Userscript header to the top of Tampermonkey script
// ==UserScript== // @name meaningful-forks // @namespace http://tampermonkey.net/ // @version 0.1 // @description Sort Github fork lists by the number of stars and commits ahead from the source repo. // @author Kevin Li // @match https://github.com/*/network/members // @grant none // ==/UserScript==
Now you can use meaningful-forks on any github page. To test this, go to the fork page for Angular. Your page should look similar to the demo image above.
Credits
Inspired by lovely-forks by Utkarsh Upadhyay.
License
This project is licensed under the terms of the MIT license.