Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: readme look better (#16874)
Danny Xuc8564f8d7150
diff --git a/README.md b/README.mdindex fc416eff27..b128586948 100644--- a/README.md+++ b/README.md@@ -1,22 +1,20 @@<h1 align="center">- <a- target="_blank"- href="https://www.bytebase.com?source=github"- >- <img- align="center"- alt="Bytebase"- src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/banner.webp"- style="width:100%;"- />+ <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">- <a href="https://docs.bytebase.com/get-started/self-host" target="_blank"><b>⚙️ Install</b></a> •- <a href="https://docs.bytebase.com/introduction/what-is-bytebase"><b>📚 Docs</b></a> •- <a href="https://discord.gg/huyw7gRsyA"><b>💬 Discord</b></a> •- <a href="https://www.bytebase.com/request-demo/"><b>🙋♀️ Book Demo</b></a>+ <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" 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">@@ -26,301 +24,132 @@<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"- target="_blank"- >+ <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> Different </b> database development tasks-</p>--<p align="center">- <b> Multiple </b> database systems-</p>--<p align="center">- <b> Unified </b> process-</p>--<p align="center">- <b> Single </b> tool-</p>--<br />--<p align="center" >- <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/your-dev-vs-competitor-hitman.webp" />-</p>--<br />--<p align="center">- <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/fish.webp" />-</p>--<br />--<p align="center" >- <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/change-query-secure-govern.webp" />-</p>--<br />--<p align="center">🪜</p>-<h1 align="center">Change</h1>-<p align="center">- Want to formalize the database change process but don't know how?-</p>--| | |-| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |-| <b>Standard Operating Procedure (SOP) </b><br />Standardize the database schema and data change process across different database systems, small or [large tables](https://docs.bytebase.com/change-database/online-schema-migration-for-mysql) and [different tenants](https://docs.bytebase.com/change-database/batch-change/#change-databases-from-multiple-tenants).<br /><br/><b>SQL Review</b><br />[100+ lint rules](https://docs.bytebase.com/sql-review/review-rules) to detect SQL anti-patterns and enforce consistent SQL style in the organization.<br /><br /><b>GitOps</b><br />[Point-and-click GitHub and GitLab integration](https://docs.bytebase.com/vcs-integration/overview) to enable GitOps workflow for changing database. | <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/issue-detail.webp" /> |--<br />--<p align="center">🔮</p>-<h1 align="center">Query</h1>-<p align="center">- Want to control the data access but don't know how?-</p>--| | |-| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |-| <b>All-in-one SQL Editor</b><br />Web-based IDE specifically for performing SQL specific tasks.<br /><br/><b>Data Masking</b><br />State-of-the-art [column level masking](https://docs.bytebase.com/sql-editor/mask-data) engine to cover complex situations like subquery, CTE.<br /><br /><b>Data Access Control</b><br />Organization level policy to centralize the [database permission](https://docs.bytebase.com/security/database-permission/overview). | <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/sql-editor.webp" /> |--<br />--<p align="center">🔒</p>-<h1 align="center">Secure</h1>-<p align="center">- Want to avoid data leakage, change outage and detect malicious behavior but don't know how?-</p>--| | |-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |-| <b>Centralize Change, Query and Admin Tasks</b><br />A single place to perform different tasks on different databases, thus enforce policy and monitor activity accordingly. <br /><br /><b>RBAC</b><br />[Two-level RBAC model](https://docs.bytebase.com/concepts/roles-and-permissions) mapping to the organization wide privileges and application team privileges respectively.<br /><br /><b>Drift detection and Audit Logging</b><br /> Capture all database schema drifts, user actions and system events and present them in a holistic view. | <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/grant-access.webp" /> |--<br />--<p align="center">👩💼</p>-<h1 align="center">Govern</h1>-<p align="center">- Want to enforce organization policy but don't know how?-</p>--| | |-| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |-| <b>Manage Database Resources</b><br /> A single place to manage environments, database instances, database users for application development, with optional [Terraform integration](https://registry.terraform.io/providers/bytebase/bytebase/latest/docs). <br /><br /><b>Policy Enforcement</b><br />Enforce organization wide SQL Review policy, backup policy and data access policy.<br /><br/><b>SQL Editor Admin mode</b><br />[CLI like experience](https://docs.bytebase.com/sql-editor/admin-mode) without setting up bastion. | <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/sql-review-policy.webp" /> |--<br />--# 🖖 Intro--[](https://www.youtube.com/watch?v=7UE78BufSLM)--Bytebase is a Database CI/CD solution for the Developers and DBAs. It's the **only database CI/CD project** included by the [CNCF Landscape](https://landscape.cncf.io/?selected=bytebase) and [Platform Engineering](https://platformengineering.org/tools/bytebase). The Bytebase family consists of these tools:+----- [Bytebase Console](https://www.bytebase.com/?source=github): A web-based GUI for developers and DBAs to manage the database development lifecycle.-- [Bytebase API](https://docs.bytebase.com/api/overview): Provide both gRPC and RESTful API to manipulate every aspect of Bytebase.-- [SQL Review GitHub Action](https://github.com/bytebase/sql-review-action): The GitHub Action to detect SQL anti-patterns and enforce a consistent SQL style guide during Pull Request.-- [Terraform Bytebase Provider](https://registry.terraform.io/providers/bytebase/bytebase/latest/docs): The Terraform- provider enables team to manage Bytebase resources via Terraform. A typical setup involves teams using- Terraform to provision database instances from Cloud vendors, followed by using Bytebase provider to- prepare those instances ready for application use.+## What is Bytebase?-| | Topic |-| --- | :------------------------------------------------------------------ |-| 🔧 | <b>[Installation](#-installation)</b> |-| 🎮 | <b>[Demo](#-demo)</b> |-| 👩🏫 | <b>[Tutorials](#-tutorials)</b> |-| 💎 | <b>[Design Principles](#-design-principles)</b> |-| 🧩 | <b>[Data Model](#-data-model)</b> |-| 🎭 | <b>[Roles](#-roles)</b> |-| 🕊 | <b>[Developing and Contributing](#-developing-and-contributing)</b> |-| 🤺 | <b>[Bytebase vs Alternatives](#-bytebase-vs-alternatives)</b> |+Bytebase is an open-source database DevOps tool, it's the **only database CI/CD project** included by the [CNCF Landscape](https://landscape.cncf.io/?selected=bytebase) and [Platform Engineering](https://platformengineering.org/tools/bytebase).-<br />+It offers a web-based collaboration workspace to help DBAs and Developers manage the lifecycle of application database schemas.-# 🔧 Self-host+## Key Features-- [Docker](https://docs.bytebase.com/get-started/self-host#docker)-- [Kubernetes](https://docs.bytebase.com/get-started/self-host#kubernetes)+### 🔄 **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-<br />+### 🔒 **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-# 🎮 Demo+### 🎯 **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-Live demo at https://demo.bytebase.com+### 📊 **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-You can also [book a 30min product walkthrough](https://cal.com/bytebase/product-walkthrough) with one of-our product experts.+## Quick Start-<br />+### Docker+```bash+docker run --init \+ --name bytebase \+ --publish 8080:8080 \+ --volume ~/.bytebase/data:/var/opt/bytebase \+ bytebase/bytebase:latest+```-# 👩🏫 Tutorials+### Kubernetes+```bash+helm install bytebase bytebase/bytebase+```-Product tutorials are available at https://docs.bytebase.com/tutorials.+Visit [http://localhost:8080](http://localhost:8080) and follow the setup wizard.-## Integrations+## Documentation-- [Manage Supabase PostgreSQL](https://docs.bytebase.com/integrations/supabase)-- [Manage render PostgreSQL](https://docs.bytebase.com/integrations/render)-- [Manage Neon database](https://docs.bytebase.com/integrations/neon)-- [Deploy to sealos](https://docs.bytebase.com/get-started/install/deploy-to-sealos)-- [Deploy to Rainbond](https://docs.bytebase.com/get-started/install/deploy-to-rainbond)+- [Installation Guide](https://docs.bytebase.com/get-started/self-host)+- [Tutorials](https://docs.bytebase.com/tutorials)+- [API Reference](https://docs.bytebase.com/api/overview)+- [Best Practices](https://docs.bytebase.com/best-practices)+- [FAQ](https://docs.bytebase.com/faq)-<br />+## The Bytebase Family-# 💎 Design Principles+- **[Bytebase Console](https://www.bytebase.com)**: Web-based GUI for database lifecycle management+- **[SQL Review Action](https://github.com/bytebase/sql-review-action)**: GitHub Action for PR-time SQL review+- **[Terraform Provider](https://registry.terraform.io/providers/bytebase/bytebase/latest/docs)**: Infrastructure as code for Bytebase resources-| | | |-| --- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| 🪶 | Dependency Free | Start with a single command `./bytebase` without any external dependency. External PostgreSQL data store and others are optional. |-| 🔗 | Integration First | Solely focus on database management and leave the rest to others. We have native VCS integration with [GitHub/GitLab](https://docs.bytebase.com/vcs-integration/overview), [Terraform Provider](https://registry.terraform.io/providers/bytebase/bytebase/latest/docs), [webhook](https://docs.bytebase.com/change-database/webhook), and etc. |-| 💂♀️ | Engineering Disciplined | Disciplined [bi-weekly release](https://docs.bytebase.com/changelog) and [engineering practice](https://github.com/bytebase/bytebase/blob/main/docs/life-of-a-feature.md). |+## Use Cases-<br />+### For Development Teams+- Implement database schema version control+- Automate database deployments through CI/CD pipelines+- Collaborate on database changes with review workflows-# 🧩 Data Model+### For DBAs+- Centralize database management across all environments+- Enforce organization-wide SQL standards and policies+- Monitor and audit all database activities-More details in [Data Model Doc](https://docs.bytebase.com/concepts/data-model).+### For Security Teams+- Control data access with column-level permissions+- Implement data masking for sensitive information+- Maintain compliance with audit trails-<p align="center">- <img- align="center"- alt="Data Model"- src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/data-model-v2.webp"- style="width:100%;"- />-</p>--<br />--# 🎭 Roles--More details in [Roles and Permissions Doc](https://docs.bytebase.com/concepts/roles-and-permissions).--Bytebase employs RBAC (role based access control) and provides two role sets at the workspace and project level:--- Workspace roles: `Admin`, `DBA`, `Member`. The workspace role maps to the role in an organization.-- Project roles: `Owner`, `Developer`, `Releaser`, `SQL Editor User`, `Exporter`, `Viewer`. The project level role maps to the role in a specific team or project.--Every user is assigned a workspace role, and if a particular user is involved in a particular project, then she will also be assigned a project role accordingly.--Below diagram describes a typical mapping between an engineering org and the corresponding roles in the Bytebase workspace--<p align="center">- <img- align="center"- alt="Role Mapping"- src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/org-role-mapping.webp"- style="width:100%;"- />-</p>+## Supported Databases-<br />+PostgreSQL, MySQL, MariaDB, TiDB, Snowflake, ClickHouse, MongoDB, Redis, Oracle, SQL Server, Spanner, and [more](https://docs.bytebase.com/introduction/supported-databases).-# 🕊 Developing and Contributing+## Community & Support-<p align="center">- <img- align="center"- alt="Tech Stack"- src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/techstack.webp"- style="width:100%;"- />-</p>--- Bytebase is built with a curated tech stack. It is optimized for **developer experience** and is very easy to start- working on the code:+- 💬 [Discord Community](https://discord.gg/huyw7gRsyA)+- 🐦 [Twitter](https://twitter.com/Bytebase)+- 📧 [Email Support](mailto:[email protected])+- 🐛 [Issue Tracker](https://github.com/bytebase/bytebase/issues)- 1. It has no external dependency.- 1. It requires zero config.- 1. 1 command to start backend and 1 command to start frontend, both with live reload support.+## Contributing-- Interactive code walkthrough+We welcome contributions!- - [Life of a schema change](https://sourcegraph.com/github.com/bytebase/bytebase/-/blob/docs/design/life-of-a-schema-change.snb.md)- - [SQL Review](https://sourcegraph.com/github.com/bytebase/bytebase/-/blob/docs/design/sql-review-source-code-tour.snb.md)+```bash+# Setup a postgres database with user bbdev and database bbdev+export PG_URL=postgresql://bbdev@localhost/bbdev-- Follow [Life of a Feature](https://github.com/bytebase/bytebase/blob/main/docs/life-of-a-feature.md).+# 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 --disable-sample'-# 🤺 Bytebase vs Alternatives+# Start frontend+alias y="pnpm --dir frontend i && pnpm --dir frontend dev"+```-## Bytebase vs Flyway, Liquibase+## Comparisons- [Bytebase vs Liquibase](https://www.bytebase.com/blog/bytebase-vs-liquibase/)- [Bytebase vs Flyway](https://www.bytebase.com/blog/bytebase-vs-flyway/)--Either Flyway or Liquibase is a library and CLI focusing on schema change. While Bytebase is an one-stop-solution covering the entire database development lifecycle for Developers and DBAs to collaborate through a GUI-based workspace.--Bytebase offers broad database support and provides a more comprehensive platform beyond schema migration, including features for security, governance, and observability. Many of our users tell us Bytebase is by far the best (and sometimes the only) database tool that can support their PostgreSQL and ClickHouse use cases, highlighting our robust tooling across various database systems.--[](https://star-history.com/#bytebase/bytebase&liquibase/liquibase&flyway/flyway&Date)--## Bytebase vs Yearning, Archery--Either Yearning or Archery provides a DBA operation portal. While Bytebase provides a collaboration-workspace for DBAs and Developers, and brings DevOps practice to the Database Change Management (DCM).-Bytebase has the similar `Project` concept seen in GitLab/GitHub and provides native GitOps integration-with GitLab/GitHub.--Another key difference is Yearning, Archery are open source projects maintained by the individuals part-time. While Bytebase is open-sourced, it adopts an open-core model and is a commercialized product, supported-by a [fully staffed team](https://www.bytebase.com/about#team) [releasing new version every 2 weeks](https://docs.bytebase.com/changelog).--[](https://star-history.com/#bytebase/bytebase&cookieY/Yearning&hhyo/Archery&Date)--## Bytebase vs Metabase--Metabase is a data visualization and business intelligence (BI) tool. It's built for data teams and business analysts to make sense of the data.--Bytebase is a database development platform. It's built for the developer teams to perform database operations during the application development lifecycle.--- [Bytebase vs Metabase](https://www.bytebase.com/blog/bytebase-vs-metabase/)--[](https://star-history.com/#bytebase/bytebase&metabase/metabase&Date)--## Bytebase vs CloudBeaver--Both have web-based SQL clients. Additionally, Bytebase offers review workflow, more collaboration and security features.--- [Bytebase vs CloudBeaver](https://www.bytebase.com/blog/bytebase-vs-cloudbeaver/)--[](https://star-history.com/#bytebase/bytebase&dbeaver/cloudbeaver&Date)--## Bytebase vs DBeaver / Navicat--SQL GUI Client such as MySQL Workbench, pgAdmin, DBeaver, Navicat provide a GUI to interact with the database. Bytebase not only provides a GUI client, it can also enforce centralized data access control for data security and governance.-+- [Bytebase vs Jira](https://www.bytebase.com/blog/use-jira-for-database-change/)- [Bytebase vs DBeaver](https://www.bytebase.com/blog/bytebase-vs-dbeaver/)- [Bytebase vs Navicat](https://www.bytebase.com/blog/bytebase-vs-navicat/)+- [Bytebase vs CloudBeaver](https://www.bytebase.com/blog/bytebase-vs-cloudbeaver/)-## Bytebase vs Jira--Jira is a general-purpose issue ticketing system. Bytebase is a database domain-specific change management system. Bytebase provides an integrated experience to plan, review, and deploy database changes.--- [Bytebase vs Jira](https://www.bytebase.com/blog/use-jira-for-database-change/)--# 👨👩👧👦 Community--[](https://discord.gg/huyw7gRsyA)--[](https://twitter.com/Bytebase)--<br />--# 🤔 Frequently Asked Questions (FAQs)--Check out our [FAQ](https://docs.bytebase.com/faq).--<br />+<a href="https://star-history.com/#bytebase/bytebase&liquibase/liquibase&flyway/flyway&dbeaver/cloudbeaver&Date">+ <img src="https://api.star-history.com/svg?repos=bytebase/bytebase,liquibase/liquibase,flyway/flyway,dbeaver/cloudbeaver&type=Date" alt="Star History Chart">+</a>-# 🙋 Contact Us+----- Interested in joining us? Check out our [jobs page](https://www.bytebase.com/jobs?source=github) for openings.-- Want to solve your schema change and database management headache? Book a [30min demo](https://cal.com/bytebase/product-walkthrough) with one of our product experts.+<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>\ No newline at end of file