Volver al ranking

artiebits/fake-git-history

JavaScriptartiebits.com

A command-line tool to generate GitHub and GitLab activity graph.

gitgithubcommit-historygit-activitycontribution-graphcontributions-calendarcontributionsgitlabgithub-profile
Crecimiento de estrellas
Estrellas
1k
Forks
108
Crecimiento semanal
Issues
1
5001k
ago 2019nov 2021mar 2024jul 2026
Artefactosnpmnpm install fake-git-history
README

Generate Git Commits

A command-line tool that generates GitHub or GitLab activity graphs to make it look like you have been coding regularly.

How it works

How To Use

  1. Ensure you have Git and Node.js installed on your machine.
  2. Generate your commits:
    npx fake-git-history
    
  3. Create a private repository called my-history in your GitHub or GitLab.
  4. Push the changes:
    cd my-history
    git remote add origin git@github.com:<USERNAME>/my-history.git
    git push -u origin main
    

Done! Now take a look at your GitHub profile 😉

Support This Project

If 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!

Buy Me A Coffee

Customizations

--preview

If you want to preview the activity graph before creating any commits, use the --preview flag:

npx fake-git-history --preview

You can combine it with other options:

npx fake-git-history --preview --distribution workHours --frequency 100

--frequency

Control the chance (0-100%) of generating commits for each day. This makes your activity graph look more random and realistic. The 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:

npx fake-git-history --frequency 50

This will generate commits for approximately 50% of the days in your date range, making the pattern look more natural.

--distribution

Choose the distribution pattern for generating commits:

  • uniform (default): Evenly distributed random commits between min and max
  • workHours: More commits during work hours (9am-5pm) and on weekdays (especially Tuesday-Thursday)
  • afterWork: More commits during evenings and weekends

Work Hours Pattern

For a typical work schedule pattern that shows more activity during weekdays:

npx fake-git-history --distribution workHours --preview

Days between Tuesday and Thursday will have the most activity, while weekends will be mostly empty.

After Work Pattern

For an evening/weekend coder pattern that shows more activity during off-hours:

npx fake-git-history --distribution afterWork --preview

Saturday and Sunday will have the most activity, with Friday evenings also showing higher commit counts.

--startDate and --endDate

By default, the script generates GitHub commits for every day within the last year. But if you want to generate activity for specific dates, use these options:

npx fake-git-history --startDate "2020/09/01" --endDate "2020/09/30"

--commitsPerDay

Specify the number of commits to create for each day. The default is 0,4,but you can change it:

npx fake-git-history --commitsPerDay "0,6"

PS

This 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 🤓

Repositorios relacionados
github/gitignore

A collection of useful .gitignore templates

Creative Commons Zero v1.0 Universalgitignoregit
175k82.3k
Chalarangelo/30-seconds-of-code

Coding articles to level up your development skills

JavaScriptnpmCreative Commons Attribution 4.0 Internationalawesome-listjavascript
30secondsofcode.org
128.5k12.5k
bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

PythonPyPIOtherdevopsaws
83.3k19.8k
jesseduffield/lazygit

simple terminal UI for git commands

GoGo ModulesMIT Licensecligit
80.6k2.9k
sharkdp/bat

A cat(1) clone with wings.

Rustcrates.ioApache License 2.0command-linetool
59.8k1.6k
tiimgreen/github-cheat-sheet

A list of cool features of Git and GitHub.

MIT Licenseawesomeawesome-list
git.io/sheet
58k5.4k
go-gitea/gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

GoGo ModulesMIT Licensegiteagolang
gitea.com
57k6.9k
gogs/gogs

The painless way to host your own Git service

GoGo ModulesMIT Licensegogsgo
gogs.io
47.7k5.1k
usebruno/bruno

Opensource IDE For Exploring and Testing API's (lightweight alternative to Postman/Insomnia)

JavaScriptnpmMIT Licenseapi-clientgit
usebruno.com
45.8k2.7k
cli/cli

GitHub’s official command line tool

GoGo ModulesMIT Licensegithub-api-v4cli
cli.github.com
45.4k8.7k
files-community/Files

A modern file manager that helps users organize their files and folders.

C#MIT Licensefluent-designxaml
files.community
44.4k2.8k
logseq/logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: https://logseq.io/p/NX4mc_ggEV

ClojureGNU Affero General Public License v3.0knowledge-basegraph
logseq.com
44k2.7k