public-contributions / HACK

Draw in your Public Contributions chart on GitHub
https://github.com/public-contributions
MIT License
104 stars 13 forks source link

HACK

For your Public Contributions chart on GitHub.

Demo

Screenshot

How To Do This HACK

  1. Create a new GitHub user (Ex: example-user). (I did this in a Chrome Ingognito browser so I didn't have to log out of my real user.)
  2. Create a repo for that user (Ex: example-repo).
  3. Create an empty folder on your computer.
  4. Add dates.txt to that folder and modify with the dates you want to "draw" to your Public Contributions chart.
  5. Add dates.sh to that folder and change --author="public-contributions" (Ex: --author="example-user").
  6. Open a terminal window and cd to your folder (which now has dates.txt and dates.sh in it).
  7. Run git init to initialize the Git repo.
  8. Run ./dates.sh. (You may need to run chmod +x dates.sh first depending on how you created the file.)
  9. Add the remote git origin. (Ex: git remote add origin git@github.com:example-user/example-repo.git.)
  10. Run git push.
  11. Visit your user page to see the chart. (Ex: http://github.com/example-user.)

Share a screenshot of your HACK

License

License

Credits

Made by Adam Schwartz

GitHub     Twitter