A modern, web-based database management tool with Git-like version control
Supporting PostgreSQL, MySQL, MariaDB, MongoDB, and Redis
Features β’ Quick Start β’ Pro Subscription β’ Enterprise β’ Documentation
Unlike DBeaver, TablePlus, or any other database tool - BosDB has Git-like + SVN-like version control built-in:
- β Commit database changes like code
- β Rollback to any previous state (r-1, r-2, etc.)
- β Compare revisions and see differences
- β Branches for different development streams
- β History of all changes with full audit trail
- β Multi-user tracking - see who changed what
Perfect for teams, audits, and compliance!
- PostgreSQL - Full SQL support with advanced features
- MySQL - Popular relational database
- MariaDB - MySQL-compatible fork
- MongoDB - Document-oriented NoSQL
- Redis - In-memory key-value store
- β Query Editor - Monaco editor with syntax highlighting
- β AI SQL Assistant - Get AI-powered help writing SQL queries
- β SQL Debugger - Set breakpoints and debug stored procedures
- β Execute Selected - Run only highlighted SQL
- β Multi-Tab Editor - Work on multiple queries simultaneously
- β Data Grid Editing - Inline editing like a spreadsheet
- β Table Designer - Visual table creation with columns, types, constraints
- β Query History - Automatic tracking of all queries
- β Schema Explorer - Browse databases, schemas, tables, and procedures
- β Syntax Validation - Real-time query validation with helpful warnings
- β CSV/JSON Export - Export query results to multiple formats
- β Dark/Light Mode - Fully themeable interface
- β Connection Management - Secure credential storage
- β Automatic Change Tracking - Every query is tracked
- β Commit System - Commit changes with messages
- β SVN-style Revisions - r0 (current), r-1 (previous), r-2, etc.
- β Rollback - Revert to any previous state
- β Compare Revisions - See what changed between versions
- β Branch Management - Create branches for features
- β History Timeline - Visual history of all commits
- β Pending Changes - See uncommitted changes
- β Individual Commits - Commit specific changes
- β Fast Parallel Loading - 3x faster VCS page load
- β User Login - Secure authentication with passwords
- β Password Security - bcrypt hashing, strength validation
- β User Registration - New users request access
- β Admin Approval - Admins approve/reject user requests
- β Super Admin Panel - Dedicated panel for platform owners
- β Organization Scoping - Admins only manage their org users
- β Per-User Commits - Track who made each change
- β Role-Based Access - Admin, user, and super-admin roles
- β Granular Permissions - Read, Edit, Commit, Manage Schema per connection
- β Audit Trail - Complete history of who did what
- β Demo Accounts - Pre-configured accounts for instant testing
- β Encrypted Credentials - AES-256 encryption at rest
- β Password Hashing - bcrypt with salt rounds
- β SQL Injection Protection - Built-in query validation
- β Query Timeouts - Prevent long-running queries
- β Row Limits - Automatic result set limiting
- β Permission Enforcement - Granular access control
- β Separate Super Admin DB - Isolated super admin credentials
- β Domain Restrictions - Super admin access limited to @bosdb.com
BosDB offers a Free tier and Pro tier with advanced features:
| Feature | Free | Pro |
|---|---|---|
| Database Connections | 2 | Unlimited |
| Query History | 50 | Unlimited |
| Version Control | β | β |
| Table Designer | β | β |
| Data Grid Editing | Read-only | Full Edit |
| Export Formats | CSV | CSV, JSON, SQL |
| Granular Permissions | β | β |
| Priority Support | β | β |
| Plan | Price | Features |
|---|---|---|
| Free | $0 forever | Basic features |
| Pro Trial | FREE for 1 month | All Pro features, no card required |
| Pro Monthly | $29/month | All Pro features |
| Pro Yearly | $249/year | Save 29% (2 months free!) |
- Go to
/pricingin your BosDB instance - Click "Start 1 Month Free Trial" (no credit card!)
- Or select Monthly/Yearly and enter payment details
- All users in your instance get Pro features! π
BosDB uses a self-hosted model perfect for enterprise:
Company A's Server Company B's Server
βββββββββββββββββββββββ βββββββββββββββββββββββ
β BosDB Instance A β β BosDB Instance B β
βββββββββββββββββββββββ€ βββββββββββββββββββββββ€
β Subscription: Pro β β Subscription: Free β
βββββββββββββββββββββββ€ βββββββββββββββββββββββ€
β Users: Alice, Bob β β Users: Carol, Dan β
βββββββββββββββββββββββ€ βββββββββββββββββββββββ€
β Their Databases β β Their Databases β
βββββββββββββββββββββββ βββββββββββββββββββββββ
- β Complete Isolation - Each company's data stays on their server
- β System-Wide Subscription - When a company buys Pro, all employees get Pro
- β No Shared Infrastructure - Your database credentials never leave your premises
- β Compliance Ready - Perfect for HIPAA, SOC2, GDPR requirements
- Node.js 18+ and npm
- Docker (for test databases)
# Clone repository
git clone https://github.com/Omni-Gang/BosDB-Browser.git
cd BosDB-Browser
# Install dependencies
npm install
# Set up environment
cd apps/web
cp .env.example .env
# Add ENCRYPTION_MASTER_KEY=your-secret-key-here
# Start dev server
cd ../..
npm run devOpen http://localhost:3001 in your browser.
Test BosDB immediately with pre-configured accounts:
Individual Account
Email: [email protected]
Password: Demo123!
Enterprise Account
Email: [email protected]
Password: Demo123!
Owner Account
Regular Login (/login): [email protected] / Arush098!
Super Admin (/super-admin/login): [email protected] / Arush098!
First Time Setup:
- Visit
/loginand select a demo account - Explore all features immediately
- Or register your own account and get admin approval
- Access Super Admin panel at
/super-admin/login(BosDB domain only) - Start using!
1. Automatic Tracking
-- Execute any query
INSERT INTO users VALUES (1, 'John');
-- Automatically tracked in "Pending Changes"2. Commit Changes
1. Go to Version Control page
2. See pending changes
3. Click "Commit All" or commit individually
4. Enter commit message
5. Done! Your change is saved
3. View History
Version Control β History Tab
- See all commits
- SVN-style revisions (r0, r-1, r-2...)
- Who made each change
- When it happened
4. Rollback
1. Click "Rollback to r-2"
2. Confirm
3. New commit created reverting to that state
4. All changes are reversible!
Default Admin:
- User ID:
admin - Password:
Admin@123
Creating New Users:
- New employee visits
/login - Clicks "Register New User"
- Fills in details (password must be 8+ chars with uppercase, lowercase, number)
- Admin approves in Admin Panel (
/admin) - Employee can now login!
Admins can set per-connection permissions for each user:
- Read Data - Can view table data
- Edit Data - Can INSERT/UPDATE/DELETE
- Commit Changes - Can commit to version control
- Manage Schema - Can CREATE/ALTER/DROP tables
Host: localhost
Port: 5432
Database: postgres
Username: postgres
Password: your_passwordHost: localhost
Port: 3306
Database: mydb
Username: root
Password: your_passwordHost: localhost
Port: 27017
Database: mydb
Username: (optional)
Password: (optional)Host: localhost
Port: 6379
Password: (optional)- INSTALLATION.md - Detailed installation guide
- QUICK_DEPLOY.md - Quick deployment steps
- DEPLOY_GUIDE.md - Production deployment
- Version Control Guide - VCS documentation
BosDB/
βββ apps/
β βββ web/ # Next.js frontend
β βββ src/app/ # Pages & API routes
β βββ src/components/ # React components
β βββ src/lib/ # Utilities & auth
β βββ .bosdb-vcs/ # Version control data
β βββ .bosdb-users.json # User data
β βββ .bosdb-subscription.json # Subscription data
βββ packages/
β βββ core/ # Core types
β βββ db-adapters/ # Database adapters
β βββ version-control/ # VCS engine
β βββ security/ # Encryption & validation
β βββ utils/ # Shared utilities
- Multi-database support (5 databases)
- Query editor with syntax highlighting
- AI SQL Assistant - Get help writing queries
- SQL Debugger - Debug stored procedures with breakpoints
- Multi-Tab Editor - Multiple query tabs
- Version control system (Git + SVN-like)
- Fast VCS Loading - 3x faster with parallel API calls
- Multi-user authentication with passwords
- User approval workflow
- Super Admin System - Separate admin panel for platform owners
- Organization-scoped Admin - Admins only manage their org
- Granular permissions (per-connection)
- Table Designer
- Data Grid with inline editing
- Demo Accounts - Instant testing without registration
- Pro subscription system
- Enterprise deployment model
- Export to CSV/JSON
- Query history panel
- Import data (CSV, JSON)
- Query builder (visual)
- Auto-complete improvements
- ER diagram generator
- Performance monitoring
- SSH tunnel support
- Database comparison tools
- Scheduled queries
- Report generation
Contributions welcome! Please read our contributing guidelines first.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js
- Database adapters for PostgreSQL, MySQL, MongoDB, Redis
- Version control inspired by Git and SVN
- Monaco Editor for SQL editing
- GitHub: Omni-Gang/BosDB-Browser
- Issues: Report Bug
- Features: Request Feature
Made with β€οΈ by the BosDB Team
β Star us on GitHub if you find this useful!