|
1 |
| -# profile-summary-for-github |
2 | 1 |
|
3 |
| -## live at [https://profile-summary-for-github.com/](https://profile-summary-for-github.com/) |
| 2 | +# Profile Summary [![Badge License]][License] |
4 | 3 |
|
5 |
| -## screenshot |
6 |
| - |
| 4 | +*A tool to visualize your **GitHub** presence.* |
7 | 5 |
|
8 |
| -## run locally |
9 |
| -* `git clone https://github.com/tipsy/profile-summary-for-github.git` |
10 |
| -* `cd profile-summary-for-github` |
11 |
| -* `mvn install` |
12 |
| -* `java -jar target/profile-summary-for-github-jar-with-dependencies.jar` |
| 6 | +<br> |
13 | 7 |
|
14 |
| -If no api-token is set, you only get ~50 requests/hour |
| 8 | +<div align = center> |
15 | 9 |
|
16 |
| -To run the app with an api-token, first generate a token at |
17 |
| -[https://github.com/settings/tokens](https://github.com/settings/tokens), |
18 |
| -then launch the jar with the token: |
| 10 | +--- |
19 | 11 |
|
20 |
| -* `java -Dapi-tokens=your-token -jar target/profile-summary-for-github-jar-with-dependencies.jar` |
| 12 | +[![Button Demo]][Demo] |
| 13 | +[![Button Building]][Building] |
| 14 | +[![Button Usage]][Usage] |
21 | 15 |
|
22 |
| -You can use a comma-separated list of tokens to increase your rate-limit |
| 16 | +--- |
23 | 17 |
|
24 |
| -You can build a profile summary for any GitHub profile using `-Dunrestricted=true`: |
| 18 | +<br> |
25 | 19 |
|
26 |
| -* `java -Dunrestricted=true -jar target/profile-summary-for-github-jar-with-dependencies.jar` |
| 20 | +<img |
| 21 | + src = 'https://user-images.githubusercontent.com/1521451/34072014-4451dbf6-e280-11e7-90a7-32ad1f313541.PNG' |
| 22 | + width = 800 |
| 23 | +/> |
27 | 24 |
|
28 |
| -You can set when the app should require user-starring by passing `free-requests-cutoff` |
29 |
| -Passing 1000 will require the app to require starring if there are less than 1000 requests left: |
| 25 | +</div> |
30 | 26 |
|
31 |
| -* `java -Dfree-requests-cutoff=1000 -jar target/profile-summary-for-github-jar-with-dependencies.jar` |
32 | 27 |
|
33 |
| -You can enable Google Tag Manager on your instance by setting `gtm-id`: |
| 28 | +<!-----------------------------------------------------------------------------> |
34 | 29 |
|
35 |
| -* `java -Dgtm-id=GTM-XXXXXX -jar target/profile-summary-for-github-jar-with-dependencies.jar` |
| 30 | +[Demo]: https://profile-summary-for-github.com/ |
36 | 31 |
|
37 |
| -## run locally with docker |
| 32 | +[Building]: Documentation/Building.md |
| 33 | +[License]: LICENSE |
| 34 | +[Usage]: Documentation/Usage.md |
38 | 35 |
|
39 |
| -* `git clone https://github.com/tipsy/profile-summary-for-github.git` |
40 |
| -* `cd profile-summary-for-github` |
41 |
| -* `docker build -t profile-summary-for-github .` |
42 |
| -* `docker run -it --rm --name profile-summary-for-github -p 7070:7070 profile-summary-for-github` |
43 |
| -* OR with a token `docker run -it --rm --name profile-summary-for-github -p 7070:7070 -e "API_TOKENS=mytoken1,mytoken2" profile-summary-for-github` |
44 |
| -* browse to http://localhost:7070 |
| 36 | + |
| 37 | +<!--------------------------------[ Badges ]-----------------------------------> |
| 38 | + |
| 39 | +[Badge License]: https://img.shields.io/badge/License-Apache_2.0-D22128?style=for-the-badge |
| 40 | + |
| 41 | + |
| 42 | +<!-------------------------------[ Buttons ]-----------------------------------> |
| 43 | + |
| 44 | +[Button Building]: https://img.shields.io/badge/Building-7952B3?style=for-the-badge&logoColor=white&logo=AzureArtifacts |
| 45 | +[Button Usage]: https://img.shields.io/badge/Usage-239120?style=for-the-badge&logoColor=white&logo=GitBook |
| 46 | +[Button Demo]: https://img.shields.io/badge/Demo-0091BD?style=for-the-badge&logoColor=white&logo=AppleArcade |
0 commit comments