All Projects → JohnPhamous → strava-box

JohnPhamous / strava-box

Licence: ISC license
🏃‍♂️🏃‍♀️ Update a gist to contain your YTD exercise metrics from Strava

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to strava-box

github-stats-box
📌 Update a gist to contain your GitHub stats
Stars: ✭ 72 (+111.76%)
Mutual labels:  gist, pinned-gist
gister
A command line app to create Gists in Go
Stars: ✭ 26 (-23.53%)
Mutual labels:  gist
Syncsettings
Sync Settings - The cross-platform solution to keep Sublime Text configuration synchronized
Stars: ✭ 240 (+605.88%)
Mutual labels:  gist
react-gist-slideshow
React Component to view gists in a slideshow
Stars: ✭ 15 (-55.88%)
Mutual labels:  gist
neko-box
😺 Pinnable dynamic Gist with your latest AniList activity.
Stars: ✭ 25 (-26.47%)
Mutual labels:  pinned-gist
StravaHeatmap
Make a simple heatmap from your strava data
Stars: ✭ 23 (-32.35%)
Mutual labels:  strava
Ecommwar
A leaderboard of the top open-source e-commerce platforms. Promoting the bests for building reliable stores.
Stars: ✭ 203 (+497.06%)
Mutual labels:  gist
netease-music-box
🎧 将你最近一周的网易云音乐的听歌记录更新到 Gist
Stars: ✭ 57 (+67.65%)
Mutual labels:  pinned-gist
ideas-md
A float-to-the-top ideas log built with React
Stars: ✭ 32 (-5.88%)
Mutual labels:  gist
mypy-playground
The mypy playground. Try mypy with your web browser.
Stars: ✭ 58 (+70.59%)
Mutual labels:  gist
cli-cube-timer
Time your solves, without leaving the terminal
Stars: ✭ 19 (-44.12%)
Mutual labels:  gist
GitHub Android
A simple client for GitHub.
Stars: ✭ 49 (+44.12%)
Mutual labels:  gist
strava-postman-collection
Postman collection for Strava v3 REST API.
Stars: ✭ 17 (-50%)
Mutual labels:  strava
Gist
A C++ Library for Audio Analysis
Stars: ✭ 244 (+617.65%)
Mutual labels:  gist
linq-fns
👴 LINQ for Javascript, written by TypeScript
Stars: ✭ 74 (+117.65%)
Mutual labels:  gist
Jekyll Gist
📃 Liquid tag for displaying GitHub Gists in Jekyll sites.
Stars: ✭ 218 (+541.18%)
Mutual labels:  gist
Strava-local-heatmap
Python script to generate a high resolution heatmap from Strava GPX files
Stars: ✭ 102 (+200%)
Mutual labels:  strava
pastila
a electron app that takes notes via markdown and github gist.
Stars: ✭ 25 (-26.47%)
Mutual labels:  gist
actions-deploy-gist
📌 Deploy file to Github Gist
Stars: ✭ 26 (-23.53%)
Mutual labels:  gist
GitHub-tab-size
📏 Userstyle to set a custom tab-size on GitHub and Gist
Stars: ✭ 17 (-50%)
Mutual labels:  gist

strava-box

Update a gist to contain your YTD Strava distances


Previous Work

This repo is based off of matchai's 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 Strava Application (https://www.strava.com/settings/api)
    • Copy the Client ID, Client Secret, and Refresh Token
  4. Get your Athlete Token by going to https://www.strava.com, click your profile photo in the top right corner. Copy the ID in the url. https://www.strava.com/athletes/12345

Project setup

  1. Fork this repo
  2. Log into CircleCI with your GitHub (https://circleci.com/vcs-authorize/)
  3. Click on "Add Projects" on the sidebar
  4. Set up a project with the newly created fork
  5. Go to Project Settings > Environment Variables
  6. Add the following environment variables:
  • GIST_ID: The ID portion from your gist url https://gist.github.com/<github username>/6d5f84419863089a167387da62dd7081.
  • GITHUB_TOKEN: The GitHub token generated above.
  • STRAVA_ATHLETE_ID: The ID you got from visiting your profile page.
  • STRAVA_CLIENT_ID: The client ID you got from the Strava API page.
  • STRAVA_CLIENT_SECRET: The client secret you got from the Strava API page.
  • STRAVA_REFRESH_TOKEN: The refresh token you got from the Strava API page.
  • (optional) UNITS: miles or metres or meters (default)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].