A modern, high-performance desktop SQL client built with Tauri, React, and Rust. Designed for safety, speed, and intuitive organization, featuring a unique "Changelog" system for pending edits and a powerful visual tagging system.
- Smart Tagging System: Organize your tables not just alphabetically, but logically. Create custom colored tags and use Drag & Drop to assign tables to them.
- Dual Sidebar Modes: Toggle between a standard A-Z list and a Tags view to focus on relevant groups of tables.
- Database-Aware Tabs: Open multiple tables, queries, and functions simultaneously. Tabs are intelligently scoped to their specific database, ensuring no confusion between identical table names across different environments.
- Preview & Pin: Single-click to preview a table, double-click to pin it to your workspace.
Never accidentally break production data again.
- Pending Edits Queue: Updates, Insertions, and Deletions are not applied immediately. They are queued as "Pending Changes".
- Visual Diff:
- 🟥 Deletes: Rows marked for deletion are highlighted in red.
- 🟨 Updates: Individual modified cells are highlighted in yellow.
- 🟩 Inserts: New rows are clearly distinct.
- Review & Commit: Review every granular change in the dedicated Changelog Sidebar before confirming the transaction.
- Saved Queries: Write complex SQL once and save it for repeated use. Accessible directly from the sidebar.
- Saved Functions: Manage and execute stored database functions with a dedicated runner interface.
- Interactive Grid: Sort, filter, and resize columns with ease.
- Context Menu: Right-click for quick actions like Copy, Export (CSV/JSON), or specialized table operations.
- Pagination: Efficiently handle large datasets with server-side pagination.
- Seamless Switching: Switch between different databases within the same connection instantly via the sidebar dropdown.
- Connection Isolation: Workspace state is strictly scoped to the active database to prevent cross-contamination.
- Broad Support: Connect to PostgreSQL, MySQL, and SQLite databases.
- System Logs: A dedicated log tab tracks every action, query execution, and error, with status filtering (e.g., "Hide Success") for easy debugging.
- Schema Diagram & Management: visual schema exploration (in progress) and table structure management.
- SQL Editor: Full-featured editor for running raw SQL commands.
-
Frontend:
- Framework: React 18 + TypeScript
- Build Tool: Vite
- Styling: CSS Modules (scoped & performant)
- UI Components: Custom-built with
lucide-reacticons and@dnd-kitfor complex drag-and-drop interactions.
-
Backend (Desktop):
- Core: Tauri (Rust)
- Database Driver:
sqlx(Async, type-safe SQL) - Local Store: SQLite (for app configuration, tags, and saved changes).
- Node.js (v16+)
- Rust (latest stable)
- VS Code (Recommended) with Tauri + rust-analyzer extensions.
-
Clone the repository:
git clone https://github.com/TriforceParas/DataBaseUI.git cd SQL-UI -
Install frontend dependencies:
npm install
-
Run the development server:
npm run tauri dev
-
Build for production:
npm run tauri build