Bytebase
World's most advanced database DevSecOps solution for Developer, Security, DBA and Platform Engineering teams. The GitHub/GitLab for database DevSecOps.
Install / Use
/learn @bytebase/BytebaseREADME
<h1 align="center">
<a href="https://www.bytebase.com?source=github" target="_blank">
<img alt="Bytebase" src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/banner.webp" />
</a>
</h1>
<p align="center">
<b>Database CI/CD for DevOps teams</b><br>
Manage database schema changes with confidence
</p>
<p align="center">
<a href="https://docs.bytebase.com/get-started/self-host-vs-cloud" target="_blank">⚙️ Install</a> •
<a href="https://docs.bytebase.com">📚 Docs</a> •
<a href="https://demo.bytebase.com">🎮 Demo</a> •
<a href="https://discord.gg/huyw7gRsyA">💬 Discord</a> •
<a href="https://www.bytebase.com/request-demo/">🙋♀️ Book Demo</a>
</p>
<p align="center">
<a href="https://goreportcard.com/report/github.com/bytebase/bytebase">
<img alt="go report" src="https://goreportcard.com/badge/github.com/bytebase/bytebase" />
</a>
<a href="https://artifacthub.io/packages/search?repo=bytebase">
<img alt="Artifact Hub" src="https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/bytebase" />
</a>
<a href="https://github.com/bytebase/bytebase">
<img alt="Github Stars" src="https://img.shields.io/github/stars/bytebase/bytebase?logo=github">
</a>
</p>
<p align="center"> <b>Join us in revolutionizing database management!</b><br> <a href="https://cal.com/bytebase/product-walkthrough">Book a demo</a> </p>
What is Bytebase?
Bytebase is an open-source database DevOps tool, it's the only database CI/CD project included by the CNCF Landscape and Platform Engineering.
It offers a web-based collaboration workspace to help DBAs and Developers manage the lifecycle of application database schemas.
<h1 align="center"> <img alt="Bytebase" src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/fish.webp" /> </h1>Key Features
🔄 Database CI/CD
- GitOps Integration: Native GitHub/GitLab integration for database-as-code workflows
- Migration Management: Automated schema migration with rollback support
- SQL Review: 200+ lint rules to enforce SQL standards and best practices
🔒 Security & Compliance
- Data Masking: Advanced column-level masking for sensitive data protection
- Access Control: Fine-grained RBAC with project and workspace-level permissions
- Audit Logging: Complete audit trail of all database activities
🎯 Developer Experience
- Web SQL Editor: Feature-rich IDE for database development
- Batch Changes: Apply changes across multiple databases and tenants
- API & Terraform: Full API access and Terraform provider for automation
📊 Operations
- Multi-Database Support: PostgreSQL, MySQL, MongoDB, Redis, Snowflake, and more
- Drift Detection: Automatic detection of schema drift across environments
- Admin Mode: CLI-like experience without bastion setup
Quick Start
Docker
docker run --init \
--name bytebase \
--publish 8080:8080 \
--volume ~/.bytebase/data:/var/opt/bytebase \
bytebase/bytebase:latest
Kubernetes
helm install bytebase bytebase/bytebase
Visit http://localhost:8080 and follow the setup wizard.
Documentation
The Bytebase Family
- Bytebase Console: Web-based GUI for database lifecycle management
- SQL Review Action: GitHub Action for PR-time SQL review
- Terraform Provider: Infrastructure as code for Bytebase resources
Use Cases
For Development Teams
- Implement database schema version control
- Automate database deployments through CI/CD pipelines
- Collaborate on database changes with review workflows
For DBAs
- Centralize database management across all environments
- Enforce organization-wide SQL standards and policies
- Monitor and audit all database activities
For Security Teams
- Control data access with column-level permissions
- Implement data masking for sensitive information
- Maintain compliance with audit trails
Supported Databases
PostgreSQL, MySQL, MariaDB, TiDB, Snowflake, ClickHouse, MongoDB, Redis, Oracle, SQL Server, Spanner, and more.
Community & Support
Contributing
We welcome contributions!
# Setup a postgres database with user bbdev and database bbdev
export PG_URL=postgresql://bbdev@localhost/bbdev
# Start backend
alias r='go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go && ./bytebase-build/bytebase --port 8080 --data . --debug'
# Start frontend
alias y="pnpm --dir frontend i && pnpm --dir frontend dev"
Comparisons
- Bytebase vs Liquibase
- Bytebase vs Flyway
- Bytebase vs Jira
- Bytebase vs DBeaver
- Bytebase vs DataGrip
- Bytebase vs Navicat
- Bytebase vs CloudBeaver
<p align="center"> <b>Join us in revolutionizing database management!</b><br> <a href="https://cal.com/bytebase/product-walkthrough">Book a demo</a> </p>
