Source: profile-summary-for-github
git clone https://github.com/tipsy/profile-summary-for-github.gitcd profile-summary-for-githubmvn installjava -jar target/profile-summary-for-github-jar-with-dependencies.jarIf no api-token is set, you only get ~50 requests/hour
To run the app with an api-token, first generate a token at https://github.com/settings/tokens, then launch the jar with the token:
java -Dapi-tokens=your-token -jar target/profile-summary-for-github-jar-with-dependencies.jarjava -Dapi-tokens=44ae3a87c67504b99608a13e35e9bcfc4013aa12 -jar target/profile-summary-for-github-jar-with-dependencies.jar 44ae3a87c67504b99608a13e35e9bcfc4013aa12
You can use a comma-separated list of tokens to increase your rate-limit
You can build a profile summary for any GitHub profile using -Dunrestricted=true:
java -Dunrestricted=true -jar target/profile-summary-for-github-jar-with-dependencies.jarYou can set when the app should require user-starring by passing free-requests-cutoff
Passing 1000 will require the app to require starring if there are less than 1000 requests left:
java -Dfree-requests-cutoff=1000 -jar target/profile-summary-for-github-jar-with-dependencies.jarYou can enable Google Tag Manager on your instance by setting gtm-id:
java -Dgtm-id=GTM-XXXXXX -jar target/profile-summary-for-github-jar-with-dependencies.jargit clone https://github.com/tipsy/profile-summary-for-github.gitcd profile-summary-for-githubdocker build -t profile-summary-for-github .docker run -it --rm --name profile-summary-for-github -p 7070:7070 profile-summary-for-githubdocker run -it --rm --name profile-summary-for-github -p 7070:7070 -e "API_TOKENS=mytoken1,mytoken2" profile-summary-for-github