Show HN: Rustable 是一个用 Rust 构建的开源数据库客户端
Show HN: Rustable is an open source database client built in Rust

原始链接: https://rustable.app

Rustable 是一个基于 Rust 的数据库客户端(v0.4.8,早期软件),提供浏览器演示,运行真实 SQLite 和内存 Redis 子集;重新加载会重置演示,但已保存的查询会保留。桌面应用支持多种数据库引擎——PostgreSQL、SQLite、MySQL/MariaDB 和独立 Redis——以及分窗口、生产环境警示颜色、SSH 隧道(macOS/Linux)、模式浏览、SQL 标签页、已保存查询、行编辑审核、导入/导出,以及基于 egui 的快速虚拟化界面。它原生运行于 macOS、Windows 和 Linux;macOS 已签名/公证并支持自动更新,而 Windows/Linux 为可移植 x64 包,需手动更新。打开 SQLite 文件时会作为副本打开,不触碰原始文件。服务器连接和真实 Redis 需要桌面应用。它完全使用 Rust 编写,原生 GPU 渲染,面向实用的数据库工作而非繁文缛节。

一篇 Hacker News 帖子宣布了 Rustable,这是一个用 Rust 构建的开源数据库客户端,定位为 TablePlus 的免费替代品。作者称其高性能、可通过 WASM 在浏览器兼容、可用作日常工具,但仍然有点卡顿。评论批评该项目对 Windows/Linux 的尖酸语气,讨论 Linux/Android 的使用情况,并认为基于 egui 的应用与 TablePlus 相比并非真正的原生应用。另一名评论者为操作系统支持的观点辩护。总体而言,该讨论串混合了产品公告与对语气和实现方式的批评。
相关文章

原文

It’s Rust, compiled to WASM, running in your browser. Not a JavaScript rewrite. Just because we can. It’s Rust, dude. Try it.

Open full-size ↗

The actual Rustable workspace · real SQLite + an in-memory Redis demo · disposable sample data. Use Connections (the plug icon) to switch between Studio demo and Redis demo. The Redis demo runs in Rust/WASM and supports a subset of Redis commands; run INFO for the list. Browse, query, edit, import, export. Reload resets both demos; saved queries stay in this browser. Open SQLite files as copies with ⌘O / Ctrl+O. Your originals stay untouched. Server connections need the desktop app.

See desktop screenshots

Yes, we support your silly OS as well. Windows and Linux users, you’re welcome.

v0.4.8 · Early software. macOS is signed and notarized. Release notes & checksums ↗

Built for people who want to get their work done. Not clowns. 🤡 (Clowns may build from source.)

What’s in it

Room for your databases
Multiple connections, separate windows. Production gets its own alarming color. More database engines are on the way.

The useful bits
SSH tunnels, schema browsing, SQL tabs, saved queries, and edits you can review before saving.

Less waiting around
Reused connections. Virtualized rows. Work kept off the UI thread. Speed comes from doing less work, which suits us perfectly.

Your monitor gets a say
Built with egui: a native, GPU-rendered UI that can redraw at your monitor’s refresh rate. Smooth scrolling, resizing, and moving around your data. You bought the nice monitor. Might as well use it for something besides the mouse cursor.

No browser included
Rust + egui. You already have a browser. It’s displaying this website.

What’s supported

Five databases. One familiar workspace.

SQL databases: browse, query, import, export, and review row edits before saving. MySQL 8.4 and MariaDB 11.4 are tested. Standalone Redis 7.4 is now supported: key browsing, commands, string edits and TTL controls. Real Redis server connections are desktop-only; Cluster and Sentinel are not included.

Support details & current limits ↗

A few entirely reasonable questions

Is it written in Rust?

Of course it is. We also use mise, and mise is written in Rust. That’s how you know it’s good. Please don’t ask any follow-up questions about this methodology.

Rustable icon

Anyway. Back to your database.

Having issues with the app? Sounds like a PICNIC problem.

Tell us about it ↗
联系我们 contact @ memedata.com