{"id":13476338,"url":"https://github.com/artiebits/fake-git-history","last_synced_at":"2025-05-14T11:11:04.145Z","repository":{"id":41124885,"uuid":"202284194","full_name":"artiebits/fake-git-history","owner":"artiebits","description":"A command-line tool to generate GitHub and GitLab activity graph.","archived":false,"fork":false,"pushed_at":"2025-04-06T08:20:53.000Z","size":166,"stargazers_count":923,"open_issues_count":0,"forks_count":94,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-03T16:41:12.406Z","etag":null,"topics":["commit-history","contribution-graph","contributions","contributions-calendar","git","git-activity","github","github-profile","gitlab"],"latest_commit_sha":null,"homepage":"https://artiebits.com","language":"JavaScript","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/artiebits.png","metadata":{"files":{"readme":"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,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.buymeacoffee.com/artiebits"]}},"created_at":"2019-08-14T05:56:29.000Z","updated_at":"2025-05-03T13:14:14.000Z","dependencies_parsed_at":"2023-01-21T18:00:19.266Z","dependency_job_id":"c4d64b3f-021f-4212-b119-227d0732fafa","html_url":"https://github.com/artiebits/fake-git-history","commit_stats":{"total_commits":65,"total_committers":8,"mean_commits":8.125,"dds":"0.23076923076923073","last_synced_commit":"8a33493a83e5fddf90fb65ad76a1780ff0c51598"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiebits%2Ffake-git-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiebits%2Ffake-git-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiebits%2Ffake-git-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artiebits%2Ffake-git-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artiebits","download_url":"https://codeload.github.com/artiebits/fake-git-history/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129494,"owners_count":22019628,"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":["commit-history","contribution-graph","contributions","contributions-calendar","git","git-activity","github","github-profile","gitlab"],"created_at":"2024-07-31T16:01:29.172Z","updated_at":"2025-05-14T11:11:04.134Z","avatar_url":"https://github.com/artiebits.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/artiebits"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Generate Git Commits\n\nA command-line tool that generates GitHub or GitLab activity graphs to make it look like you have been coding regularly.\n\n\u003cimg src=\"https://dl.dropboxusercontent.com/s/q2iinti6v0zbhzs/contributions.gif?dl=0\" alt=\"How it works\" /\u003e\n\n## How To Use\n\n1. Ensure you have [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and\n   [Node.js](https://nodejs.org/en/download/) installed on your machine.\n2. Generate your commits:\n   ```shell script\n   npx fake-git-history\n   ```\n   This command creates a my-history folder and generates commits with the following default settings:\n   - Date range: Last 365 days\n   - Commits per day: Between 0 and 4\n   - Frequency: Commits generated for approximately 80% of days\n   - Distribution: Evenly distributed throughout the day\n3. Create [a private repository](https://github.com/new) called `my-history` in your GitHub or GitLab, and push the changes:\n   ```shell script\n   cd my-history\n   git remote add origin git@github.com:\u003cUSERNAME\u003e/my-history.git\n   git push -u origin master\n   ```\n\nDone! Now take a look at your GitHub profile 😉\n\n## Support This Project\n\nIf you rely on this tool and find it useful, please consider supporting it. Maintaining an open source project takes time, and a cup of coffee would be greatly appreciated!\n\n\u003ca href=\"https://www.buymeacoffee.com/artiebits\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n## Customizations\n\n### `--preview`\n\nIf you want to preview the activity graph before creating any commits, use the `--preview` flag:\n\n```shell script\nnpx fake-git-history --preview\n```\n\nYou can combine it with other options:\n\n```shell script\nnpx fake-git-history --preview --distribution workHours --frequency 100\n```\n\n### `--frequency`\n\nControl the chance (0-100%) of generating commits for each day. This makes your activity graph look more random and realistic.\nThe default value is `80`, which means commits will be generated for 80% of the days in the date range. Setting a lower value will randomly skip more days:\n\n```shell script\nnpx fake-git-history --frequency 50\n```\n\nThis will generate commits for approximately 50% of the days in your date range, making the pattern look more natural.\n\n### `--distribution`\n\nChoose the distribution pattern for generating commits:\n\n- `uniform` (default): Evenly distributed random commits between min and max\n- `workHours`: More commits during work hours (9am-5pm) and on weekdays (especially Tuesday-Thursday)\n- `afterWork`: More commits during evenings and weekends\n\n#### Work Hours Pattern\n\nFor a typical work schedule pattern that shows more activity during weekdays:\n\n```shell script\nnpx fake-git-history --distribution workHours --preview\n```\n\nDays between Tuesday and Thursday will have the most activity, while weekends will be mostly empty.\n\n#### After Work Pattern\n\nFor an evening/weekend coder pattern that shows more activity during off-hours:\n\n```shell script\nnpx fake-git-history --distribution afterWork --preview\n```\n\nSaturday and Sunday will have the most activity, with Friday evenings also showing higher commit counts.\n\n### `--startDate` and `--endDate`\n\nBy default, the script generates GitHub commits for every day within the last year.\nBut if you want to generate activity for specific dates, use these options:\n\n```shell script\nnpx fake-git-history --startDate \"2020/09/01\" --endDate \"2020/09/30\"\n```\n\n### `--commitsPerDay`\n\nSpecify the number of commits to create for each day.\nThe default is `0,4`,but you can change it:\n\n```shell script\nnpx fake-git-history --commitsPerDay \"0,6\"\n```\n\n## PS\n\nThis tool was created as a joke, so please don't take it seriously. While cheating is never encouraged, if someone is judging your professional skills based on your GitHub activity graph, they deserve to see a rich activity graph 🤓\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartiebits%2Ffake-git-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartiebits%2Ffake-git-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartiebits%2Ffake-git-history/lists"}