A modern, blazingly fast, and elegant database management client & SQL editor for PostgreSQL, MySQL, MariaDB, SQLite, and Redis with built-in MCP Server & AI Copilot.
TABLEGRID is a fast, cross-platform database workspace built with Tauri v2 + Rust and React 19 + TypeScript.
It combines database management, Redis tooling, SQL editing, AI assistance, migrations, monitoring, and security in one modern desktop app.
- PostgreSQL, MySQL, MariaDB, SQLite, and Redis.
- Redis key browser, CLI console, Streams, SlowLog, metrics, TTL editing, and DB switching.
- Expose database schema and safe read queries to AI clients such as Claude Desktop, Cursor, Windsurf, and Antigravity.
- Secure Bearer Token authentication and Origin/Host validation.
- Supports Ollama, Gemini, OpenAI, Claude, and OpenRouter.
- Schema-aware SQL generation with streaming responses and one-click execution.
- Schema-aware autocomplete.
- Query parameter detection.
- Split editor views.
- SQL Beautify & Minify.
- Interactive query plan flowcharts.
- Cost highlighting, Tree View, Raw View, and
EXPLAIN ANALYZE.
- Virtualized data grid with inline editing, filtering, sorting, and pagination.
- Mock data generator.
- Database Compare & Sync.
- Schema migrations.
- Backup & Restore with
.sql.gz.
- Read-Only Safe Mode.
- Transaction isolation controls.
- OS Keyring credential storage.
- SSH tunneling with pure-Rust
russh.
- Liquid Glass-inspired Dark & Light themes.
- English & Vietnamese.
- Multi-connection DbRail with environment color tags.
Database Client Β· Redis Browser Β· SQL IDE Β· AI Copilot Β· MCP Server Β· Query Analyzer Β· Migration Tool
All in one fast, native desktop app.
| Layer | Technologies |
|---|---|
| Desktop Shell | Tauri v2 (Rust) |
| Backend Runtime | Tokio Β· SQLx Β· Rusqlite Β· Redis-rs |
| Protocols & Security | rmcp (MCP SDK) Β· Axum Β· Russh Β· Keyring-rs |
| Frontend Framework | React 19 Β· TypeScript Β· Vite 8 |
| Editor & Terminal | Monaco Editor Β· @xterm/xterm |
| Styling & Icons | Vanilla CSS (Liquid Glass Design Tokens) Β· Lucide Icons |
| Testing & Linting | Vitest Β· Oxlint |
- Node.js:
>= 18.x - Rust:
>= 1.75(Rust 2024 Edition) - Package Manager:
npm,pnpm, oryarn
-
Clone the repository:
git clone https://github.com/Phamthang1997/tablegrid.git cd tablegrid -
Install frontend dependencies:
npm install
-
Start in Development Mode:
npm run dev
-
Run Unit Tests & Linting:
npm test # Run Vitest test suites npx oxlint src # Run Oxlint code analysis
-
Build Desktop App for Production:
npm run build # Compile frontend bundle & build native desktop executable
If you download a .dmg release built from GitHub Actions, macOS Gatekeeper may block unsigned binaries downloaded via web browsers. To resolve this:
- Drag
TableGrid.appinto your/Applicationsfolder. - Open Terminal and run:
sudo xattr -rd com.apple.quarantine /Applications/TableGrid.app
table/
βββ src/ # Frontend Source Code (React 19 + TypeScript)
β βββ components/ # UI Components
β β βββ ai/ # AI Assistant & Chatbot Panels
β β βββ redis/ # Redis Key Browser, Stream, Console & SlowLog
β β βββ ConnectionManager.tsx # Database Connections & Credential Dialogs
β β βββ DataGrid.tsx # Virtualized Data Grid Table & In-cell Editor
β β βββ SqlEditor.tsx # Monaco Editor SQL Workspace & Split Panes
β β βββ ExplainViewer.tsx # Visual EXPLAIN Flowchart & Plan Analyzer
β β βββ DbRail.tsx # Multi-Connection Sidebar Switcher Rail
β β βββ TxControl.tsx # Transaction Isolation & Safety Toolbar
β β βββ TerminalPanel.tsx # Embedded Local & Remote SSH Terminal
β βββ sql/ # Monaco SQL Language Service & Result Formatters
β βββ utils/ # Tauri IPC Bridge & Helper Utilities
β βββ i18n/ # Internationalization (EN / VI Locales)
β βββ App.tsx # Main Workspace Container Component
β βββ index.css # Liquid Glass Design System Tokens
βββ src-tauri/ # Backend Source Code (Rust + Tauri v2)
β βββ src/
β β βββ app/ # Tauri Handlers Registration & Run Entry
β β βββ database/ # PostgreSQL / MySQL / SQLite Drivers & Catalog
β β βββ redis_db/ # Redis Connection Session & Command Engine
β β βββ mcp/ # Built-in Streamable HTTP MCP Server & Security
β β βββ state/ # Connection Pool Registry & App State
β β βββ ssh/ # Russh Secure Port Forwarding Tunnel
β β βββ terminal/ # Local PTY & SSH Remote Shell Streamer
β β βββ credentials/ # OS Keyring Secure Storage
β β βββ datagen/ # Schema-Aware Mock Data Generator
β β βββ compare/ # Database Schema & Data Comparison
β β βββ stats/ # Database Server Performance Statistics
β β βββ tx/ # Transaction Isolation & Safe Mode Handlers
β βββ Cargo.toml # Rust Dependencies Manifest
β βββ tauri.conf.json # Tauri Desktop Configuration
βββ package.json
βββ README.md
- Author & Creator: Pham Thang
- π§ Email: pthang888@gmail.com
- πΌ LinkedIn: thangpx
- Copyright: Β© 2026 Pham Thang and TableGrid Contributors
- License: Released under the GNU Affero General Public License v3.0 (AGPL-3.0).
- Code of Conduct: Please follow our Contributor Covenant Code of Conduct.
