Skip to content

Simple web page that displays current number of GitHub Stars for a given repository

Notifications You must be signed in to change notification settings

cupofcat/github-repo-stars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

github-repo-stars

Usage

http://cupofcat.github.io/repo-stars/index.html?kubernetes/autoscaler

Setup as subdirectory in a GitHub Page repo

git remote add upstream [email protected]:cupofcat/github-repo-stars.git
git config remote.upstream.pushurl "DO NOT PUSH TO UPSTREAM FROM HERE"
git fetch upstream
git subtree add --prefix repo-stars upstream master --squash
git subtree pull --prefix repo-stars upstream master --squash
git push

To update you can just use:

git fetch upstream && git subtree pull --prefix repo-stars upstream master --squash

Read more on git subtree here: https://www.atlassian.com/blog/git/alternatives-to-git-submodule-git-subtree

About

Simple web page that displays current number of GitHub Stars for a given repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published