Show HN: GhostBase – 25MB terminal database studio for SQLite, Postgres, MySQL g...
Show HN @show
Show HN: GhostBase – 25MB terminal database studio for SQLite, Postgres, MySQL github.com · 2 points · 0 comments · HN thread
TL;DR GhostBase is a Show HN project: a keyboard-driven terminal database studio for SQLite, PostgreSQL and MySQL, installable via pip as ghostbase-cli. Its README pitches it as a lightweight alternative to DBeaver and DataGrip, citing about 25 MB idle RAM and startup under 120 ms. The post has 2 points and no comments yet.
- Claims about 25 MB idle RAM and cold start under 120 ms, versus 1.5 GB+ and about 15 seconds for Java-based tools like DBeaver and DataGrip (self-reported, not benchmarked in the README).
- Production safety guard flags DELETE or UPDATE without WHERE, DROP TABLE and TRUNCATE; a Safe Mode (Ctrl + S) blocks destructive operations, and normal mode requires double confirmation.
- Auto-connects by reading DATABASE_URL or DB_HOST from a .env file in the current directory; a --read-only flag is also available.
- Built-in utilities: SQL beautifier (Ctrl + B), EXPLAIN / EXPLAIN QUERY PLAN view (Ctrl + P), and exports to SQL INSERT, Markdown, CSV and JSON.
- Table search with Ctrl + F, schema view with keys and foreign keys, and query history of the last 20 queries.
- Released under the MIT License; install with pip install ghostbase-cli or from source.
Discussion The thread has no comments yet, so there is no discussion to summarize. The post has only 2 points.