Skip to content

quackclub/hacka-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacka-box

Update a pinned gist to contain your weekly WakaTime Hackatime stats. (Based off of waka-box)


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 Hackatime account (https://hackatime.hackclub.com/signin)
  4. In your Hackatime profile settings (https://hackatime.hackclub.com/my/settings/profile), under privacy, ensure Allow public stats lookup is checked.
  5. In your access settings, copy the existing Hackatime API Key (https://hackatime.hackclub.com/my/settings/access)

Project setup

  1. Fork this repo
  2. Go to the repo Settings > Secrets
  3. Add the following environment variables:
    • GIST_ID: The ID portion from your gist url: (e.g. https://gist.github.com/matmanna/<GIST_ID>)
    • GH_TOKEN: The GitHub token generated above.
    • WAKATIME_API_KEY: The API key for your Hackatime account.
    • WAKATIME_API_URL [OPTIONAL]: A wakatime-compatible API URL (defaults to Hackatime!)

About

📦 Update a pinned profile gist with your weekly Hackatime stats

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • JavaScript 100.0%