Skip to content

Commit e14a3d6

Browse files
committed
docs(zh): sync README.zh with English README (tagline, why section, support pitch)
1 parent 1f76ad5 commit e14a3d6

2 files changed

Lines changed: 37 additions & 15 deletions

File tree

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
English | [中文说明](README.zh.md)
44

5+
Free online SQL to JSON/Table converter – paste SQL, get JSON or HTML instantly.
6+
57
A lightweight web tool to convert SQL INSERT statements into JSON and a rendered HTML table. Supports multiple statements, schema inference from CREATE TABLE, inline validation, JSON previews, downloads, and more.
68

79
Note: This is a 100% client-side web app (pure HTML/JS). It requires no backend and works perfectly on GitHub Pages.
@@ -17,6 +19,22 @@ Note: This is a 100% client-side web app (pure HTML/JS). It requires no backend
1719

1820
- URL: https://snakewa.github.io/html5-sql-insert-tools/
1921

22+
## Why
23+
24+
- Zero setup: paste SQL, convert directly in the browser. No DB server required.
25+
- Multiple outputs: JSON for APIs, HTML tables for reports/dashboards.
26+
- Easy updates: generate UPDATE statements from selected rows for quick fixes.
27+
- Education-friendly: visualize how SQL maps to JSON/HTML.
28+
- Offline-ready: pure HTML5/JavaScript, runs anywhere, ideal for GitHub Pages.
29+
30+
## Support (Buy Me a Coffee)
31+
32+
Hi! I built this free tool to quickly turn SQL into JSON or HTML tables. If it saved you time, consider buying me a coffee—your support helps me improve and add features!
33+
34+
<a href="https://www.buymeacoffee.com/snakewa" target="_blank">
35+
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="48" width="173">
36+
</a>
37+
2038
## Features
2139

2240
- Robust parsing of `INSERT INTO ... VALUES (...), (...);` across multiple tables
@@ -112,11 +130,3 @@ Use the app locally without any server:
112130
## License
113131

114132
MIT
115-
116-
## Support
117-
118-
If this tool helps you, consider buying me a coffee ☕️
119-
120-
<a href="https://www.buymeacoffee.com/snakewa" target="_blank">
121-
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="48" width="173">
122-
</a>

README.zh.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[English README](README.md) | 中文说明
44

5+
免费在线 SQL 转 JSON/表格 转换器 —— 粘贴 SQL,立即得到 JSON 或 HTML。
6+
57
一个轻量级 Web 工具,用于将 SQL INSERT 语句转换为 JSON 与可视化 HTML 表格。支持多语句、从 CREATE TABLE 推断列名、内联校验、JSON 预览、下载等功能。
68

79
说明:本项目为 100% 纯前端(纯 HTML/JS),无需后端,适合 GitHub Pages 静态托管。
@@ -17,6 +19,22 @@
1719

1820
- 网址:<https://snakewa.github.io/html5-sql-insert-tools/>
1921

22+
## 为什么
23+
24+
- 零配置:直接在浏览器粘贴 SQL 并转换,无需数据库服务器。
25+
- 多种输出:面向 API 的 JSON,或用于报表/看板的 HTML 表格。
26+
- 快速更新:从所选行生成 UPDATE 语句,便于小范围修正数据。
27+
- 适合教学:直观展示 SQL 如何映射为 JSON/HTML。
28+
- 离线可用:纯 HTML5/JavaScript,适合 GitHub Pages,本地也能运行。
29+
30+
## 支持(Buy Me a Coffee)
31+
32+
我做这个免费工具是为了更快地把 SQL 转成 JSON 或 HTML 表格。如果它帮你节省了时间,欢迎请我喝杯咖啡,你的支持能帮助我继续改进与开发新功能!
33+
34+
<a href="https://www.buymeacoffee.com/snakewa" target="_blank">
35+
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="48" width="173">
36+
</a>
37+
2038
## 功能特点
2139

2240
- 可靠解析 `INSERT INTO ... VALUES (...), (...);`,支持多表多语句
@@ -113,10 +131,4 @@ INSERT INTO products VALUES
113131

114132
MIT
115133

116-
## 支持
117-
118-
如果这个工具对你有帮助,欢迎请我喝杯咖啡 ☕️
119-
120-
<a href="https://www.buymeacoffee.com/snakewa" target="_blank">
121-
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="48" width="173">
122-
</a>
134+

0 commit comments

Comments
 (0)