{"id":15722116,"url":"https://github.com/geekodour/strava-to-sqlite","last_synced_at":"2026-05-10T19:12:28.080Z","repository":{"id":211960336,"uuid":"729483009","full_name":"geekodour/strava-to-sqlite","owner":"geekodour","description":" Create a SQLite database containing data pulled from Strava","archived":false,"fork":false,"pushed_at":"2023-12-12T14:01:27.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T05:17:42.321Z","etag":null,"topics":["datasette","sqlite","strava","strava-api"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/strava-to-sqlite/","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/geekodour.png","metadata":{"files":{"readme":"README.org","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-09T11:26:35.000Z","updated_at":"2023-12-13T06:28:21.000Z","dependencies_parsed_at":"2024-10-24T16:49:46.768Z","dependency_job_id":"ba98ae84-7357-4fbd-821c-f767ba265c3d","html_url":"https://github.com/geekodour/strava-to-sqlite","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"57364041450015dc18eb22a2023761f6d61f6a7c"},"previous_names":["geekodour/strava-to-sqlite"],"tags_count":0,"template":false,"template_full_name":"geekodour/t-base-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekodour%2Fstrava-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekodour%2Fstrava-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekodour%2Fstrava-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekodour%2Fstrava-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekodour","download_url":"https://codeload.github.com/geekodour/strava-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395572,"owners_count":20770240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["datasette","sqlite","strava","strava-api"],"created_at":"2024-10-03T22:04:02.853Z","updated_at":"2026-05-10T19:12:23.034Z","avatar_url":"https://github.com/geekodour.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"* strava-to-sqlite\n** Get started\n*** Install\n#+begin_src shell\npip install strava-to-sqlite\n#+end_src\n*** Auth and fetch\n#+begin_src shell\n# - Allow auth via browser oauth flow\n# - Saves credentials to database\nstrava-to-sqlite auth strava_dump.db\n\n# - Fetches and stores strava activities since last sync for all users\nstrava-to-sqlite sync strava_dump.db\n#+end_src\n*** Explore\nStrava API sends [[https://developers.google.com/maps/documentation/routes/polylinedecoder][polylines]] which are transformed to [[https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4][GeoJSON LineString]] by ~strava-to-sqlite~ and can rendered on map with [[https://datasette.io/plugins/datasette-leaflet-geojson][datasette-leaflet-geojson]] and [[https://datasette.io/][datasette]].\n#+begin_src shell\n# assuming datasette is installed\ndatasette install datasette-leaflet-geojson\ndatasette strava_dump.db\n#+end_src\n** Roadmap\n- [ ] Overall clean-up/refactor\n- [ ] Add tests\n- [ ] Client side rate-limiting and retries\n- [ ] Option to fetch for individual user (currently fetches for all authenticated users)\n** Links, Resources and Thanks\n- Strava: [[https://communityhub.strava.com/][Forum]] | [[https://developers.strava.com/docs/#client-code][Strava API]] | [[https://developers.strava.com/docs/rate-limits/][Rate Limits]] | [[https://developers.strava.com/docs/authentication/][Auth]] | [[https://developers.strava.com/playground/][Swagger UI]]\n- Similar Projects\n  - [[https://github.com/stravalib/stravalib][stravalib/stravalib]]\n  - [[https://github.com/brendano257/Strava2SQL][brendano257/Strava2SQL]]\n  - [[https://github.com/ghing/strava-to-sqlite][ghing/strava-to-sqlite]]\n  - [[https://github.com/yihong0618/running_page][yihong0618/running_page]]\n  - [[https://github.com/marcusvolz/strava_py][marcusvolz/strava_py]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekodour%2Fstrava-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekodour%2Fstrava-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekodour%2Fstrava-to-sqlite/lists"}