Skip to content

EIKINAKAYAMA/git-contributions-cheater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

スクリーンショット 2023-06-06 23 23 25

GitHub contributions cheater, Manipulate your inteview and change your feature

Test Coverage Supported Python versions


issue fork star commit repo pull-request

Github Twitter

Before 😐 😶 😒

スクリーンショット 2023-06-07 15 33 10

After by dataByAnswer 💪 😌 😎 🤘 😉 🔥 💃 🎆 🎉

スクリーンショット 2023-06-07 15 35 58

After by dataByText ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️

スクリーンショット 2023-06-09 10 40 04

How it works

The contribution.py script initializes an empty git repository, creates a text file and starts generating changes to the file according to "data.json".

There is a sample.json in data folder, so you can customize "data.json" whatever you want, also the dataByAnswer.py and dataByText makes creating your own data.json easily, just following rules.

Once the commits are generated it links the created repository with the remote repository and pushes the changes.

Note: The dataByText.py's is only support Japanese and English now. If you have other language's nice 8 bit font, please let me know and let's enhancement! 🔥

Usage -contribution.py-

  1. Create an empty GitHub repository. Do not initialize it.
  2. Download this repo and unzip.
  3. Setting "data.json" (Usage -dataByAnswer.py-) (Usage -dataByText.py-)
  4. Run following command.
python contribute.py --repository=git@github.com:${your_user_name}/${your_repo}.git

ex.

python contribute.py --repo_path=git@github.com:EIKINAKAYAMA/ex-answer-git-contributions-cheater.git

Then you have a repository with lots of changes in your GitHub account. Note: It might takes several minutes for GitHub to reindex your activity.

Usage -dataByAnswer.py- (Option: Support creating your realistic commit)

  1. Run following command.
python data/dataByAnswer.py
  1. There are several questions for getting preferences of your contributions, please refer following and answer it.
  2. You get the data in data.json
  • Contribution Date setting Logic

スクリーンショット 2023-06-07 0 44 34

  • Contribution Number setting Logic
スクリーンショット 2023-06-07 0 51 50

Usage -dataByText.py- (Option: Support creating your funny commit)

  1. Run following command.
python data/dataByText.py --start_date=${your_start_day} --commit_text='${your_text}'  

ex.

python data/dataByText.py --start_date=2001-01-08 --commit_text='Hi, Hello!' 
  1. You get the data in data.json.

Making contributions private

Note: This script doesn't encourage you to cheat. Cheating is bad. But if anybody is judging your professional skills by the graph at your GitHub profile (which caries no value) they deserve to see a rich graph.

For that matter, you might want to make the generated repository private. It is free on GitHub. Now, you only need to set up your account to show private contributions. This way GitHub users will see that you contributed something, but they won't be able to see what exactly.

License

This Program License

Apache License 2.0

Acknowledgment

The idea of text generation is based on git-turf created by SATO, Yoshiyuki. Thank you so much.

License of text generation program

https://github.com/yoshi389111/git-turf#program

License of fonts

https://littlelimit.net/font.htm

These fonts are free software. Unlimited permission is granted to use, copy, and distribute them, with or without modification, either commercially or noncommercially. THESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY.