Browser extension and capture
The extension saves the current tab to a page or the inbox. Without it, the share sheet, a bookmarklet and a /add address do the same.
The extension
The nextDash Bookmark Saver in extension/ saves the current tab to a page or to the inbox. It runs in Chrome and other Chromium browsers, and in Firefox 140 or later.
Install in Chrome or Chromium: open chrome://extensions/, switch on Developer mode, click Load unpacked and choose the extension/ folder.
Install in Firefox: run npm run build:extension in a source checkout, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on and choose dist/extension/firefox/manifest.json. Firefox does not keep an unsigned add-on: after a restart you load it again. More in extension/README.md.
Set up: extension icon → Settings → your nextDash address, the write token if the server has one, and a default page. When you save, the browser asks to let the extension reach that address; it asks for no other site. If it has no access, for example after an update, the toolbar button shows ? and the popup has Allow access.
Save:
- The title and URL are filled in. Add a shortcut (empty = a suggested free letter), a page and category, tags and a note, and save, or press Save to Inbox.
- An address you already have is reported, with Save anyway.
- After saving: Open in nextDash or Open Inbox in nextDash. An open dashboard tab refreshes itself.
- Right-click a page or link → Save to nextDash or Save to nextDash Inbox.
- Keyboard:
Ctrl/Cmd + Shift + Ysaves as a bookmark,Ctrl/Cmd + Shift + Uto the inbox; on LinuxAlt + Shift + YandAlt + Shift + U. - What happened: after a shortcut or right-click save, a short message on the page says it: Saved to Work → Tools, Already there, Server not reachable, Not allowed. The icon badge reports + saved, D already there, ? not set up or not allowed yet, ! failed. On pages that take no script, open the popup within a minute to read the message.
The extension needs no CORS setting: its origin is always allowed. Errors: 401 wrong or missing write token, 403 origin not allowed, 409 shortcut already used on that page.
Capture without the extension
From a phone. Install nextDash as an app and it appears in the share sheet. Sharing a link saves it to the inbox and opens nextDash. Android sometimes sends the address inside the text; it is found either way. On iPhone, use the Apple Shortcut in integrations/, because Safari does not support the app's share target.
From any browser. Config → Help → Inbox → Saving a link from anywhere builds a bookmarklet with this install's address (and capture token). Drag it to the bookmarks bar.
From a script or launcher. One route does it:
GET /add?url=<address>&title=<optional title>[&token=<capture token>]It saves to the inbox with the usual duplicate check and answers with a readable page.
Add tags=a,b and note=… to save them with the link. With Config → Inbox → Collecting → Let /add save to a page on (off by default), page= takes a page name or number and saves a bookmark there; with a write token set, that request needs the write token. Otherwise the link goes to the inbox and the answer says why.
After a save the page has Back to the page, a link to the address you saved, and Never mind, which takes that one save back out of the inbox (or off the page it went to). It works once and for two minutes; after that, or when the link was changed or removed in the meantime, the page says Not undone and nothing is touched. The button sends a form with a one-time key only that page was given, so a link or another site cannot remove anything.
curl -s --get --data-urlencode "url=https://example.com/article" \
--data-urlencode "title=An article" \
https://nextdash.example.com/add >/dev/nullUse --data-urlencode: an address with its own ?a=1&b=2 breaks a hand-built query.
integrations/ holds a shell script (nextdash-add <url> [title]), two Raycast commands, a Dropzone action, a Ulauncher extension, an Alfred workflow to import (nd <url>, ndtab for the front tab), and the steps for an Apple Shortcut. They read NEXTDASH_URL (default http://localhost:8080) and NEXTDASH_TOKEN. See integrations/README.md.
Tokens. With no write token set, capture is open like everything else. With one set, /add and the share route need a token in the address: the write token, or better NEXTDASH_CAPTURE_TOKEN, which opens capture and nothing else.