项目作者: pAulseperformance

项目描述 :
Workflow automation for pinned wakatime development stats
高级语言: JavaScript
项目地址: git://github.com/pAulseperformance/waka-box.git
创建时间: 2019-11-16T15:43:25Z
项目社区:https://github.com/pAulseperformance/waka-box

开源协议:ISC License

下载




waka-box


Update a pinned gist to contain your weekly WakaTime stats



📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

Setup

Prep work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Create a WakaTime account (https://wakatime.com/signup)
  4. In your account settings, copy the existing WakaTime API Key (https://wakatime.com/settings/api-key)

Project setup

  1. CLONE this repo
  2. Edit the environment variable in .github/workflows/schedule.yml:

    • GIST_ID: The ID portion from your gist url: https://gist.github.com/GrilledChickenThighs/2a34572967d85fcf2d4bbd989138d7cf.
  3. Go to the repo Settings > Secrets

  4. Add the following environment variables:
    • GH_TOKEN: The GitHub token generated above.
    • WAKATIME_API_KEY: The API key for your WakaTime account.