{"id":13757690,"url":"https://github.com/jzero-io/jzero","last_synced_at":"2026-01-16T05:02:16.335Z","repository":{"id":231982136,"uuid":"783122421","full_name":"jzero-io/jzero","owner":"jzero-io","description":"扩展 go-zero 框架，能通过内置模板或自定义模板一键创建项目，并基于 proto/api/sql 等可描述文件生成服务端/客户端代码，开箱即用并高度可定制化.","archived":false,"fork":false,"pushed_at":"2026-01-13T09:56:14.000Z","size":29335,"stargazers_count":125,"open_issues_count":4,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-13T18:26:35.827Z","etag":null,"topics":["api","cloud-native","cobra","code-generation","go","go-zero","grpc","grpc-gateway","microservice","proto","sqlbuilder","validator"],"latest_commit_sha":null,"homepage":"https://docs.jzero.io","language":"Go","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/jzero-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-07T02:07:56.000Z","updated_at":"2026-01-13T02:02:20.000Z","dependencies_parsed_at":"2024-04-15T06:22:51.023Z","dependency_job_id":"fdd546bb-cf31-4684-9148-e17f2e8176d0","html_url":"https://github.com/jzero-io/jzero","commit_stats":null,"previous_names":["jaronnie/worktab","jaronnie/jzero","jzero-io/jzero"],"tags_count":239,"template":false,"template_full_name":null,"purl":"pkg:github/jzero-io/jzero","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzero-io%2Fjzero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzero-io%2Fjzero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzero-io%2Fjzero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzero-io%2Fjzero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jzero-io","download_url":"https://codeload.github.com/jzero-io/jzero/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzero-io%2Fjzero/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"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":["api","cloud-native","cobra","code-generation","go","go-zero","grpc","grpc-gateway","microservice","proto","sqlbuilder","validator"],"created_at":"2024-08-03T12:00:45.097Z","updated_at":"2026-01-16T05:02:16.323Z","avatar_url":"https://github.com/jzero-io.png","language":"Go","funding_links":[],"categories":["Libraries that use [go-zero](https://github.com/tal-tech/go-zero)","Go"],"sub_categories":[],"readme":"# jzero\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/jzero-io/jzero/ci.yaml?branch=main\u0026label=jzero-ci\u0026logo=github\u0026style=flat-square)](https://github.com/jzero-io/jzero/actions?query=workflow%3Ajzero-ci)\n[![GitHub release](https://img.shields.io/github/release/jzero-io/jzero.svg?style=flat-square)](https://github.com/jzero-io/jzero/releases/latest)\n[![GitHub package version](https://img.shields.io/github/v/release/jzero-io/jzero-action?include_prereleases\u0026sort=semver\u0026label=Jzero%20Action%20Version)](https://github.com/marketplace/actions/jzero-action)\n[![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fvercel.jaronnie.com%2Fapi%2Fv1%2Fshields%2Fgithub%2Fjzero-io%2Fjzero%2Fpkgs%2Fcontainer%2Fjzero%2Fdownloads\u0026label=image%20pulls)](https://vercel.jaronnie.com/api/v1/shields/github/jzero-io/jzero/pkgs/container/jzero/downloads)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/jzero-io/jzero)\n\n\u003cp align=\"center\"\u003e\n\u003cimg align=\"center\" width=\"150px\" src=\"https://oss.jaronnie.com/jzero.svg\"\u003e\n\u003c/p\u003e\n\n## 简介\n\n基于 [go-zero框架](https://github.com/zeromicro/go-zero) 以及 [go-zero/goctl工具](https://github.com/zeromicro/go-zero/tree/master/tools/goctl) 开发的 [jzero](https://github.com/jzero-io/jzero) 框架, 可一键初始化 api/gateway/rpc 项目, 并基于可描述文件(**api/proto/sql**)自动生成**服务端和客户端**代码, 降低开发心智, 解放双手!\n\n具备以下特点:\n\n* 支持通过**配置文件/命令行参数/环境变量**组合的方式灵活控制 jzero 的各项配置, 极简指令生成代码, ai 友好\n* 支持基于 **git 对改动文件**生成代码, 支持对**指定描述文件**生成代码或**忽略指定描述文件**生成代码, 提升大型项目代码生成效率\n* 内置常用开发模板并增强模板特性, 支持**自定义模板**, 构建专属企业内部代码模板, 极大降低开发成本\n\n更多详情请参阅：[https://docs.jzero.io](https://docs.jzero.io)\n\n## 设计理念\n\n* **开发体验**: 提供简单好用的一站式生产可用的解决方案, 提升开发体验感\n* **模板驱动**: 所有代码生成均基于模板渲染, 默认生成即最佳实践, 且支持自定义模板内容\n* **生态兼容**: 不修改 go-zero 和 go-zero/goctl, 保持生态兼容, 同时解决已有的痛点问题并扩展新的功能\n* **团队开发**: 通过模块**分层**, **插件**设计, 团队开发友好\n* **接口设计**: 不依赖特定数据库/缓存/配置中心等基础设施, 根据实际需求自由选择\n\n更多详情请参阅：https://docs.jzero.io\n\n## 快速开始\n\n```shell\n# 安装 jzero\ngo install github.com/jzero-io/jzero/cmd/jzero@latest\n# 一键安装所需的工具\njzero check\n# 一键创建项目\njzero new your_project\ncd your_project\n# 下载依赖\ngo mod tidy\n# 启动服务端程序\ngo run main.go server\n# 访问 swagger ui\nhttp://localhost:8001/swagger\n```\n\n### docker\n\n```shell\n# 一键创建项目\ndocker run --rm -v ${PWD}:/app ghcr.io/jzero-io/jzero:latest new your_project\ncd your_project \n# 下载依赖\ngo mod tidy\n# 启动服务端程序\ngo run main.go server\n# 访问 swagger ui\nhttp://localhost:8001/swagger\n```\n\n更多示例代码请参阅: https://github.com/jzero-io/examples\n\n## 生态\n\n* jzero-intellij(jzero 的 goland 插件): https://github.com/jzero-io/jzero-intellij\n* jzero-admin(基于 jzero 的后台管理系统): https://github.com/jzero-io/jzero-admin\n\n更多生态请查阅: [https://docs.jzero.io/ecosystem](https://docs.jzero.io/ecosystem)\n\n## 贡献者\n\n[贡献](https://docs.jzero.io/guide/contribute.html)\n\n\u003ca href=\"https://openomy.app/github/jzero-io/jzero\" target=\"_blank\" style=\"display: block; width: 100%;\" align=\"center\"\u003e\n  \u003cimg src=\"https://openomy.app/svg?repo=jzero-io/jzero\u0026chart=bubble\u0026latestMonth=3\" target=\"_blank\" alt=\"Contribution Leaderboard\" style=\"display: block; width: 100%;\" /\u003e\n\u003c/a\u003e\n\n## Stargazers over time\n\n[![Star History Chart](https://api.star-history.com/svg?repos=jzero-io/jzero\u0026type=Date)](https://star-history.com/#jzero-io/jzero\u0026Date)\n\n## 免责声明\n\njzero 基于 MIT License 发布，完全免费提供。作者及贡献者不对使用本软件所产生的任何直接或间接后果承担责任，包括但不限于性能下降、数据丢失、服务中断、或任何其他类型的损害。\n\n无任何保证：本软件不提供任何明示或暗示的保证，包括但不限于对特定用途的适用性、无侵权性、商用性及可靠性的保证。\n\n用户责任：使用本软件即表示您理解并同意承担由此产生的一切风险及责任。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzero-io%2Fjzero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjzero-io%2Fjzero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzero-io%2Fjzero/lists"}