Why SilverBullet's rich copy silently fails over plain HTTP
(Updated: ) - 1 minDrafted with AI assistance from notes I took during real work.
SilverBullet’s “Clipboard: Export Rich Text” command does nothing over plain HTTP because browsers expose navigator.clipboard.write only in a secure context. A LAN origin like http://10.0.0.5:3000 is not one, so the export never runs.
The command sits under Export: Page Or Selection -> Clipboard: Export Rich Text. It builds a Blob and passes it to navigator.clipboard.write([…]). The bundled client guards that call with if(!navigator.clipboard?.write) throw. On an insecure origin, write is undefined, the guard throws, and the UI shows no error.
The quick per-browser fix is Chromium’s chrome://flags/#unsafely-treat-insecure-origin-as-secure, set for that exact origin. No server change. Rich copy then works, confirmed. The flag applies per browser and per origin, and corporate policy may lock it.
A cleaner client-side fix is an SSH local forward: ssh -N -L 3000:127.0.0.1:3000
The server-side route is HTTPS in front of SilverBullet. It has no TLS option itself, only -L and -p. You can use Tailscale Serve with tailnet certs, though the cert name lands in public CT logs, a reverse proxy with a real cert on your own domain, or a local CA the client must trust. More moving parts.
Bonus: the left-side file tree people install plugins for has been built in since 2.11 (Navigate: Tree, Ctrl-O, View -> Tree). The old Treeview plugin is unmaintained.
Support This Work
If this note saves you time, consider supporting the blog.
Most readers scroll past. Less than 3% of readers contribute to keeping independent technical content free and accessible.
Get new posts by email
No spam — just new articles in your inbox when they're published.