{"id":41097517,"url":"https://github.com/syre/strava-stats","last_synced_at":"2026-01-22T15:00:01.451Z","repository":{"id":303670393,"uuid":"1016190551","full_name":"syre/strava-stats","owner":"syre","description":"Strava Stats is a simple Python app for providing insights into your Strava riding metrics.","archived":false,"fork":false,"pushed_at":"2025-09-20T10:17:51.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T12:23:26.023Z","etag":null,"topics":["data-visualization","metrics","plotly-dash","python","strava","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-08T16:13:19.000Z","updated_at":"2025-09-20T10:17:54.000Z","dependencies_parsed_at":"2025-08-14T21:12:19.652Z","dependency_job_id":"8a62da10-b916-4df8-b6de-c9495e4896b7","html_url":"https://github.com/syre/strava-stats","commit_stats":null,"previous_names":["syre/strava-stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syre/strava-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syre%2Fstrava-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syre%2Fstrava-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syre%2Fstrava-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syre%2Fstrava-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syre","download_url":"https://codeload.github.com/syre/strava-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syre%2Fstrava-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","metrics","plotly-dash","python","strava","tailwindcss"],"created_at":"2026-01-22T15:00:00.801Z","updated_at":"2026-01-22T15:00:01.444Z","avatar_url":"https://github.com/syre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strava Stats\n*If you didn't record a ride on Strava, did it even take place?* 🤪\n\nStrava Stats is a simple Python app using the Strava API and Plotly Dash to show a dashboard of your yearly and current Strava Activities providing insights into your riding metrics.\n\u003cp align=\"center\"\u003e\n  \u003cpicture align=\"center\"\u003e\n    \u003cimg alt=\"Shows a dashboard of Strava Stats.\" src=\"https://github.com/syre/strava-stats/blob/main/images/strava_stats.png?raw=true\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\n## Requirements\nA .env file with the following variables:\n- `STRAVA_CLIENT_ID`\n- `STRAVA_CLIENT_SECRET`\n- `STRAVA_REFRESH_TOKEN`\n\nFetch the `STRAVA_CLIENT_ID` and `STRAVA_CLIENT_SECRET` from https://www.strava.com/settings/api\n\nTHE `STRAVA_REFRESH_TOKEN` can be obtained by running the following in a browser:\n```\nhttps://www.strava.com/oauth/authorize?client_id=YOUR_CLIENT_ID\u0026response_type=code\u0026redirect_uri=http://localhost/exchange_token\u0026approval_prompt=force\u0026scope=activity:read_all\n```\nAfterwards copy the \"code\" parameter from the URL and use it in the curl command below to get the refresh token.\n```\ncurl -X POST \\\n  https://www.strava.com/oauth/token \\\n  -d client_id=YOUR_CLIENT_ID \\\n  -d client_secret=YOUR_CLIENT_SECRET \\\n  -d code=YOUR_CODE \\\n  -d grant_type=authorization_code\n```\nReplace `YOUR_CLIENT_ID`, `YOUR_CLIENT_SECRET`, and `YOUR_CODE` with your actual values.\n\n## TODO\n- ~Implement a filter toggling different sports~ Sike this is only for bikes\n- Use a real relational database to store and analyze data\n- Add tests\n- Containerize it\n- More visualizations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyre%2Fstrava-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyre%2Fstrava-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyre%2Fstrava-stats/lists"}