{"id":20979661,"url":"https://github.com/velimir/contributions","last_synced_at":"2026-04-24T11:05:33.549Z","repository":{"id":148996783,"uuid":"115739589","full_name":"velimir/contributions","owner":"velimir","description":"Scripts to generate user GithHub contributions Gantt chart","archived":false,"fork":false,"pushed_at":"2018-01-02T19:50:20.000Z","size":1564,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T09:11:15.884Z","etag":null,"topics":["asyncio","chart","contributions-chart","github-api","graphql","notebook","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/velimir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-29T16:59:19.000Z","updated_at":"2025-08-25T16:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb6f8f42-36e7-4f0c-99d8-42846d2bb7dd","html_url":"https://github.com/velimir/contributions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/velimir/contributions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velimir%2Fcontributions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velimir%2Fcontributions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velimir%2Fcontributions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velimir%2Fcontributions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velimir","download_url":"https://codeload.github.com/velimir/contributions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velimir%2Fcontributions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32220295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asyncio","chart","contributions-chart","github-api","graphql","notebook","python","python3"],"created_at":"2024-11-19T05:14:05.255Z","updated_at":"2026-04-24T11:05:33.522Z","avatar_url":"https://github.com/velimir.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Historical GitHub contributions chart\n\n[![Contributions chart](examples/velimir-top20-tr.png)](examples/velimir-top20.png)\n\nRead more about script usage and examples in a blog [post](https://velimir.me.uk/historical-github-contributions-chart.html).\n\n## Use\n\n### Getting data\n\n1. Clone repo\n   ```\n   $ git clone git@github.com:velimir0xff/contributions.git \u0026\u0026 cd contributions\n   ```\n2. Install dependencies:\n   ```\n   $ pip install -r ./requirements.txt\n   ```\n3. Set GITHUB_TOKEN environment variable. It's required to talk to GraphQL endpoint. You can get token on token [page](https://github.com/settings/tokens).\n   ```\n   $ export GITHUB_TOKEN=\u003ctoken\u003e\n   ```\n4. Run script:\n   ```\n   $ ./contributions.py \u003e stats.json\n   ```\n\nFor additional configuration options see script usage:\n```\n$ ./contributions.py -h\nusage: contributions.py [-h] [-g URL] [-u USERNAME] [-o OWNERS] [-v] [-n] [-m MAX_CONCURRENCY]\n                        [-c MAX_CONTRIBUTORS] [--out OUT]\n\nList projects to which user have contributed to. Script requires valid GitHub token set via GITHUB_TOKEN environment variables.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -g URL, --url URL     GitHub base url (default: https://api.github.com)\n  -u USERNAME, --username USERNAME\n                        Contributor username\n  -o OWNERS, --owner OWNERS\n                        Owners to check\n  -v, --verbose         Verbose mode (default: False)\n  -n, --no-progress     Do not show progress bar (default: False)\n  -m MAX_CONCURRENCY, --max-concurrency MAX_CONCURRENCY\n                        Maximum # of concurrent requests to GitHub (default: 20)\n  -c MAX_CONTRIBUTORS, --max-contributors MAX_CONTRIBUTORS\n                        Maximum # of concurrent requests to GitHub contributors endpoint (default:\n                        20)\n  --out OUT             output file with contributions (default=stdout)\n```\n\n### Data visualization\n\nIn order to generate chart use `contributions.ipynb` jupyter notebook in the repo root directory.\nConfigure `filename` variable to point to stats data generated by script (example: `filename = 'examples/uwiger.json'`) and run all cells.\n\nTo save pictures just add the following line at the end of the notebook:\n```python\nfig.savefig('my-stats.png', dpi=300, bbox_inches='tight')\n```\n\nor if you want a transparent version:\n```python\nfig.savefig('my-stats.png', dpi=300, bbox_inches='tight', transparent=True)\n```\n\n## Contribute\n\nPlease feel free to submit pull requests to this repository or open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelimir%2Fcontributions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelimir%2Fcontributions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelimir%2Fcontributions/lists"}