It's a Python bot capable of generating a single quote (times the number of days given) and store it in bot.txt, but.....
....Everything is done in past :P XD
Disclaimer : This has been made available for informational and educational purposes only and solely as a self-help tool for your own use.
- Make a new repo (public / private).
- Clone the repo to your local machine using SSH or HTTPS,for example SSH key using
ssh-keygen -t rsa -b 4096 -C "[email protected]"
-
Copy the output of cat id_rsa.pub
-
Paste the above copied outpur into your Github profile -> Settings -> SSH and GPG Keys -> Add new SSH key.
-
Download bot.py only and paste it in your cloned repo(which was empty or had readme.md) and create an empty file named bot.txt.
-
Run the script .
-
Enter the number of days you want to rewind.
-
Set the max limit of commit per day (0 - max)
python bot.py
- Enter the day number you want to rewind to (start) [Eg.. start = 1 to go to previous day].
- Enter the number of days you want to perform this action (n).
- Set the max limit of commit per day(m - Random value taken between 0-m).
- Set start to any number u want.
- Set number of days (n = 30).
- Set max limit ( m = 10 ).
- If you set n > 180 directly, the script will work but it may take around 2 days to update your contribution chart.
- Do not put m > 20 as it will take a long time to finish executing the script.
- With the Recommended settings the script will take 1 min time to execute and the commits will be reflected instantly.
- Lets assume today's date is 12th June.
- You enter 5 to go 5 days back.
- You enter number of days as : 7 (say).
- Set the max limit of commits per day (say m).
- Basically then from 7th june june it goes back 7 days (1st June) and each day it starts to commit(puts a random quote in bot.txt) * a random number.
- Therefore, per day you will have a random amount of commit (0 - m)
- Now you know how to make your timeline evergreen, if you miss to upload one day :P .
- If u want to undo the changes, simply delete the repo.