# liyupi/sql-generator

🔨 用 JSON 来生成结构化的 SQL 语句，基于 Vue3 + TypeScript + Vite + Ant Design + MonacoEditor 实现，项目简单（重逻辑轻页面）、适合练手~

Repository: https://github.com/liyupi/sql-generator
Canonical: https://ross.abutalabs.com/products/sql-generator
Homepage: http://sql.yupi.icu
Language: Vue
License: Apache-2.0
License Family: permissive
Topics: bigdata, hive, javascript, json, spark, sql, mysql, typescript, vite, vue, ant-design, monaco-editor, vue3
Last push: 2024-01-17T04:01:34+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1574, "days_push": 959, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3426, forks 691 (observed 2026-08-28T04:08:03.955042+00:00)

## What it is
A web application that generates structured, reusable SQL statements from JSON definitions, built with Vue3, TypeScript, Vite, Ant Design, and MonacoEditor. It lets users define SQL fragments as named rules with parameters, avoiding repetition in complex analytical SQL.

## Use cases
- generate complex SQL from JSON
- avoid repeating similar SQL subqueries
- write maintainable long analytical SQL for big data
- parameterize and reuse SQL fragments
- view SQL reference tree and substitution process
- use as a repeated code generator

## When to avoid
- you need simple one-off SQL queries
- you want a full SQL IDE or query execution engine - this only generates SQL text
- you need runtime SQL building inside an application rather than a manual authoring tool

## Facets
- artifact type: application
- maturity: maintenance
- function: developer-tools, data-science, etl, analytics
- domain: big-data, databases, developer-tools
- platform: -
- tags: sql-generator, json-to-sql, code-generation, monaco-editor, big-data-sql, sql-templates, data-engineering, web, vue, typescript, nodejs

## Member repositories
- liyupi/sql-generator (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:03.955042+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:53.068014+00:00, confidence not recorded.
  - readme: https://github.com/liyupi/sql-generator (fetched 2026-08-28T04:08:03.955042+00:00, sha 6c91fbd25abf)
  - homepage: http://sql.yupi.icu (fetched 2026-08-29T09:32:17.637071+00:00, sha 86cd0ad76e7e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
