← knaxly.dev
knaxly.dev / ferry

Ferry

A tiny local proxy you run so knaxly's browser SQL workbench, Quarry, can reach your own Postgres, MySQL and other databases.

Why you run it locally

Browsers cannot open raw TCP sockets, so a full live connection to a classic database needs a small bridge running next to your browser. That is the whole trade, stated plainly:

A full live connection to a TCP database requires you to run Ferry locally (one command). That is the cost of not uploading your credentials to us. Your connection string, queries and results stay on your machine.

Run it (one line)

Ferry prints a pairing token on startup. Copy that token into Quarry to connect.

NPX npx knaxly-ferry
DOCKER docker run --rm -p 127.0.0.1:8477:8477 knaxly-ferry

A single static binary (via node --sea or pkg) is planned so you will not even need Node or Docker. Source and build notes live in the proxy/ directory of the repo.

Security model

These are enforced in code, not just advice:

How it connects to Quarry

Engines

Enabled today, via mature native drivers:

Postgres · pg MySQL / MariaDB · mysql2

Scaffolded for a later release (recognized, not yet enabled):

SQL Server MongoDB Redis
Part of knaxly.dev · pairs with Quarry, the browser SQL workbench · source