{"id":15033783,"url":"https://github.com/shpota/github-activity-generator","last_synced_at":"2025-05-14T00:10:49.233Z","repository":{"id":41429174,"uuid":"200260887","full_name":"Shpota/github-activity-generator","owner":"Shpota","description":"A script that helps generate a rich GitHub Contribution Graph for your account 🤖","archived":false,"fork":false,"pushed_at":"2025-01-26T15:40:49.000Z","size":58,"stargazers_count":3394,"open_issues_count":23,"forks_count":282,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-05-08T18:16:47.984Z","etag":null,"topics":["contribution-graph","contributions","generate","generator","git","github","github-app","gitlab","python","python-script","python2","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shpota.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["Shpota"]}},"created_at":"2019-08-02T15:48:21.000Z","updated_at":"2025-05-08T09:55:10.000Z","dependencies_parsed_at":"2024-11-07T21:29:02.816Z","dependency_job_id":"2e339f56-dc48-4ddd-9e63-21dc02788b42","html_url":"https://github.com/Shpota/github-activity-generator","commit_stats":{"total_commits":19,"total_committers":7,"mean_commits":"2.7142857142857144","dds":0.4736842105263158,"last_synced_commit":"2f71301b614edf2000cc18540a434d0338570596"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fgithub-activity-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fgithub-activity-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fgithub-activity-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shpota%2Fgithub-activity-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shpota","download_url":"https://codeload.github.com/Shpota/github-activity-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254044364,"owners_count":22005145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["contribution-graph","contributions","generate","generator","git","github","github-app","gitlab","python","python-script","python2","python3"],"created_at":"2024-09-24T20:22:44.112Z","updated_at":"2025-05-14T00:10:44.226Z","avatar_url":"https://github.com/Shpota.png","language":"Python","readme":"GitHub Activity Generator [![Gitter](https://badges.gitter.im/github-activity-generator/community.svg)](https://gitter.im/github-activity-generator/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge) [![build](https://github.com/Shpota/github-activity-generator/workflows/build/badge.svg)](https://github.com/Shpota/github-activity-generator/actions?query=workflow%3Abuild)\n=========================\n\nA script that helps you *instantly* generate a beautiful GitHub Contributions Graph\nfor the last year.\n\n## ⚠ Disclaimer\n\nThis script is for educational purposes and demonstrating GitHub mechanics. It should not be used to misrepresent professional contributions or coding activity.\n\n## Check my other projects\n\nI created this project more than five years ago. Since then, I have built several **much more valuable\ntools** which I encourage you to check:\n\n- [sol4k](https://github.com/sol4k/sol4k) - Kotlin, JVM, and Android client for Solana\n- [podil.js](https://github.com/podiljs/podil) - Lightweight and secure database schema migration tool\n- [goxygen](https://github.com/Shpota/goxygen) - Web project generator\n- [zeit](https://github.com/Shpota/zeit) - A Fitbit clock face for learners of the German language\n\n\n## What it looks like\n\n### Before :neutral_face: :no_mouth: :unamused: \n![Before](before.png)\n### After :muscle: :relieved: :heart: :sunglasses: :metal: :horse: :wink: :fire: :dancer: :santa: :fireworks: :cherries: :tada:\n![After](after.png)\n\n## How to use\n1. Create an empty GitHub repository. Do not initialize it.\n2. Download [the contribute.py script](https://github.com/Shpota/github-activity-generator/archive/master.zip) \nand execute it passing the link on the created repository\n```sh\npython contribute.py --repository=git@github.com:user/repo.git\n```\nNow you have a repository with lots of changes in your GitHub account.\nNote: it takes several minutes for GitHub to reindex your activity.\n\n## How it works\nThe script initializes an empty git repository, creates a text file and starts \ngenerating changes to the file for every day within the last year (0-20 commits \nper day). Once the commits are generated it links the created repository with\nthe remote repository and pushes the changes.\n\n## Customizations\nYou can customize how often to commit and how many commits a day to make, etc.\n\nFor instance, with the following command, the script will make from 1 to 12 \ncommits a day. It will commit 60% days a year.\n```sh\npython contribute.py --max_commits=12 --frequency=60 --repository=git@github.com:user/repo.git\n```\nUse `--no_weekends` option if you don't want to commit on weekends\n```sh\npython contribute.py --no_weekends\n```\nIf you do not set the `--repository` argument the script won't push the changes. \nThis way you can import the generated repository yourself.\n\nUse `--days_before` and `--days_after` to specify how many days before the current\ndate the script should start committing, and how many days after the current date it\nwill keep committing.\n\n```sh\npython contribute.py --days_before=10 --days_after=15\n```\n\nRun `python contribute.py --help` to get help.\n\n## System requirements\nTo be able to execute the script you need to have Python and Git installed.\n\n## Troubleshooting\n\n#### I performed the script but my GitHub activity is still the same.\nIt might take several minutes for GitHub to reindex your activity. Check\nif the repository has new commits and wait a couple of minutes.\n#### The changes are still not reflected after some time.\nAre you using a private repository? If so, enable showing private contributions\n[following this guide](https://help.github.com/en/articles/publicizing-or-hiding-your-private-contributions-on-your-profile).\n\n#### Still no luck\nMake sure the email address you have in GitHub is the same as you have in\nyour local settings. GitHub counts contributions only when they are made \nusing the corresponding email.\n\nCheck your local email settings with:\n```\ngit config --get user.email\n```\nIf it doesn't match with the one from GitHub reset it with\n```\ngit config --global user.email \"user@example.com\"\n```\nCreate a new repository and rerun the script.\n\n#### There are errors in the logs of the script.\nMaybe you tried to use an existing repository. If so, make sure you are using\na new one which is *not initialized*.\n\n**If none of the options helped, open an issue and I will fix it as soon as possible.**\n","funding_links":["https://github.com/sponsors/Shpota"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshpota%2Fgithub-activity-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshpota%2Fgithub-activity-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshpota%2Fgithub-activity-generator/lists"}