• Stars
    star
    221
  • Rank 179,773 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generates empty commits to match contributions from other public GitHub accounts.

Sync Contribution Graph

GitHub Contributions Graph full squares that have various shades of green

Twitter: kefimochi

How to Use 🚀

  1. Use this repo as a template to create a new repo, and provide a name.
  2. Clone your new repo locally. cd into the newly created directory.
  3. It requires NodeJS and npm (or yarn) to be installed on your machine. Run npm i or yarn install in your terminal.
  4. Use npm start or yarn start in order to trigger a series of terminal prompts that will help with configuration.

    On Windows, please run it from Git Bash.

If you change your mind about these commits later, you can delete the repository and they'll disappear from your contribution graph.

Terminal walkthrough of various prompts that help with configuration.

Requested Information 🌳

Key Description Default value
username The username whose graph contributions you'd like to copy.
year Year that you would like to sync with provided username. Currently doesn't support multiple years. Current year
execute Let's the code know whether to simply generate script.sh that, when executed, will force push commits to main. Or to both generate and execute at once. false, in other words generate without execution
confirm A quick double check that you're ready to proceed.

How do I know this is secure? 🔒

Explore the code! It's tiny and there aren't many dependencies.

It only scrapes publicly available data from existing GitHub contribution graphs. It does not have access to private commits or issues created. So I can promise that you will not get in trouble for syncing your personal and work GitHub graphs considering there isn't any private company code being exposed!

On Project's Future ✨

There's a lot of potential features and automations that could be added! Something as basic as accepting multiple years to pull at once, or more complicated like having a GitHub Action that once per month/year/time period creates a PR with newer commits, making it effortless to keep them synced.

Contribute 👪

PRs are welcome! One day I'll probably write a Contributing guide. This project is MIT licensed.