{"id":50307707,"url":"https://github.com/lifan2029/fill-green","last_synced_at":"2026-05-28T18:01:11.921Z","repository":{"id":313212228,"uuid":"1050498610","full_name":"lifan2029/fill-green","owner":"lifan2029","description":"A Python script that automatically generates commits for a given date range, with customizable commit frequency per day. Useful for visualizing contributions on GitHub activity graph.","archived":false,"fork":false,"pushed_at":"2025-10-31T16:24:17.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T18:20:16.544Z","etag":null,"topics":["activity-graph","automation","commit-generator","fake-commits","git","git-automation","github-contributions","open-source","python","scripting"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lifan2029.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-04T14:13:09.000Z","updated_at":"2025-10-31T16:24:21.000Z","dependencies_parsed_at":"2025-09-04T16:26:14.952Z","dependency_job_id":"78931267-4612-4201-b73b-8c93cf643bb9","html_url":"https://github.com/lifan2029/fill-green","commit_stats":null,"previous_names":["lifan2029/fill-green"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lifan2029/fill-green","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifan2029%2Ffill-green","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifan2029%2Ffill-green/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifan2029%2Ffill-green/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifan2029%2Ffill-green/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifan2029","download_url":"https://codeload.github.com/lifan2029/fill-green/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifan2029%2Ffill-green/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33619972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["activity-graph","automation","commit-generator","fake-commits","git","git-automation","github-contributions","open-source","python","scripting"],"created_at":"2026-05-28T18:00:58.127Z","updated_at":"2026-05-28T18:01:11.898Z","avatar_url":"https://github.com/lifan2029.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"779\" height=\"210\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c35274e7-cf30-4462-b0ac-6ac08ead329a\" /\u003e\n\u003c/p\u003e\n\n# Git Commit Generator\n\nA small Python script that automatically generates commits for a given date range.  \nUseful for filling the GitHub contribution graph, testing Git workflows, or experimenting with commit history.  \n\n## ✨ Features\n- Set **start and end date** for commits\n- Flexible commits per day: random range (e.g. COMMITS_PER_DAY = (2, 4))\n- Automatic commit timestamps\n- Optional push to remote (`origin`)\n\n## 🔧 Requirements\n- Python **3.10+** must be installed on your system\n- Git must be available in `$PATH`\n\n## 🚀 Quick start\n\n### ✨ Clone the repository:\n\n```bash\ngit clone https://github.com/lifan2029/fill-green.git\n```\n\n### ✨ Delete old `.git` directory\n\n#### Linux / macOS\n```bash\nrm -rf .git\n```\n\n#### Windows (CMD)\n```bash\nrmdir /s /q .git\n```\n\n#### Windows (Powershell)\n```bash\nRemove-Item -Recurse -Force .git\n```\n\n### ✨ Setup your git\n\nTo initialize your own repository and link it with GitHub:\n\n```bash\ngit init\ngit add .\ngit commit -m \"Initial commit\"\ngit branch -M main\ngit remote add origin https://github.com/\u003cusername\u003e/\u003crepo\u003e.git\ngit push -u origin main\n```\n\n### ✨ Install dependency:\n\n```bash\npip install GitPython\n```\n\n### ✨ Before running the script, open `main.py` and set the parameters:\n\n```python\nCOMMITS_PER_DAY = (2, 4)     # number of commits per day (fixed: 3 or range: (2, 4))\nSTART_DATE = \"2024-01-01\"    # first commit date\nEND_DATE   = \"2024-10-04\"    # last commit date\n```\n\n### ✨ Start script and enjoy\n```bash\npython main.py\n```\n\n## ✨ Author\n\nDeveloped by [lifan2029](https://github.com/your-username) — Fullstack developer.  \nIf you like this project, feel free to ⭐ star it on GitHub!\n\n📧 lifan2029@gmail.com  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifan2029%2Ffill-green","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifan2029%2Ffill-green","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifan2029%2Ffill-green/lists"}