← Skulk

01 · Desktop · Rust + Tauri 2

A browser launcher that keeps its promises after a crash.

The desktop app owns every profile: its folder, its device, its proxy and the browser process itself. The core is Rust; the window is React.

  • Rust
  • Tauri 2
  • SQLite
  • tokio
  • React 19
  • TanStack Query
  • Python sidecar

See it move

The route out, and the race to find where it ends.

One request, four hops

  1. 1

    Browser

    no proxy login

  2. 2

    Local relay

    socket file, this user only

  3. 3

    Your proxy

    login added here

  4. 4

    The site

    sees the proxy

Four lookups, sent at once

first valid answer wins

  • Lookup A412 ms
  • Lookup B187 ms
  • Lookup C655 ms
  • Lookup D298 ms

Illustrative timings. The slow ones are simply dropped; nothing waits for them.

01

Launch

Started like a normal browser, because it is one.

Automation frameworks start a browser with a control channel attached, and a page can find that channel. Skulk starts the engine the way a person would: a profile folder and nothing else.

The identity goes in through environment variables the engine reads at start. They are split into chunks because Windows caps one variable at 2,047 characters.

No automation channel
Launched directly, not through Playwright.
Same device every time
The identity is generated once and replayed on each launch.

02

Network

A relay on your own machine, one per open browser.

Firefox cannot log in to a SOCKS5 proxy. So each open profile talks to a small relay that Skulk runs locally, and the relay dials the real proxy with the credentials.

The relay has no password of its own, so who can reach it matters. On macOS and Linux it listens on a socket file inside a folder only the current user can open: no other account and no web page can borrow the proxy. DNS is resolved at the proxy too.

macOS and Linux
A socket file in a user-only folder.
Windows
A port on 127.0.0.1, where Firefox has no such sockets.

03

Speed

Four lookups race. The first valid answer wins.

A profile's timezone, language and location must match where its proxy comes out. Finding that exit address is the slow part of making a profile.

Skulk sends four lookups through the proxy at once and keeps the first valid answer. The address is then located offline, from a database on disk, so creating a profile never waits on a chain of one-at-a-time network calls.

04

Recovery

If Skulk dies, the browsers do not.

While a browser is open, a small record of it sits on disk: the process, and the relay it is using. After a crash, a force quit or a reload, Skulk reads those records, finds the browsers still running and attaches to them again, with the relay back on the same address.

Quitting on purpose asks first if browsers are open.

05

Data

Backed up when a browser closes. Restorable for 30 days after delete.

A profile packs into one .skulk file: settings and browser data, without caches. That same file is what backups, export and import all use.

A backup is taken each time a browser closes. A deleted profile leaves one behind and can be brought back for 30 days.

Format
zstd-compressed tar with a manifest.
Tested
71 unit tests in the Rust core.

The real thing

Ten profiles, one list.

The Skulk profile table with folders, tags, proxy status and location for each profile
Connection card: proxy, exit address, location, timezone and language
Device card: system, screen, CPU cores, graphics and user agent

Next · 02

The engine

Eight C++ patches on Firefox so each profile draws, sounds and measures like its own machine.