[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3698":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":15,"starSnapshotCount":15,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},3698,"chartdb","chartdb\u002Fchartdb","Database diagrams editor that allows you to visualize and design your DB with a single query.","https:\u002F\u002Fchartdb.io",null,"TypeScript",22364,1416,80,115,0,11,43,208,47,44.45,"GNU Affero General Public License v3.0",false,"main",[25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"database","db","db-migration","editor","erd","mariadb","mssql","mysql","postgresql","react","react-flow","schema-migrations","sql","sqlite","typescript","visualization","xyflow","2026-06-12 02:00:52","\u003Ch1 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fchartdb.io#gh-light-mode-only\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fchartdb\u002Fchartdb\u002Fblob\u002Fmain\u002Fsrc\u002Fassets\u002Flogo-light.png\" width=\"400\" height=\"70\" alt=\"ChartDB\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fchartdb.io##gh-dark-mode-only\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fchartdb\u002Fchartdb\u002Fblob\u002Fmain\u002Fsrc\u002Fassets\u002Flogo-dark.png\" width=\"400\" height=\"70\" alt=\"ChartDB\">\n  \u003C\u002Fa>\n  \u003Cbr>\n\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cb>Open-source database diagrams editor\u003C\u002Fb> \u003Cbr \u002F>\n  \u003Cb>No installations • No Database password required.\u003C\u002Fb> \u003Cbr \u002F>\n\u003C\u002Fp>\n\n\u003Ch3 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FQeFwyWSKwC\">Community\u003C\u002Fa>  &bull;\n  \u003Ca href=\"https:\u002F\u002Fwww.chartdb.io?ref=github_readme\">Website\u003C\u002Fa>  &bull;\n  \u003Ca href=\"https:\u002F\u002Fchartdb.io\u002Ftemplates?ref=github_readme\">Examples\u003C\u002Fa>  &bull;\n  \u003Ca href=\"https:\u002F\u002Fapp.chartdb.io?ref=github_readme\">Demo\u003C\u002Fa>\n\u003C\u002Fh3>\n\n\u003Ch4 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fchartdb\u002Fchartdb?tab=AGPL-3.0-1-ov-file#readme\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fchartdb\u002Fchartdb?color=blue\" alt=\"ChartDB is released under the AGPL license.\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fchartdb\u002Fchartdb\u002Fblob\u002Fmain\u002FCONTRIBUTING.md\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-Welcome-brightgreen\" alt=\"PRs welcome!\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FQeFwyWSKwC\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1277047413705670678?color=5865F2&label=Discord&logo=discord&logoColor=white\" alt=\"Discord community channel\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fx.com\u002Fintent\u002Ffollow?screen_name=jonathanfishner\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fjonathanfishner?style=social\"\u002F>\n  \u003C\u002Fa>\n\n\u003C\u002Fh4>\n\n---\n\n\u003Cp align=\"center\">\n  \u003Cimg width='700px' src=\".\u002Fpublic\u002Fchartdb.png\">\n\u003C\u002Fp>\n\n### 🎉 ChartDB\n\nChartDB is a powerful, web-based database diagramming editor.\nInstantly visualize your database schema with a single **\"Smart Query.\"** Customize diagrams, export SQL scripts, and access all features—no account required. Experience seamless database design here.\n\n**What it does**:\n\n- **Instant Schema Import**\n  Run a single query to instantly retrieve your database schema as JSON. This makes it incredibly fast to visualize your database schema, whether for documentation, team discussions, or simply understanding your data better.\n\n- **AI-Powered Export for Easy Migration**\n  Our AI-driven export feature allows you to generate the DDL script in the dialect of your choice. Whether you're migrating from MySQL to PostgreSQL or from SQLite to MariaDB, ChartDB simplifies the process by providing the necessary scripts tailored to your target database.\n- **Interactive Editing**\n  Fine-tune your database schema using our intuitive editor. Easily make adjustments or annotations to better visualize complex structures.\n\n### Status\n\nChartDB is currently in Public Beta. Star and watch this repository to get notified of updates.\n\n### Supported Databases\n\n- ✅ PostgreSQL (\u003Cimg src=\".\u002Fsrc\u002Fassets\u002Fpostgresql_logo_2.png\" width=\"15\"\u002F> + \u003Cimg src=\".\u002Fsrc\u002Fassets\u002Fsupabase.png\" alt=\"Supabase\" width=\"15\"\u002F> + \u003Cimg src=\".\u002Fsrc\u002Fassets\u002Ftimescale.png\" alt=\"Timescale\" width=\"15\"\u002F> )\n- ✅ MySQL\n- ✅ SQL Server\n- ✅ MariaDB\n- ✅ SQLite (\u003Cimg src=\".\u002Fsrc\u002Fassets\u002Fsqlite_logo_2.png\" width=\"15\"\u002F> + \u003Cimg src=\".\u002Fsrc\u002Fassets\u002Fcloudflare_d1.png\" alt=\"Cloudflare D1\" width=\"15\"\u002F> Cloudflare D1)\n- ✅ CockroachDB\n- ✅ ClickHouse\n\n## Getting Started\n\nUse the [cloud version](https:\u002F\u002Fapp.chartdb.io?ref=github_readme_2) or deploy locally:\n\n### How To Use\n\n```bash\nnpm install\nnpm run dev\n```\n\n### Build\n\n```bash\nnpm install\nnpm run build\n```\n\nOr like this if you want to have AI capabilities:\n\n```bash\nnpm install\nVITE_OPENAI_API_KEY=\u003CYOUR_OPEN_AI_KEY> npm run build\n```\n\n### Run the Docker Container\n\n```bash\ndocker run -e OPENAI_API_KEY=\u003CYOUR_OPEN_AI_KEY> -p 8080:80 ghcr.io\u002Fchartdb\u002Fchartdb:latest\n```\n\n#### Build and Run locally\n\n```bash\ndocker build -t chartdb .\ndocker run -e OPENAI_API_KEY=\u003CYOUR_OPEN_AI_KEY> -p 8080:80 chartdb\n```\n\n#### Using Custom Inference Server\n\n```bash\n# Build\ndocker build \\\n  --build-arg VITE_OPENAI_API_ENDPOINT=\u003CYOUR_ENDPOINT> \\\n  --build-arg VITE_LLM_MODEL_NAME=\u003CYOUR_MODEL_NAME> \\\n  -t chartdb .\n\n# Run\ndocker run \\\n  -e OPENAI_API_ENDPOINT=\u003CYOUR_ENDPOINT> \\\n  -e LLM_MODEL_NAME=\u003CYOUR_MODEL_NAME> \\\n  -p 8080:80 chartdb\n```\n\n> **Privacy Note:** ChartDB includes privacy-focused analytics via Fathom Analytics. You can disable this by adding `-e DISABLE_ANALYTICS=true` to the run command or `--build-arg VITE_DISABLE_ANALYTICS=true` when building.\n\n> **Note:** You must configure either Option 1 (OpenAI API key) OR Option 2 (Custom endpoint and model name) for AI capabilities to work. Do not mix the two options.\n\nOpen your browser and navigate to `http:\u002F\u002Flocalhost:8080`.\n\nExample configuration for a local vLLM server:\n\n```bash\nVITE_OPENAI_API_ENDPOINT=http:\u002F\u002Flocalhost:8000\u002Fv1\nVITE_LLM_MODEL_NAME=Qwen\u002FQwen2.5-32B-Instruct-AWQ\n```\n\n## Try it on our website\n\n1. Go to [ChartDB.io](https:\u002F\u002Fchartdb.io?ref=github_readme_2)\n2. Click \"Go to app\"\n3. Choose the database that you are using.\n4. Take the magic query and run it in your database.\n5. Copy and paste the resulting JSON set into ChartDB.\n6. Enjoy Viewing & Editing!\n\n## 💚 Community & Support\n\n- [Discord](https:\u002F\u002Fdiscord.gg\u002FQeFwyWSKwC) (For live discussion with the community and the ChartDB team)\n- [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fchartdb\u002Fchartdb\u002Fissues) (For any bugs and errors you encounter using ChartDB)\n- [Twitter](https:\u002F\u002Fx.com\u002Fintent\u002Ffollow?screen_name=jonathanfishner) (Get news fast)\n\n## Contributing\n\nWe welcome community contributions, big or small, and are here to guide you along\nthe way. Message us in the [ChartDB Community Discord](https:\u002F\u002Fdiscord.gg\u002FQeFwyWSKwC).\n\nFor more information on how to contribute, please see our\n[Contributing Guide](\u002FCONTRIBUTING.md).\n\nThis project is released with a [Contributor Code of Conduct](\u002FCODE_OF_CONDUCT.md).\nBy participating in this project, you agree to follow its terms.\n\nThank you for helping us make ChartDB better for everyone :heart:.\n\n## License\n\nChartDB is licensed under the [GNU Affero General Public License v3.0](LICENSE)\n","ChartDB 是一个强大的基于Web的数据库图表编辑器，允许用户通过单一查询可视化和设计数据库。其核心功能包括即时模式导入、AI驱动的导出以及交互式编辑，支持多种数据库如PostgreSQL、MySQL、SQLite等。用户无需安装任何软件或提供数据库密码即可使用。此工具非常适合需要快速生成数据库文档、团队讨论或数据迁移的场景。",2,"2026-06-11 02:55:38","top_language"]