Skip to content
forked from antfu/waka-box

📊 Update a pinned gist to contain your weekly WakaTime stats

License

Notifications You must be signed in to change notification settings

xrkffgg/waka-box

 
 

Repository files navigation

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. Fork 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/matchai/6d5f84419863089a167387da62dd7081.
  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.

QA

如果有什么问题,可以在 issue 里提问~

If you have any questions, you can ask questions in issue~

About

📊 Update a pinned gist to contain your weekly WakaTime stats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Shell 1.4%