· via Hacker News – Front Page (native)
Rustable compiles its open-source Rust database client to WebAssembly for the browser
Rustable, an open-source database client written in Rust, runs the real application compiled to WebAssembly in its browser demo, alongside native desktop builds for macOS, Windows and Linux.

An open-source database client called Rustable has drawn attention on Hacker News for an unusual trick: its web demo is not a screenshot, a mock-up or a JavaScript reimplementation, but the actual Rust application compiled to WebAssembly and executing inside the browser. The project, currently at version 0.4.7, also ships native desktop builds for macOS, Windows and Linux.
The browser demo
According to the project's site, the demo workspace runs a real SQLite engine alongside an in-memory Redis instance, both executing as Rust compiled to WASM. Visitors can browse tables, run queries, edit rows, and import and export data against disposable sample data. Reloading the page resets both demos, while saved queries persist in the browser. Local SQLite files can be opened with Cmd/Ctrl+O, and they are loaded as copies so the originals stay untouched. The Redis demo implements a subset of Redis commands, which can be listed by running INFO. Connecting to real database servers requires the desktop application.
A native desktop client as well
The desktop app is the primary product. The macOS build targets Apple Silicon, is signed and notarized, and updates itself automatically. Windows and Linux get x64 portable packages with manual updates for now, and the Linux build needs Ubuntu 24.04 or compatible newer libraries. Built-in SSH tunnels are currently limited to macOS and Linux; Windows users can connect directly or use an external tunnel.
Feature-wise, the client supports multiple simultaneous connections in separate windows, with a distinct color reserved for production so it is hard to miss. There is schema browsing, SQL tabs, saved queries, and row edits that can be reviewed before being committed. On performance, the project points to reused connections, virtualized rows for large result sets, and keeping work off the UI thread.
One egui codebase, two targets
The user interface is built with egui, a GPU-rendered Rust GUI toolkit that can redraw at the monitor's refresh rate rather than a fixed frame rate. Because egui draws its own widgets instead of relying on native platform components, the same interface code can be compiled to WebAssembly — which is how the browser demo exists at all. The project says the application code is entirely Rust, with only packaging and benchmark scripts excluded from that claim.
Database support
Five engines are supported: PostgreSQL and SQLite came first, followed by MySQL 8.4 and MariaDB 11.4, both listed as tested, and standalone Redis 7.4, which offers key browsing, command execution, string edits and TTL controls. Redis server connections are desktop-only, and Redis Cluster and Sentinel are not included. More database engines are on the roadmap.
The project's FAQ is candid about how the code came to be, acknowledging it was written with the help of an AI assistant it names Astra, and pointing skeptics at the publicly available source.
Why it matters
Most developer tools that claim to run in the browser fall into one of two camps: a JavaScript rewrite of the original, or a thin client with the real work happening on a server. Rustable demonstrates a third path for tool makers: compile the existing Rust application to WebAssembly and let anyone try the genuine article — SQLite queries, Redis commands, row editing — with nothing installed and no backend doing the heavy lifting beyond serving the page.
For a small project this also works as a distribution strategy. The demo is effectively the marketing, while the desktop app handles what the browser cannot, such as reaching real database servers over the network. And it is a useful data point for Rust-to-WASM as a route for GUI-based developer tooling: one codebase, native and browser targets, with egui proving flexible enough to span both. At v0.4.7 the software is still early and rough edges are being found, but the architecture — rather than any single feature — is the part worth watching.
- #rust
- #webassembly
- #database
- #developer-tools
- #open-source