Convert Netscape bookmarks into a newspaper-style homepage
Project description
linkfolio
Convert Netscape bookmarks into a newspaper-style homepage.
linkfolio.py reads a browser bookmarks export (Netscape HTML format) and
generates a self-contained, dark-mode index.html: a fixed toolbar with hover
drop-downs built from your Bookmarks Toolbar, plus index/main tables built from
your Bookmarks Menu folders. Favicons are fetched and embedded inline, so the
generated page needs no network or external files to display.
Install
pip install -r requirements.txt
Requires Python 3.10+.
Usage
First, export your bookmarks from your browser to an HTML file (in Firefox: Bookmarks → Manage Bookmarks → Import and Backup → Export Bookmarks to HTML).
./linkfolio.py bookmarks.html # read bookmarks.html -> write index.html
./linkfolio.py # same, using the default bookmarks.html
./linkfolio.py export.html -o home.html # custom input and output filenames
Open the generated index.html in any browser.
Options
| Option | Description |
|---|---|
input |
Bookmarks export to read (default: bookmarks.html). |
-o, --output |
HTML page to write (default: index.html). |
--no-icons |
Skip fetching missing favicons from the network (fast, works offline). |
--preserve-input |
Don't overwrite the input file with the sorted export; write bookmarks-sorted.html instead. |
By default linkfolio also rewrites the input file: it saves your bookmarks back in
Netscape format, sorted (folders first, then alphabetical) and with the fetched
favicons embedded. Keeping this sorted export means later runs reuse the icons
instead of re-downloading them. Use --preserve-input if you'd rather leave the
original export untouched.
Development
pip install -r requirements.txt # installs bookmarks_parser and pytest
python3 -m pytest # run the test suite (fully offline)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linkfolio-0.1.0.tar.gz.
File metadata
- Download URL: linkfolio-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11655cc1c9d94aedfe02f874d6643ff71b804286b97a6849a508f78d126e893
|
|
| MD5 |
50c87a84f05d279ef4a222718231f72c
|
|
| BLAKE2b-256 |
835ef2d6d2537f3b3af414aa3cb0492911013cd98e8cc781fdd2973f069dd68b
|
File details
Details for the file linkfolio-0.1.0-py3-none-any.whl.
File metadata
- Download URL: linkfolio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab3eb512b1e82f7310b6c6f1e94ce8cc54f56a1a2d9f27023e07747545143067
|
|
| MD5 |
7ed8f48699b7c661241d3271888bf078
|
|
| BLAKE2b-256 |
363606a91635e24a9c4818000f9c98d73fadf931c03793aad6afb0225b7df8ae
|