On GitHub user pages the count of contributions per day are visiolized in a calendar of squares. The more the darker the color. With automatic commits you can draw here a nice pattern to impress visitors to the website.
- Special GitHub account just for this case
- A computer is always switched on and connected with the internet.
- Linux must be installed on this computer.
- It must be installed git.
- There must be an SSH Key generated and stored at GitHub.
- It has to be written a bash script, what the following things can
- Make file changes in the repo
- Create random commit message
- Git add / commit / push changes
- The number of changes should be configurable
- Go to your server
- Install the Requirements
- Clone PacHub
- Install cron job
git clone git@github.com:PacHub/pachub.git
crontab -e
Then enter:
0 7 * * * /path/to/pachub.sh /path/to/pachubdir /path/to/git