{"id":19230304,"url":"https://github.com/mrloop/strava_onebox","last_synced_at":"2026-06-22T14:31:18.070Z","repository":{"id":20518471,"uuid":"23797314","full_name":"mrloop/strava_onebox","owner":"mrloop","description":"Strava Onebox for embeding strava rides","archived":false,"fork":false,"pushed_at":"2021-11-07T21:13:30.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T11:15:43.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/mrloop.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}},"created_at":"2014-09-08T15:51:17.000Z","updated_at":"2021-11-07T21:13:33.000Z","dependencies_parsed_at":"2022-08-30T18:00:58.503Z","dependency_job_id":null,"html_url":"https://github.com/mrloop/strava_onebox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrloop/strava_onebox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fstrava_onebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fstrava_onebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fstrava_onebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fstrava_onebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrloop","download_url":"https://codeload.github.com/mrloop/strava_onebox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fstrava_onebox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34653712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T15:37:42.101Z","updated_at":"2026-06-22T14:31:18.046Z","avatar_url":"https://github.com/mrloop.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strava Onebox\n\n[![CI](https://github.com/mrloop/strava_onebox/actions/workflows/ci.yml/badge.svg)](https://github.com/mrloop/strava_onebox/actions/workflows/ci.yml)\n\n[Strava](https://www.strava.com/) [Onebox](https://github.com/discourse/onebox) for embedding strava activities in [Discourse](discourse.org)\n\nExample at http://elgin.cc/t/australian-pursuit-race/66/2\n\n### Supported URLs for embeds\n\nYou need to use a url from the 'Embed on Blog' code\n\n  - http://www.strava.com/activities/190948728/embed/7dc1376fba9ec275bf3b41a2df3d423ed2f5c6ae\n\nOr 'Share your rides' from your profile\n\n  - https://www.strava.com/athletes/150922/latest-rides/9debf6ca6f225aa2f987ca2f99b416d78f6b0f49\n  - https://www.strava.com/athletes/150922/activity-summary/9debf6ca6f225aa2f987ca2f99b416d78f6b0f49\n\n### Allowed iframes\n\nUpdate the 'allowed iframes' in the security settings of your site to include 'https://www.strava.com/'.\n\n## Installation\n\n```sh\ncd /var/discourse\nnano containers/app.yml\n```\n\n```yml\n\n    hooks:\n      after_code:\n        - exec:\n            cd: $home/plugins\n            cmd:\n              - mkdir -p plugins\n              - git clone https://github.com/discourse/docker_manager.git\n              - git clone https://github.com/mrloop/strava_onebox.git\n\n```\n\n* Rebuild the container and restart the application\n\n```sh\n\n    cd /var/discourse\n    ./launcher rebuild app\n    ./launcher restart app\n\n```\n\n### Update existing posts\n\n```sh\n\n    ./launcher enter app\n    cd /var/www/discourse\n    rake posts:refresh_oneboxes\n\n```\n\n## To run tests\n\n```sh\n\n    ruby -Ilib:test plugin_test.rb\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrloop%2Fstrava_onebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrloop%2Fstrava_onebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrloop%2Fstrava_onebox/lists"}