Skip to content

⏰ Update a pinned gist to contain your Daily RescueTime Stats

License

Notifications You must be signed in to change notification settings

joshghent/rescue-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rescue-box

Update a pinned gist to contain your daily RescueTime 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 RescueTime Account account (https://rescuetime.com)
  4. In your account settings, create a new RescueTime API Key (https://www.rescuetime.com/anapi/manage)

Project setup

  1. Fork this repo

  2. Create a new blank gist and grab the end part of the URL

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

  4. Add the following environment variables:

    • GH_TOKEN: The GitHub token generated above.
    • RESCUETIME_API_KEY: The API key for your RescueTime account.
    • GIST_ID: The Gist ID that we got in Step 2
  5. Copy the contents of .github/workflows/schedule.yml, then delete the file and commit it. Then recreate the file and paste the contents back in (this is due to forked repos not running actions)

About

⏰ Update a pinned gist to contain your Daily RescueTime Stats

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published