File: README.md
Profile Summaryβββ[![Badge License]][License]
A tool to visualize your GitHub presence.
File: Documentation/Building.md
Building
How to setup and compile the project.
Docker
You can also use Docker to
compile & run the project.
Steps
Clone the repository
shellgit clone https://github.com/tipsy/profile-summary-for-github.gitNavigate to the root folder
shellcd profile-summary-for-githubInstall the dependencies
shellmvn installCompile the source code
shelljava -jar target/profile-summary-for-github-jar-with-dependencies.jar
File: Documentation/Docker.md
Docker
How to use this project with docker.
Building
How to compile the source code.
Clone the repository
shellgit clone https://github.com/tipsy/profile-summary-for-github.gitNavigate to the root folder
shellcd profile-summary-for-githubCompile the source code
shelldocker build -t profile-summary-for-github
Running
How to start the compiled project.
Without Token
docker run \
-it \
--rm \
--name profile-summary-for-github \
-p 7070:7070 profile-summary-for-githubWith Token
docker run \
-it \
--rm \
--name profile-summary-for-github \
-p 7070:7070 \
-e "API_TOKENS=<My Token A>,<My Token B>" profile-summary-for-githubInterface
You can access it at http://localhost:7070
File: Documentation/Usage.md
Usage
How to configure the project.
API Token
The access token to GitHubs API.
Without
If no api token is set, you only get ~50 requests / hour.
With
To run the app with an api-token, first Generate A Token.
Provide the token in the following way:
java \
-Dapi-tokens=your-token \
-jar target/profile-summary-for-github-jar-with-dependencies.jarYou can use a comma-separated list
of tokens to increase your rate-limit.
Parameters
Command line options you can set.
Unrestricted
You can allow the building of any GitHub
profile by passing -Dunrestricted=true :
java \
-Dunrestricted=true \
-jar target/profile-summary-for-github-jar-with-dependencies.jarFree Threshold
You can set when the app should require
the user to star the GitHub repository.
Pass the number of remaining requests at which the
cutoff should kick in, as seen in the following example:
java \
-Dfree-requests-cutoff=1000 \
-jar target/profile-summary-for-github-jar-with-dependencies.jarGoogle Tag Manager
You can enable this feature by passing the gtm-id.
java \
-Dgtm-id=GTM-XXXXXX \
-jar target/profile-summary-for-github-jar-with-dependencies.jar