{"id":19230314,"url":"https://github.com/mrloop/garmin_connect_onebox","last_synced_at":"2025-06-17T23:06:43.289Z","repository":{"id":20516066,"uuid":"23794834","full_name":"mrloop/garmin_connect_onebox","owner":"mrloop","description":"Garmin connect Onebox for embeding garmin courses","archived":false,"fork":false,"pushed_at":"2021-11-07T21:11:10.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T23:06:37.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"madriska/react-native-quick-actions","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-08T14:51:47.000Z","updated_at":"2021-11-07T21:20:15.000Z","dependencies_parsed_at":"2022-09-09T11:51:39.827Z","dependency_job_id":null,"html_url":"https://github.com/mrloop/garmin_connect_onebox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrloop/garmin_connect_onebox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fgarmin_connect_onebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fgarmin_connect_onebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fgarmin_connect_onebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fgarmin_connect_onebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrloop","download_url":"https://codeload.github.com/mrloop/garmin_connect_onebox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrloop%2Fgarmin_connect_onebox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260453744,"owners_count":23011576,"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":[],"created_at":"2024-11-09T15:37:43.304Z","updated_at":"2025-06-17T23:06:38.274Z","avatar_url":"https://github.com/mrloop.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Garmin Connect Onebox\n\n[![CI](https://github.com/mrloop/garmin_connect_onebox/actions/workflows/ci.yml/badge.svg)](https://github.com/mrloop/garmin_connect_onebox/actions/workflows/ci.yml)\n\n\n[Garmin Connect](https://connect.garmin.com) [Onebox](https://github.com/discourse/onebox) for embedding garmin courses and activities in [Discourse](discourse.org)\n\nCourse example at http://elgin.cc/t/sun-19th-oct-14-spey-moor/77\n\n### Supported URLs for embeds\n\n - http(s)://connect.garmin.com/course/ID\n - http(s)://connect.garmin.com/course/embed/ID\n - http(s)://connect.garmin.com/modern/course/ID\n - http(s)://connect.garmin.com/modern/activity/ID\n - http(s)://connect.garmin.com/modern/embed/ID\n\n### Allowed iframes\n\nUpdate the 'allowed iframes' in the security settings of your site to include 'https://connect.garmin.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/garmin_connect_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%2Fgarmin_connect_onebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrloop%2Fgarmin_connect_onebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrloop%2Fgarmin_connect_onebox/lists"}