{"id":15105918,"url":"https://github.com/ehsundar/obsidian-runner","last_synced_at":"2026-01-28T01:33:05.324Z","repository":{"id":64301033,"uuid":"572585377","full_name":"ehsundar/obsidian-runner","owner":"ehsundar","description":"Run code blocks inside any Markdown doc, including Obsidain docs","archived":false,"fork":false,"pushed_at":"2022-11-30T16:00:37.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T15:27:52.576Z","etag":null,"topics":["golang","markdown","obsidian-md"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ehsundar.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":"2022-11-30T15:35:27.000Z","updated_at":"2022-11-30T16:01:48.000Z","dependencies_parsed_at":"2023-01-15T09:30:47.838Z","dependency_job_id":null,"html_url":"https://github.com/ehsundar/obsidian-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehsundar/obsidian-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fobsidian-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fobsidian-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fobsidian-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fobsidian-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehsundar","download_url":"https://codeload.github.com/ehsundar/obsidian-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fobsidian-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28831648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["golang","markdown","obsidian-md"],"created_at":"2024-09-25T20:44:11.296Z","updated_at":"2026-01-28T01:33:05.307Z","avatar_url":"https://github.com/ehsundar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Obsidian Runner\n\n`obsidian-runner` CLI helps you format and run code blocks embedded inside any valid Markdown\ndocument and store results below the code block.\n\n### Supported Languages\n\n- Go\n\n### Showcase\n\n`obsidian-runner` compiles and runs any go code. It also `gofmt`s your code block\nin-place.\n\n```go\npackage main\n\nimport \"fmt\"\n\nfunc main() {\n\tfmt.Println(\"results right below\")\n}\n```\n```result\nresults right below\n```\n\nThis small code block is also runnable but needs `goimports` tool installed to\nremove unused imports.\n\n```go\nfmt.Println(\"results generated by obsidian-runner!\")\n```\n```result\nresults generated by obsidian-runner!\n```\n\n## Usage\n\nStandalone:\n\n```shell\nobsidian-runner -mdfile README.md\n```\n\nWith Obsidian:\n\n1. Install [obsidian-shellcommands](https://github.com/Taitava/obsidian-shellcommands) plugin\n2. Install obsidian-runner:\n    ```shell\n    go install github.com/ehsundar/obsidian-runner@latest\n    ```\n3. Add this command `PATH='$PATH:/opt/homebrew/bin:/Users/ehsan/go/bin' /Users/ehsan/go/bin/obsidian-runner -mdfile {{file_path:absolute}}`.\n    you need to replace your username and maybe change path based on your OS.\n4. Use `cmd+p` to run obsidian commands. You may run your shell-command from there.\n\n\u003e [!warning]\n\u003e Do not use shell-command events to run `obsidian-runner` automatically. May\n\u003e cause inconsistency in the contents of the final result MD file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsundar%2Fobsidian-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehsundar%2Fobsidian-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsundar%2Fobsidian-runner/lists"}