
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Parse your browser's exported HTML bookmark file to Markdown.
Supported browsers: Brave.
pip install bookmarkdown
# Convert "bookmarks.html" to markdown and output to STDOUT
btm bookmarks.html
# Convert "bookmarks.html" to markdown and write to "bookmarks.md"
btm --output=bookmarks.md bookmarks.html
# Alternatively
btm bookmarks.html > bookmarks.md
The BookmarkHTMLParser
is an instance of the Python standard library's
HTMLParser
and thus supports all its
methods.
from bookmarkdown import btm
parser = btm.BookmarkHTMLParser()
parser.feed(html_content)
# Access the data
parser.data
bookmarkdown
is likely to be installed on the system level Python to make
use of the btm
script.The current application solves my needs pretty well, but there are additional applications I can think of. Such as merging multiple bookmark files.
Add functionality to the CLI and Python codebase to support the following:
# Merge bookmark html-file into existing markdown file.
btm --merge=[md-file] [html-file]
btm [html-file] # already implemented
# Read the `-r` as "reverse", i.e. instead of bookmark to markdown it
# becomes markdown to bookmark.
btm -r [md-file]
btm -r --merge=[md-file] [html-file]
The project structure was automatically set up using cookiecutter
and my Python template:
cutter-py.
FAQs
Parse your browser's exported HTML bookmark file to Markdown.
We found that bookmarkdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.