Veilid and Gobo
Veilid is an encrypted peer-to-peer network: every computer running it helps carry data for the others, and no one along the way learns who asked for what. Gobo, the publishing tool that goes with Scrim, publishes whole websites into Veilid's distributed storage, so a site lives on the network itself, with no server to run or pay for.
Before Scrim, opening those sites meant running a local gateway and pointing a normal browser at
localhost. Every site shared one origin, the address bar showed a port number, and nothing stopped a
page from quietly reaching the regular internet and revealing your IP address. Scrim fixes all three.
Addresses
Chromium is told that cptp:// and cp:// are secure, standard schemes, and Scrim answers
them itself by asking its Veilid node. A page never sees a gateway address.
cptp://<record>.<read-key>/- A site. Each site is its own origin and a secure context, with its own cookies and storage.
cptp://veilamp.vns/- A VNS name, looked up over Veilid. The address bar keeps showing the name, and Scrim warns you if a name starts pointing somewhere new.
cptp://example.com/- A regular domain whose DNSLink record points to a Veilid site.
blog- A short name you gave a site on your own computer.
cp://portal/- The start page, with your bookmarks, history and site names, and the "You are leaving Veilid" page.
The wall
Every Scrim profile holds two Chromium profiles: one for Veilid pages and one for web pages. They share no cookies, storage, cache, permissions or logins. On top of that:
-
A Veilid page may load only
cptp://,cp://,data:andblob:addresses. Scrim cancels anything else before it's sent. - The Veilid profile's network traffic goes to a local proxy that refuses every connection, WebRTC's non-proxied UDP is off, and so is prefetching. Requests Chromium makes on its own go nowhere.
- A web page may not load
cptp://orcp://, or reach the gateway's port on your machine. -
Crossing sides opens the page in the other profile, in the same tab, with no referrer and no opener. Back and
Forward cross back. Popups that cross get a tab of their own, and the page that opened them gets
null. - Frames from the other side are blocked.
One node, many windows
Each profile runs in its own Scrim process, but they all share one Veilid node, so your site names, bookmarks and the keys to your own sites are the same everywhere. Whichever Scrim starts first runs the node, and the others talk to it. If it goes away, the next one to notice starts it again. If it stops answering, Scrim says so and offers to take over.
Scrim can also use a Gobo node you already run, if it uses the same state directory. Nothing else needs installing: the browser runs its own node, so the packages don't include Gobo.
Extensions where Chromium can't run them
Chromium doesn't count Scrim's tabs as tabs in a window, so each extension gets a small bridge that answers the tab, window, toolbar button, context menu and shortcut APIs from the browser itself.
Chromium also can't run extensions in the locked-down Veilid profile. When a Veilid page loads, Scrim adds a small runtime and the content scripts of the extensions allowed there to the page itself, and relays their messages. That puts those scripts in the page's own JavaScript world, where the site could watch them, which is why Scrim asks before an extension runs on Veilid sites and lets you turn it off.
Filters on Veilid sites
Filter lists name sites by the names people know them by, so Scrim applies them to a Veilid site by the names it goes
by: its .vns name, a domain pointing to it, or a name you set. Extensions don't run in Veilid pages, so
Scrim puts hiding rules, procedural filters and scriptlets in place itself, holding back a page's HTML for the few
milliseconds it takes so the page's own scripts never run first.
Packages
- macOS: a signed and notarized
.dmgfor Apple silicon. -
Linux:
.deb,.rpmand.tar.zstpackages, built in an Ubuntu 22.04 container so they run on anything with glibc 2.35 or later. They install to/opt/scrim, with a menu entry and thescrimcommand. - On Ubuntu 24.04 and later, the Linux packages install an AppArmor profile so Chromium's sandbox works.
- The Linux builds use Scrim's own build of CEF, patched so screen readers can read its controls.
Testing
The real browser runs headless and can be driven through Chromium's DevTools protocol, so its tabs, toolbar and every panel can be tested without a display. The screenshots on this site were taken that way. Keyboard and screen reader scenarios run against Orca, and device pairing, shared tabs and mirrored tabs are tested between nodes on a private Veilid network.