{"id":15845005,"url":"https://github.com/cmorten/readme-runner","last_synced_at":"2026-05-20T05:01:54.027Z","repository":{"id":102855341,"uuid":"271897804","full_name":"cmorten/readme-runner","owner":"cmorten","description":"Run code snippets from a README (or any other file).","archived":false,"fork":false,"pushed_at":"2024-01-28T09:46:46.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T17:54:51.714Z","etag":null,"topics":["deno","deno-module","denoland","readme"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cmorten.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":{"github":["cmorten"]}},"created_at":"2020-06-12T22:03:36.000Z","updated_at":"2024-10-14T01:40:50.000Z","dependencies_parsed_at":"2025-02-07T11:30:52.005Z","dependency_job_id":"eb4f0815-0b02-4a41-abfb-a288baa3143e","html_url":"https://github.com/cmorten/readme-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmorten/readme-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmorten%2Freadme-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmorten%2Freadme-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmorten%2Freadme-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmorten%2Freadme-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmorten","download_url":"https://codeload.github.com/cmorten/readme-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmorten%2Freadme-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278510950,"owners_count":25999013,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":["deno","deno-module","denoland","readme"],"created_at":"2024-10-05T17:41:35.274Z","updated_at":"2025-10-05T20:15:47.970Z","avatar_url":"https://github.com/cmorten.png","language":"TypeScript","funding_links":["https://github.com/sponsors/cmorten"],"categories":[],"sub_categories":[],"readme":"# readme-runner\n\nRun code snippets from a README (or any other file).\n\n## Usage\n\nAs a minimum you need to provide the `--allow-net`, `--allow-read` and `--allow-write` permission flags.\n\nYou can then run the readme-runner as follows:\n\n```bash\ndeno run --allow-net --allow-read --allow-write --reload https://raw.githubusercontent.com/asos-craigmorten/readme-runner/main/mod.ts \u003curl_to_readme\u003e \u003cstart_line_number\u003e \u003cend_line_number\u003e\n```\n\nFor example, this runs an example from the Pogo web frameworks README which runs a server on \u003chttp://localhost:3000\u003e.\n\n```bash\ndeno run --allow-net --allow-read --allow-write --reload https://raw.githubusercontent.com/asos-craigmorten/readme-runner/main/mod.ts https://raw.githubusercontent.com/sholladay/pogo/master/README.md 31 39\n```\n\nTake care not to execute any parts of READMEs that you have not first checked are safe to do so.\n\nStart and end line numbers start from 1.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmorten%2Freadme-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmorten%2Freadme-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmorten%2Freadme-runner/lists"}