{"id":37979097,"url":"https://github.com/bwilczynski/strava-cli","last_synced_at":"2026-01-16T18:32:56.131Z","repository":{"id":46789913,"uuid":"162847666","full_name":"bwilczynski/strava-cli","owner":"bwilczynski","description":"Strava command-line interface","archived":false,"fork":false,"pushed_at":"2024-02-21T19:56:42.000Z","size":152,"stargazers_count":33,"open_issues_count":4,"forks_count":17,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-17T13:41:20.074Z","etag":null,"topics":["cli","command-line","command-line-tool","commandline-interface","strava","strava-cli","stravaapi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bwilczynski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-22T22:49:57.000Z","updated_at":"2025-08-04T03:09:05.000Z","dependencies_parsed_at":"2023-02-18T20:00:34.721Z","dependency_job_id":"345c0213-35e2-4ce7-b885-aea5d268b36e","html_url":"https://github.com/bwilczynski/strava-cli","commit_stats":{"total_commits":88,"total_committers":6,"mean_commits":"14.666666666666666","dds":"0.18181818181818177","last_synced_commit":"c0a756ea584d17c1b9188ae75496d535df6657b2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bwilczynski/strava-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwilczynski%2Fstrava-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwilczynski%2Fstrava-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwilczynski%2Fstrava-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwilczynski%2Fstrava-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bwilczynski","download_url":"https://codeload.github.com/bwilczynski/strava-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwilczynski%2Fstrava-cli/sbom","scorecard":{"id":259720,"data":{"date":"2025-08-11","repo":{"name":"github.com/bwilczynski/strava-cli","commit":"2c5082ff9bcbdc61561dab6c7cdca5734f1b009b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":3,"reason":"Found 5/14 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/verify.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/bwilczynski/strava-cli/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/bwilczynski/strava-cli/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/bwilczynski/strava-cli/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/bwilczynski/strava-cli/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/bwilczynski/strava-cli/verify.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/bwilczynski/strava-cli/verify.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:16","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:17","Warn: pipCommand not pinned by hash: .github/workflows/verify.yml:16","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: PYSEC-2024-225 / GHSA-6vqw-3v5j-54x4","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: GHSA-h4gh-qq45-vh27","Warn: Project is vulnerable to: PYSEC-2023-254 / GHSA-jfhm-5ghh-2f97","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T10:33:39.780Z","repository_id":46789913,"created_at":"2025-08-17T10:33:39.780Z","updated_at":"2025-08-17T10:33:39.780Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["cli","command-line","command-line-tool","commandline-interface","strava","strava-cli","stravaapi"],"created_at":"2026-01-16T18:32:56.022Z","updated_at":"2026-01-16T18:32:56.121Z","avatar_url":"https://github.com/bwilczynski.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strava command-line interface\n\n[![Build Status](https://dev.azure.com/bwilczyn/strava-cli/_apis/build/status/bwilczynski.strava-cli?branchName=master)](https://dev.azure.com/bwilczyn/strava-cli/_build/latest?definitionId=1\u0026branchName=master)\n\nUses [Strava API](https://developers.strava.com/docs/reference/) to access Strava dataset.\n\n## Installation\n\nUsing `Homebrew` on OSX:\n\n```sh\nbrew tap bwilczynski/tap\nbrew install strava-cli\n```\n\nUsing `pip` (requires Python 3):\n\n```sh\npip install strava-cli\n```\n\n## Usage\n\n```sh\nstrava [OPTIONS] COMMAND [ARGS]\n```\n\n### Get Started\n\n[Create application](https://www.strava.com/settings/api) and run `strava config` to provide \nyour application's Client ID and Client Secret.\n\nAlternatively set the following environment variables before running `strava`:\n\n```sh\nexport STRAVA_CLIENT_ID={YOUR_CLIENT_ID}\nexport STRAVA_CLIENT_SECRET={YOUR_CLIENT_SECRET}\n```\n\nLogin to your Strava service (opens a web browser sending user to Strava login service):\n\n```sh\nstrava login\n```\n\nFor usage and help content, pass in the `--help` parameter, for example:\n\n```sh\nstrava --help\n```\n\n### Available commands\n\nGet recent, yearly, total stats:\n\n```console\n➜ strava stats  \n\nType        Count  Distance    Moving time    Elevation gain\n--------  -------  ----------  -------------  ----------------\n🏃 recent        7  53.33 km    5h 6m          166 m\n🏃 ytd         121  1048.15 km  95h 43m        4526 m\n🏃 all         241  1761.13 km  164h 35m       7258 m\n\n```\n\nGet last 5 activities:\n\n```console\n➜ strava activities -pp 5\n\n        Id  Start date                 Name             Elapsed time    Distance    Average speed\n----------  -------------------------  ---------------  --------------  ----------  ---------------\n2038696223  2018-12-27 17:58:49+01:00  🏃 Afternoon Run  45:19           8.02 km     05:15 /km\n2034884699  2018-12-25 15:38:55+01:00  🏃 Bday Run       44:56           7.32 km     05:41 /km\n2031636166  2018-12-23 14:29:50+01:00  🏃 Afternoon Run  48:14           6.55 km     06:17 /km\n2030237887  2018-12-22 20:13:31+01:00  🏃 Evening Run    37:34           7.10 km     05:16 /km\n2020398424  2018-12-16 16:39:56+01:00  🏃 Afternoon Run  41:54           6.31 km     05:43 /km\n```\n\nGet activities after / before a certain date:\n\n```sh\nstrava activities --after=\"2 weeks ago\" --before=\"1 week ago\"\n```\n\n```sh\nstrava activities --after=\"2018-12-01\"\n```\n\nGet detailed activity information:\n\n```console\n➜ strava activity 1958241710\n\nName:                  🏃 30. Bieg Niepodległości\nDescription:           Oficjalny czas: 46:55\nStart date:            2018-11-11 11:24:28+01:00\nElapsed time:          46:58\nDistance:              10.02 km\nAverage speed:         04:41 /km\nTotal elevation gain:  52 m\nCalories:              639.0\nDevice name:           Garmin Forerunner 645 Music\nGear:                  New Balance Zante v4 (443.65 km)\nSplit 1:               👟 04:44 /km ❤ 164 bpm ⬆ 7 m\nSplit 2:               👟 04:38 /km ❤ 168 bpm ➡ 0 m\nSplit 3:               👟 04:48 /km ❤ 164 bpm ⬆ 1 m\nSplit 4:               👟 04:49 /km ❤ 160 bpm ⬇ -3 m\nSplit 5:               👟 04:41 /km ❤ 161 bpm ⬇ -2 m\nSplit 6:               👟 04:37 /km ❤ 164 bpm ⬆ 2 m\nSplit 7:               👟 04:50 /km ❤ 165 bpm ⬆ 3 m\nSplit 8:               👟 04:39 /km ❤ 163 bpm ⬇ -1 m\nSplit 9:               👟 04:42 /km ❤ 165 bpm ➡ 0 m\nSplit 10:              👟 04:24 /km ❤ 171 bpm ⬇ -9 m\nSplit 11:              👟 04:44 /km ❤ 173 bpm ⬇ -1 m\n\n```\nOr use `xargs`:\n\n```sh\nstrava activities -q --after=\"1 day ago\" | xargs strava activity \n```\n\nCombine JSON output with `jq`:\n\n```console\n➜ strava activities -pp 1 -q | xargs strava activity --output json | jq \".name\"\n\"Afternoon Run\"\n```\n\nUpload Activity from GPX (example: export from a competing service):\n```sh\nstrava upload ./2020-09-27-145141.gpx\n```\n```console\nId:      4717164254\nStatus:  Your activity is still being processed.\nError:   None\n```\n\nCan upload multiple activities.\n```sh\nstrava upload ./*.gpx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwilczynski%2Fstrava-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwilczynski%2Fstrava-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwilczynski%2Fstrava-cli/lists"}