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.example
to.env
- Update your credentials in
.env
- GitHub token: https://github.com/settings/tokens make sure to select the
user
scope - 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