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)
Metadata
Release files for linkfolio 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linkfolio-0.1.0.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linkfolio-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / linkfolio-0.1.0.tar.gz
| Download URL | linkfolio-0.1.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e11655cc1c9d94aedfe02f874d6643ff71b804286b97a6849a508f78d126e893
|
|
BLAKE2b-256 checksum How to use checksums |
835ef2d6d2537f3b3af414aa3cb0492911013cd98e8cc781fdd2973f069dd68b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / linkfolio-0.1.0-py3-none-any.whl
| Download URL | linkfolio-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab3eb512b1e82f7310b6c6f1e94ce8cc54f56a1a2d9f27023e07747545143067
|
|
BLAKE2b-256 checksum How to use checksums |
363606a91635e24a9c4818000f9c98d73fadf931c03793aad6afb0225b7df8ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|