A modern database management studio with a beautiful web interface. Manage PostgreSQL, MySQL, and other databases with ease.
npm install -g dbdesk-studio
dbdesk-studioOr run directly without installation:
npx dbdesk-studiogit clone https://github.com/zexahq/dbdesk-studio.git
cd dbdesk-studio
pnpm install
pnpm build
pnpm start- π¨ Modern Web Interface - Built with React and TanStack Router
- ποΈ Multi-Database Support - PostgreSQL, MySQL, and more
- π Query Editor - Full-featured SQL editor with syntax highlighting
- π Table Browser - Browse and edit data directly
- πΎ Saved Queries - Save and organize your queries
- π Export Data - Export tables as CSV or SQL
- π― Type-Safe - Built entirely in TypeScript
- π Fast - Powered by Vite and Express
dbdesk-studio- Frontend: http://localhost:9876
- Backend: http://localhost:6789
dbdesk-studio --backend-port 4000 --frontend-port 8080dbdesk-studio --backend-url http://api.example.com:6789Usage: dbdesk-studio [options]
Options:
--backend-port <port> Backend server port (default: 6789)
--frontend-port <port> Frontend server port (default: 9876)
--backend-url <url> Backend URL for frontend (default: http://localhost:6789)
--help, -h Show this help message
- Node.js >=20
- pnpm >=10.13.1
git clone https://github.com/zexahq/dbdesk-studio.git
cd dbdesk-studio
pnpm installpnpm run devThis starts:
- Frontend: http://localhost:3001
- Backend: http://localhost:6789
pnpm run buildpnpm run typecheckdbdesk-studio/
βββ apps/
β βββ web/ # Frontend (React + TanStack Router + Vite)
β βββ server/ # Backend API (Express)
βββ packages/
β βββ common/ # Shared types and utilities
β βββ config/ # Shared configuration
β βββ env/ # Environment variables
β βββ cli/ # CLI entry point
βββ turbo.json # Monorepo configuration
- Save and manage multiple database connections
- Support for PostgreSQL and MySQL
- Connection profiles with credentials
- Full-featured SQL editor with Monaco Editor
- Syntax highlighting for SQL
- Query history and saved queries
- Execute queries and view results
- Browse tables and schemas
- View and edit table data inline
- Filter and sort data
- Delete rows and export data
- Save your workspace configuration
- Auto-save workspace state
- Quick access to saved queries
Use different ports:
dbdesk-studio --backend-port 4000 --frontend-port 8080If frontend can't connect to backend, ensure the backend URL is correct:
dbdesk-studio --backend-url http://localhost:6789Clean and rebuild:
pnpm clean
pnpm install
pnpm buildMIT