Skip to content

statico/github-game

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

github-game βœ… ✨

Win the GitHub game with artistic green squares!

Screenshot of GitHub activity

Works with GitLab, too. Just tell them it's like GitHub with blue squares.

Why?

Because I saw and shared this:

Tweet from Emily Kager

And @PeteMarkowsky was like:

re: green squares has anyone released a github action that just does a commit to a private repo as you

So I made this.

How?

  • Make a 53x7 image of whatever you want
  • Node.js v12 or later or something I don't know
  • yarn install
  • Include private contributions in your GitHub settings to up your green square game
  • Make a private repo on GitHub to hide your secrets
  • Run node index.js image.png ~/game git@github.com:yourname/yourrepo.git and git push force origin
  • Bask in the glory of your new resume-crushing GitHub profile

It doesn't work?

  • Fiddle with the MAX_COMMITS environment variable or something
  • Delete, re-create the private repo, and push again
  • Wait a few minutes
  • 🀷β€?♀οΈ?

See Also

I made this before seeing the above projects.

Also, this version uses git fast-import to create a git repo, which is πŸ”₯

License

MIT

About

🟩 ✨ Win the GitHub game with artistic green squares!

Topics

Resources

Stars

Watchers

Forks