Display your total contributions, current streak, and longest streak in your terminal.
The program automatically retrieves the user's streak statistics using GitHub's GraphQL API.
# Examples in console
+---------------------+----------+ ╭─────────────────────┬──────────╮
| Category | Count | │ Category │ Count │
+---------------------+----------+ ├─────────────────────┼──────────┤
| Current Streak | 102 days | │ Current Streak │ 104 days │
| Longest Streak | 102 days | │ Longest Streak │ 104 days │
| Total Contributions | 642 | │ Total Contributions │ 658 │
+---------------------+----------+ ╰─────────────────────┴──────────╯- Clone the repo
git clone https://github.com/alexlostorto/github-streak-
Rename .env.example to .env
-
Replace the username with any GitHub username and replace ghp_example with your personal access token.
TOKEN=ghp_example
USER=username- Install dependencies
pip install -r requirements.txt- Run main.py
python main.py- Star the repo 😄
Everything is coded by Alex lo Storto
Licensed under the MIT License.