{"id":13910672,"url":"https://github.com/yannickperrenet/bookmarkdown","last_synced_at":"2026-04-11T10:01:33.023Z","repository":{"id":62560318,"uuid":"403723403","full_name":"yannickperrenet/bookmarkdown","owner":"yannickperrenet","description":"✅ Parse your browser's exported HTML bookmark file to Markdown.","archived":false,"fork":false,"pushed_at":"2021-09-08T18:44:20.000Z","size":16,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T23:57:45.275Z","etag":null,"topics":["brave","brave-browser","html-parser","html-to-markdown","html-to-md","markdown"],"latest_commit_sha":null,"homepage":"","language":"Python","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/yannickperrenet.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}},"created_at":"2021-09-06T18:30:59.000Z","updated_at":"2025-08-24T21:46:05.000Z","dependencies_parsed_at":"2022-11-03T14:15:15.775Z","dependency_job_id":null,"html_url":"https://github.com/yannickperrenet/bookmarkdown","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yannickperrenet/bookmarkdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannickperrenet%2Fbookmarkdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannickperrenet%2Fbookmarkdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannickperrenet%2Fbookmarkdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannickperrenet%2Fbookmarkdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yannickperrenet","download_url":"https://codeload.github.com/yannickperrenet/bookmarkdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannickperrenet%2Fbookmarkdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31676210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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":["brave","brave-browser","html-parser","html-to-markdown","html-to-md","markdown"],"created_at":"2024-08-07T00:01:41.395Z","updated_at":"2026-04-11T10:01:32.955Z","avatar_url":"https://github.com/yannickperrenet.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# bookmarkdown\n\nParse your browser's exported HTML bookmark file to Markdown.\n\nSupported browsers: Brave.\n\n## Installation\n\n```bash\npip install bookmarkdown\n```\n\n## Usage\n\n### CLI\n\n```bash\n# Convert \"bookmarks.html\" to markdown and output to STDOUT\nbtm bookmarks.html\n\n# Convert \"bookmarks.html\" to markdown and write to \"bookmarks.md\"\nbtm --output=bookmarks.md bookmarks.html\n\n# Alternatively\nbtm bookmarks.html \u003e bookmarks.md\n```\n\n### Python\n\nThe `BookmarkHTMLParser` is an instance of the Python standard library's\n[`HTMLParser`](https://docs.python.org/3/library/html.parser.html) and thus supports all its\nmethods.\n\n```python\nfrom bookmarkdown import btm\n\nparser = btm.BookmarkHTMLParser()\nparser.feed(html_content)\n\n# Access the data\nparser.data\n```\n\n## FAQ\n\n### Concerns\n\n* Minimal dependencies. `bookmarkdown` is likely to be installed on the system level Python to make\n  use of the `btm` script.\n* Correctness. No one likes to lose a bookmark nor a different ordering.\n\n### Future ideas\n\n\u003e The current application solves my needs pretty well, but there are additional applications I can\n\u003e think of. Such as merging multiple bookmark files.\n\nAdd functionality to the CLI and Python codebase to support the following:\n\n```bash\n# Merge bookmark html-file into existing markdown file.\nbtm --merge=[md-file] [html-file]\n\nbtm [html-file]  # already implemented\n\n# Read the `-r` as \"reverse\", i.e. instead of bookmark to markdown it\n# becomes markdown to bookmark.\nbtm -r [md-file]\n\nbtm -r --merge=[md-file] [html-file]\n```\n\n### Project structure\n\nThe project structure was automatically set up using `cookiecutter` and my Python template:\n[cutter-py](https://github.com/yannickperrenet/cutter-py).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyannickperrenet%2Fbookmarkdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyannickperrenet%2Fbookmarkdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyannickperrenet%2Fbookmarkdown/lists"}