Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Sort Github fork lists by the number of stars and commits ahead from the source repo.

License

Notifications You must be signed in to change notification settings

simonghpub/meaningful-forks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meaningful-forks

Sort Github fork lists by the number of stars and commits ahead from the source repo.

Angular forks

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

  1. Install Tampermonkey for managing userscripts on Chrome, Chromium, Firefox, Opera, or Safari.
  2. Add script for meaningful-forks from dist/script.js to Tampermonkey
  3. 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",...
  4. 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.

About

Sort Github fork lists by the number of stars and commits ahead from the source repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%