A simple Puppeteer script to take a screenshot of your GitHub account everyday.
It can result in cool looking gifs like this one: https://twitter.com/i/status/1092813820706189313
To setup this repository code, you just have to:
mv .env.example .env
Edit .env
with your parameters.
npm install
// Add this to your crontab
0 0 * * * cd {path/to/github-screenshot-bot} && node index.js
You can add environment variables from .env.
If you're setting this up on a server, be careful about this part of Puppeteer: Dependencies.
Slack webhook isn't required.
This was made after seeing this tweet from @sindresorhus: https://twitter.com/sindresorhus/status/1092813820706189313
Have fun making gifs! 🥰