A page listing all your Firefox bookmarks/folders and your open tabs. For bookmarks, click "Save to Inbox" or "Delete". For open tabs, click "Save to Inbox" (saves the tab's URL to Trilium, then closes the tab) or "Close" (just closes the tab, no Trilium involved).
No background sync, no two-way logic — just a one-way "move" action, triggered manually per bookmark or tab.
Install from addons.mozilla.org (search for Web2Trilium), or load it temporarily for development:
- Go to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on…"
- Select
manifest.jsonfrom this folder
- Get an ETAPI token in Trilium: Options → ETAPI → "Create new ETAPI token". Copy it.
- Find your Inbox note ID: in Trilium, right-click your Inbox note →
"Copy note ID to clipboard". (Or use the "Auto-detect" button in the
extension's Settings if your inbox note carries the
#inboxlabel — Trilium sets this automatically if you've configured it as your default inbox under Options → Other.) - Click the toolbar icon to open Web2Trilium.
- Click "Settings", enter:
- Trilium server URL (default
http://localhost:37840for Trilium Desktop) - ETAPI token
- Inbox note ID
- Trilium server URL (default
- Click "Test connection", then "Save".
- Browse or search your bookmarks and tabs, and click "Save to Inbox" on whichever ones you want moved over.
- Saving creates a note of type Web View with the
webViewSrcandurllabels set. If you've installed thewebViewToolbarWidget.jsTrilium widget, saved items immediately get the Back/Forward/Save/Open-in-Browser toolbar when opened in Trilium. - Open Tabs only shows
http://andhttps://tabs — browser-internal pages (about:blank,about:newtab, etc.) are excluded. - The toolbar icon focuses the existing Web2Trilium tab if one is already open; it only opens a new tab if none exists.
- Folder cleanup: empty folders are removed from the list after you move or delete their last bookmark, including nested empty parent folders. The underlying Firefox folder structure is left untouched.
- Permissions:
bookmarks,tabs,storage, and localhost access. Thetabspermission is used only to read tab title/URL and close tabs.
Releases are published automatically via GitHub Actions when a GitHub release
is created. The workflow builds the extension with web-ext, submits it to
AMO for listed review, and attaches the zip to the GitHub release.
Required repository secrets:
| Secret | Description |
|---|---|
AMO_JWT_ISSUER |
AMO API key (from addons.mozilla.org/developers/addon/api/key/) |
AMO_JWT_SECRET |
AMO API secret (same page) |
manifest.json— extension manifest (Manifest V2, Firefox)background.js— handles toolbar icon clicktrilium-api.js— minimal ETAPI clientmanage.html/manage.js— bookmark and tab browser + save actionsoptions.html/options.js— settings UI.github/workflows/publish.yml— release automation