{"id":16423235,"url":"https://github.com/hailiang-wang/mysql-tables-design","last_synced_at":"2026-05-13T22:37:07.254Z","repository":{"id":72218524,"uuid":"583242074","full_name":"hailiang-wang/mysql-tables-design","owner":"hailiang-wang","description":"MySQL 数据库设计工具","archived":false,"fork":false,"pushed_at":"2023-06-27T02:00:35.000Z","size":261,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T23:04:44.727Z","etag":null,"topics":["dba","dicts","mysql","xmind"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hailiang-wang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-29T07:27:10.000Z","updated_at":"2024-08-25T07:57:47.000Z","dependencies_parsed_at":"2024-11-10T11:02:59.746Z","dependency_job_id":"b950a2cb-abf5-4d67-9c63-d9c69c3396ba","html_url":"https://github.com/hailiang-wang/mysql-tables-design","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hailiang-wang/mysql-tables-design","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hailiang-wang%2Fmysql-tables-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hailiang-wang%2Fmysql-tables-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hailiang-wang%2Fmysql-tables-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hailiang-wang%2Fmysql-tables-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hailiang-wang","download_url":"https://codeload.github.com/hailiang-wang/mysql-tables-design/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hailiang-wang%2Fmysql-tables-design/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33003026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dba","dicts","mysql","xmind"],"created_at":"2024-10-11T07:39:16.433Z","updated_at":"2026-05-13T22:37:07.232Z","avatar_url":"https://github.com/hailiang-wang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MySQL 数据库设计工具\n\n[mysql_tables_design](https://github.com/cskefu/mysql_tables_design)\n\n使用 MySQL 数据库管理工具维护数据库，比如 MySQL Workbench、Navicat 等，方便构思，但是不方便检查和供展示阅读。\n这时候，使用 HTML 的文本形式或 XMIND 的思维导图形式，可以很好的表现数据库表的设计。\n\n本开源项目提供面向这个目标的两个工具：\n\n* bin/parse-mysql-table-xmind.sh - 生成 XMIND 思维导图\n* bin/parse-mysql-table-dicts.sh - 生成春松客服数据库数据字典\n\n## 生成思维导图\n\n### Prerequisite\n\n* Python3+\n* pip\n\n### Generate\n\n```\ncp sample.env .env\n./bin/parse-mysql-table-xmind.sh\n```\n\n## 生成数据字典\n\n### Prerequisite\n\n* Php\n* pandoc\n\n### Generate\n\n```\ncp sample.env .env\n./bin/parse-mysql-table-dicts.sh\n```\n\n\n## Samples\n\n### 思维导图\n\n![](./assets/sceenshoot_20221229151904.png)\n\n### 数据字典\n\n![](./assets/sceenshoot_20221229151639.png)\n\n## License\n\nAll rights reserved, [Hai Liang W.](https://github.com/hailiang-wang)\n\nOpenSource License, [Apache 2.0](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhailiang-wang%2Fmysql-tables-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhailiang-wang%2Fmysql-tables-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhailiang-wang%2Fmysql-tables-design/lists"}