Automatically updates your GitHub bio with your WakaTime stats every 15 minutes
- Clone the repo:
git clone https://github.com/Dev-CasperTheGhost/update-github-bio - Install the dependencies:
npm install - Copy and rename
.env.exampleto.env - Update your credentials in
.env- GitHub token: https://github.com/settings/tokens make sure to select the
userscope - WakaTime api key: https://wakatime.com/settings/api-key
- GitHub token: https://github.com/settings/tokens make sure to select the
- Build it!
npm run build - Start it!
npm run start - It should be running if nothing was returned!
You can use pm2 to start this process in the background
- Make sure that you have followed the steps above
- Install pm2 globally:
npm install -g pm2 - Start it!
pm2 start npm --name github-bio -- run start
