https://github.com/willemverbuyst/gh-contributions-collection
https://github.com/willemverbuyst/gh-contributions-collection
deno
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/willemverbuyst/gh-contributions-collection
- Owner: willemverbuyst
- Created: 2024-12-10T04:55:58.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-30T04:53:30.000Z (10 months ago)
- Last Synced: 2024-12-30T05:31:06.408Z (10 months ago)
- Topics: deno
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
> deno run --allow-net --allow-read --allow-env --allow-write main.ts
## How does this work?
1. When running this you will prompted to enter a year (in the terminal). Next you will be prompted to enter a gh-username. And more usernames if you want
2. It will generate a `contributions__.yml` with the contributions for the selected year for each username
3. It will generate a `contributions_total_.yml`, which has the sum of the contributions of all usernames for the selected year
## Prerequisites
A github token.
You can add
```
GITHUB_TOKEN=your-token
```to a `.env`