{"id":20231639,"url":"https://github.com/mountainash/cycletreks","last_synced_at":"2026-01-28T21:01:05.998Z","repository":{"id":143436766,"uuid":"399929439","full_name":"mountainash/CycleTreks","owner":"mountainash","description":"A visual diary of your cycle adventure.","archived":false,"fork":false,"pushed_at":"2025-04-08T00:57:57.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T22:08:53.401Z","etag":null,"topics":["cloudflare","cycletrek","journey","strava-api","workers"],"latest_commit_sha":null,"homepage":"https://strava-auth.mountainash.workers.dev/","language":"JavaScript","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/mountainash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://www.buymeabeer.com/mountainash"]}},"created_at":"2021-08-25T19:05:33.000Z","updated_at":"2025-04-08T00:58:02.000Z","dependencies_parsed_at":"2025-01-14T00:36:29.462Z","dependency_job_id":null,"html_url":"https://github.com/mountainash/CycleTreks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mountainash/CycleTreks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainash%2FCycleTreks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainash%2FCycleTreks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainash%2FCycleTreks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainash%2FCycleTreks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mountainash","download_url":"https://codeload.github.com/mountainash/CycleTreks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountainash%2FCycleTreks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28851838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":["cloudflare","cycletrek","journey","strava-api","workers"],"created_at":"2024-11-14T07:48:54.458Z","updated_at":"2026-01-28T21:01:05.993Z","avatar_url":"https://github.com/mountainash.png","language":"JavaScript","funding_links":["https://www.buymeabeer.com/mountainash"],"categories":[],"sub_categories":[],"readme":"# CycleTreks\n\n\u003e A visual diary of your cycle adventures\n\n## About\n\n[Strava](https://www.strava.com/) is good for tracking single-activity GPS \u0026 fitness logs. This project seeks to combine multiple single activities into a multi-day adventure journal.\n\nUsing a Cloudflare Worker to connect to the Strava API and pull concurrent cycle logs and combine them into a single journey.\n\n## Dependencies\n\n- [Cloudflare Workers](https://workers.cloudflare.com/)\n- [Strava API v3](https://developers.strava.com/docs/reference/)\n\n## Use\n\n1. Create a new Worker and save the content from `./worker/index.js` into your script (note the URL)\n1. Get a Strava `access_token` by creating an application at \u003chttps://www.strava.com/settings/api\u003e\n1. Visit your running Worker in a web browser and authorise your app\n\n## Running locally\n\n### Setup\n\n1. `npm install`\n1. `cp .env.example .dev.vars`\n1. Edit `.dev.vars` with keys and IDs from your [Strava Application settings](https://www.strava.com/settings/api)\n1. `npm run worker:init` to put the details from `.dev.vars` into `worker/wrangler.toml` [Docs](https://developers.cloudflare.com/workers/platform/environment-variables#adding-environment-variables-via-wrangler)\n1. `wrangler login` (optional for easier deployment with `npm run worker:publish`)\n\n### Develop\n\n```sh\nnpm run worker:dev\nnpm run worker:tail # for logs from the remote Worker - good for callbacks\n```\n\n## Resources\n\n- [UI](https://codepen.io/mountainash/pen/jOgPjob)\n- **Strava**\n  - [API Docs](https://developers.strava.com/docs/)\n  - [Strava API Auth flow](https://developers.strava.com/docs/authentication/#requestingaccess)\n- **Cloudflare**\n  - [Workers](https://developers.cloudflare.com/workers)\n  - [Wranger](https://developers.cloudflare.com/workers/cli-wrangler)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountainash%2Fcycletreks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmountainash%2Fcycletreks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountainash%2Fcycletreks/lists"}