{"id":49662459,"url":"https://github.com/cmac2112/obby-parser","last_synced_at":"2026-05-06T13:05:11.285Z","repository":{"id":324826222,"uuid":"1092662883","full_name":"cmac2112/Obby-Parser","owner":"cmac2112","description":"package that can parse markdown files and pick out links from text in an obsidian like fashion","archived":false,"fork":false,"pushed_at":"2026-02-07T21:54:41.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-08T05:58:18.901Z","etag":null,"topics":["markdown","obsidian","parser"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/obby-parser","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmac2112.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-09T03:48:40.000Z","updated_at":"2026-02-07T21:54:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cmac2112/Obby-Parser","commit_stats":null,"previous_names":["cmac2112/obby-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmac2112/Obby-Parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmac2112%2FObby-Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmac2112%2FObby-Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmac2112%2FObby-Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmac2112%2FObby-Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmac2112","download_url":"https://codeload.github.com/cmac2112/Obby-Parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmac2112%2FObby-Parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32694982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["markdown","obsidian","parser"],"created_at":"2026-05-06T13:05:05.808Z","updated_at":"2026-05-06T13:05:11.279Z","avatar_url":"https://github.com/cmac2112.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Obby-Parser\n\nA simple TypeScript library for parsing Obsidian-style markdown. It converts `[[wikilinks]]` to HTML anchor tags and collects all unique links.\n\n## Features\n\n- Converts `[[Page Name]]` to `\u003ca href=\"route/Page-Name\"\u003ePage Name\u003c/a\u003e`\n- Collects all wikilinks in a Set\n- Supports standard markdown formatting via [markdown-it](https://github.com/markdown-it/markdown-it)\n\n## Installation\n\n```bash\nnpm install obsi-parser\n```\n\n## Usage\n\n```typescript\nimport { parseMarkdown } from 'obsi-parser';\n\nconst markdown = \"This references [[My Page]] and also **bold** text.\";\nconst result = parseMarkdown(markdown, \"pages/\");\n\nconsole.log(result.html);      // HTML output with anchor tags\nconsole.log(result.links_set); // Set { \"My Page\" }\n```\n\n## API\n\n### `parseMarkdown(markdown: string, route: string): ParseResult`\n\n- `markdown`: The markdown string to parse.\n- `route`: The base path for generated links.\n- Returns:  \n  - `html`: The resulting HTML string.\n  - `links_set`: A Set of all unique wikilinks found.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmac2112%2Fobby-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmac2112%2Fobby-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmac2112%2Fobby-parser/lists"}