{"id":27239819,"url":"https://github.com/sesh/intervals-now","last_synced_at":"2025-04-10T19:14:03.887Z","repository":{"id":159131541,"uuid":"610127650","full_name":"sesh/intervals-now","owner":"sesh","description":"Add an intervals.icu block to an omg.lol/now page","archived":false,"fork":false,"pushed_at":"2023-10-17T22:37:46.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T23:25:21.904Z","etag":null,"topics":["omgdotlol"],"latest_commit_sha":null,"homepage":"https://brenton.omg.lol/now","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sesh.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":"2023-03-06T06:29:01.000Z","updated_at":"2023-03-06T06:43:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc9d87a8-e398-42ed-87e9-dfb67f44bf60","html_url":"https://github.com/sesh/intervals-now","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fintervals-now","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fintervals-now/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fintervals-now/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fintervals-now/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sesh","download_url":"https://codeload.github.com/sesh/intervals-now/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248280391,"owners_count":21077412,"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":["omgdotlol"],"created_at":"2025-04-10T19:14:03.363Z","updated_at":"2025-04-10T19:14:03.871Z","avatar_url":"https://github.com/sesh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This script generates an [omg.lol](https://omg.lol) [/now](https://nownownow.com/about) block containing running stats from [Intervals.icu](https://intervals.icu).\nIt's possible that the Venn diagram of users this is useful for only contains me.\n\nCurrently only metric units are supported.\n\n\n## Usage\n\nThere are four environment variables that need to be configured to run the sync:\n\n- `INTERVALS_ATHLETE_ID` + `INTERVALS_API_KEY` are available in the \"Developer Settings\" section of the Intervals settings\n- `OMGLOL_USERNAME`, `OMGLOL_API_KEY` are available in the Account section of the omg.lol dashboard\n\nOptionally you can include `\u003c!-- block intervals-now --\u003e` and `\u003c!-- end intervals-now --\u003e` in your /now page's Markdown to specify when you want your Intervals stats to go.\nIf this doesn't exist the block will be added at the end of your page.\n\nOnce the environment variables are available, running the script is as simple as:\n\n```\n\u003e python generate.py\n```\n\nPython versions \u003e= 3.6 should be supported.\n\n\n### Usage as a Github Action\n\nSimply fork this repository and add the environment variables to update you page with Github Actions.\nThe simplest configuration involves settings up the four environment variables as Repository Secrets in the Github settings for your fork of this repository.\n\n\n## Contributing\n\nYou are welcome to submit Pull Requests or raise issues.\nAll CI steps will need to be passing before PRs are merged.\nYou can run them locally with:\n\n```\n\u003e isort . \u0026\u0026 black . \u0026\u0026 ruff . \u0026\u0026 bandit -r .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Fintervals-now","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsesh%2Fintervals-now","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Fintervals-now/lists"}