{"id":25457569,"url":"https://github.com/shilohooo/arale-codegen","last_synced_at":"2026-05-02T02:33:26.292Z","repository":{"id":275735744,"uuid":"927023093","full_name":"shilohooo/arale-codegen","owner":"shilohooo","description":"🛠️ A Code Generator for Reducing Duplication of Work in Development:)","archived":false,"fork":false,"pushed_at":"2025-02-11T14:24:51.000Z","size":571,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T15:29:50.239Z","etag":null,"topics":["asp-net-core","codegen","codegenerator","quasar","vue3"],"latest_commit_sha":null,"homepage":"https://shiloh595.top/arale-codegen-ui/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shilohooo.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":"2025-02-04T09:19:51.000Z","updated_at":"2025-02-11T14:24:55.000Z","dependencies_parsed_at":"2025-02-04T10:37:42.462Z","dependency_job_id":null,"html_url":"https://github.com/shilohooo/arale-codegen","commit_stats":null,"previous_names":["shilohooo/arale-codegen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilohooo%2Farale-codegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilohooo%2Farale-codegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilohooo%2Farale-codegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilohooo%2Farale-codegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shilohooo","download_url":"https://codeload.github.com/shilohooo/arale-codegen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239394712,"owners_count":19631122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["asp-net-core","codegen","codegenerator","quasar","vue3"],"created_at":"2025-02-18T02:17:50.722Z","updated_at":"2026-05-02T02:33:26.280Z","avatar_url":"https://github.com/shilohooo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arale CodeGen\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./project-logo.png\" alt=\"project-logo\" /\u003e\n\u003c/div\u003e\n\n[Arale CodeGen](https://shiloh595.top/arale-codegen-ui/) is a code generation tool that can read SQL DDL or JSON\nObject/Array to generate the specified code.\n\nThe goal of this project is to reduce duplication of work in CRUD, such as writing entity code based on the table\nstructure, or write the corresponding DTO code based on the structure of the JSON object.\n\n## 🚀 Features\n\n- [Read the SQL DDL](https://shiloh595.top/arale-codegen-ui/#/sql-convert/sql-to-entity) / JSON to generate entity of\n  ORM / persistence framework, such\n  as [Hibernate](https://hibernate.org/orm/), [Entity Framework Core](https://docs.microsoft.com/ef/),\n  [SqlSugar](https://www.donet5.com/home/doc), [MyBatisPlus](https://baomidou.com/)\n- [Read the SQL DDL](https://shiloh595.top/arale-codegen-ui/#/sql-convert/sql-to-class) / [JSON](https://shiloh595.top/arale-codegen-ui/#/json-convert/json-to-class)\n  to generate class,\n  record, struct\n  for [Java](https://openjdk.org/), [C#](https://learn.microsoft.com/en-us/dotnet/csharp/).\n- [Read the JSON](https://shiloh595.top/arale-codegen-ui/#/json-convert/json-to-ts) to generate type /\n  interface for [TypeScript](https://www.typescriptlang.org/).\n- [Read the JSON](https://shiloh595.top/arale-codegen-ui/#/json-convert/json-to-js) to generate object\n  for [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript).\n- [JSON object property naming style](https://shiloh595.top/arale-codegen-ui/#/json-convert/json-property-case)\n  conversion (camelCase, snake_case, PascalCase, kebab-case).\n- [Convert URL query string to TS](https://shiloh595.top/arale-codegen-ui/#/query-str-convert/query-str-to-ts) type\n  alias or interface\n- [Convert URL query string to JS](https://shiloh595.top/arale-codegen-ui/#/query-str-convert/query-str-to-js) object\n  literal\n- [Convert JSON object or array to JSDoc comment](https://shiloh595.top/arale-codegen-ui/#/json-convert/json-to-jsdoc)\n- [Convert JSON object or array to entity](https://shiloh595.top/arale-codegen-ui/#/json-convert/json-to-entity) of\n  ORM / persistence framework, such\n  as [Spring Data MongoDB](https://spring.io/projects/spring-data-mongodb), [MongoDB C# Driver](https://www.mongodb.com/docs/drivers/csharp/current/)\n\n\u003e [!NOTE]\n\u003e Only the following databases are supported\n\n- [SQL Server](https://learn.microsoft.com/en-us/sql/?view=sql-server-ver16)\n- [MySQL](https://www.mysql.com/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [SQLite](https://www.sqlite.org/)\n\n## 🪄 Credits\n\nThe logo has been designed by [Free Logo Design](https://www.freelogodesign.org/).\n\n## 💻 Stack\n\n### Backend\n\n| Name                   | Version       | Documentation                                                        | Remark                   |\n|------------------------|---------------|----------------------------------------------------------------------|--------------------------|\n| C#                     | 12            | \u003chttps://learn.microsoft.com/en-us/dotnet/csharp/\u003e                   | Language                 |\n| SqlParser-cs           | 0.6.2         | \u003chttps://github.com/TylerBrinks/SqlParser-cs\u003e                        | SQL Parser               |\n| Scriban                | 5.12.1        | \u003chttps://github.com/scriban/scriban\u003e                                 | Template Engine          |\n| Pluralize.NET          | 1.0.2         | \u003chttps://github.com/sarathkcm/Pluralize.NET\u003e                         |                          |\n| ASP.NET Core (Web API) | .NET 8.0      | \u003chttps://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-8.0\u003e | Web Framework            |\n| Npgsql                 | 9.0.2         | \u003chttps://www.npgsql.org/\u003e                                            | PostgreSQL Data Provider |\n| Humanizr               | 3.0.0-beta.54 | \u003chttps://github.com/Humanizr/Humanizer\u003e                              | Change naming style      |\n| xUnit.net              | 2.5.3         | \u003chttps://xunit.net/\u003e                                                 | Unit Tests               |\n\n### Frontend\n\n| Name                 | Version | Documentation                                         | Remark                                                                                |\n|----------------------|---------|-------------------------------------------------------|---------------------------------------------------------------------------------------|\n| NodeJS               | 20.11.1 | \u003chttps://nodejs.org\u003e                                  |                                                                                       |\n| PNPM                 | 8.5.13  | \u003chttps://pnpm.io/\u003e                                    | Package Manager                                                                       |\n| TypeScript           | 5.4     | \u003chttps://www.typescriptlang.org/docs/\u003e                |                                                                                       |\n| Vue                  | 3.4.27  | \u003chttps://vuejs.org/\u003e                                  |                                                                                       |\n| Quasar               | 2.16.0  | \u003chttps://quasar.dev/docs\u003e                             | UI Framework                                                                          |\n| JsonToTs             | 2.1.0   | \u003chttps://github.com/MariusAlch/json-to-ts\u003e            | JSON to TypeScript                                                                    |\n| UnpluginAutoImport   | 0.18.2  | \u003chttps://github.com/unplugin/unplugin-auto-import\u003e    |                                                                                       |\n| Monaco Vue           | v1.5.4  | \u003chttps://github.com/imguolao/monaco-vue\u003e              | Code Editor                                                                           |\n| sql-formatter        | 15.5.1  | \u003chttps://github.com/sql-formatter-org/sql-formatter\u003e  |                                                                                       |\n| debounce             | 2.2.0   | \u003chttps://github.com/sindresorhus/debounce\u003e            | Delay function                                                                        |\n| javascript-stringify | 2.1.0   | \u003chttps://github.com/blakeembrey/javascript-stringify\u003e | JSON to JS object literal                                                             |\n| json-case-converter  | 1.4.4   | \u003chttps://github.com/MIRTAHAALI/json-case-convertor\u003e   | JSON property case converter                                                          |\n| qs                   | 6.14.0  | \u003chttps://github.com/ljharb/qs\u003e                        | Query String Parser                                                                   |\n| json-to-jsdoc        | 1.0.3   | \u003chttps://github.com/shilohooo/json-to-jsdoc\u003e          |                                                                                       |\n| nanoid               | ^5.1.5  | \u003chttps://github.com/ai/nanoid\u003e                        | Unique ID generator, used to ensure that the model uri of the monaco editor is unique |\n\nAll the menu icons are from https://pictogrammers.com/library/mdi/\n\n### Deployment\n\n| Name           | Version | Documentation                         | Remark |\n|----------------|---------|---------------------------------------|--------|\n| GitHub Actions |         | \u003chttps://github.com/features/actions\u003e | CI/CD  |\n| Nginx          | 1.26.0  | \u003chttps://nginx.org/en/docs/\u003e          |        |\n| Docker         | 27.1    | \u003chttps://docs.docker.com/manuals/\u003e    |        |\n\n## 📖 References\n\n- [C# \u0026 SQL Server Data Type Mapping](https://learn.microsoft.com/zh-cn/sql/language-extensions/how-to/c-sharp-to-sql-data-types?view=sql-server-ver16)\n- [C# \u0026 MySQL Data Type Mapping](https://zontroy.com/mysql-to-csharp-type-mapping)\n- [C# \u0026 SQLite Data Type Mapping](https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/types)\n- [C# \u0026 PostgreSQL Data Type Mapping](https://zontroy.com/postgresql-to-csharp-type-mapping)\n- [Java \u0026 SQL Server Data Type Mapping](https://learn.microsoft.com/en-us/sql/language-extensions/how-to/java-to-sql-data-types?view=sql-server-ver16)\n- [Java \u0026 MySQL Data Type Mapping](https://dev.mysql.com/doc/connector-j/en/connector-j-reference-type-conversions.html)\n- [Java \u0026 PostgreSQL Data Type Mapping](https://zontroy.com/postgresql-to-java-type-mapping)\n- [A polyglot web converter](https://github.com/ritz078/transform)\n\n## 📝 Changelog\n\n[CHANGELOG.md](./CHANGELOG.md)\n\n## 💪 Contributors\n\n|                                             Shiloh                                              |\n|:-----------------------------------------------------------------------------------------------:|\n| [![Shiloh](https://avatars.githubusercontent.com/u/46670399?v=4)](https://github.com/shilohooo) |\n\n## 🔖 License\n\nCopyright © 2025-present Shiloh\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshilohooo%2Farale-codegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshilohooo%2Farale-codegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshilohooo%2Farale-codegen/lists"}