SkillAgentSearch skills...

Jzero

Automatically generate server and client framework code based on descriptive files (proto/api/sql), while using built-in jzero-skills to empower AI to generate production-ready business code adhering to best practices.

Install / Use

/learn @jzero-io/Jzero

README

jzero

Build Status GitHub release GitHub package version Endpoint Badge Ask DeepWiki

<p align="center"> <img align="center" width="150px" src="https://oss.jaronnie.com/jzero.svg"> <img align="center" width="300px" src="https://github.com/user-attachments/assets/44184df0-20ce-403d-ab38-74088915bc33"> </p>

English | 简体中文

Introduction

jzero is a framework developed based on the go-zero framework and go-zero/goctl tool. It can initialize api/gateway/rpc projects with a single command.

Automatically generate server and client framework code based on descriptive files (api/proto/sql). With built-in jzero-skills, AI can generate business logic code that follows best practices, reducing development cognitive load and freeing your hands!

Key features:

  • Flexible control of jzero configurations through configuration files/command-line arguments/environment variables, simple commands to generate code, AI-friendly
  • Support generating code based on git changed files, support generating code for specified descriptive files or ignoring specified descriptive files, improving code generation efficiency for large projects
  • Built-in common development templates with enhanced template features, support for custom templates, building exclusive enterprise internal code templates, greatly reducing development costs

For more details, please visit: https://docs.jzero.io

Design Philosophy

  • Developer Experience: Provide a simple, easy-to-use, production-ready solution to enhance developer experience
  • Template Driven: All code generation is based on template rendering, default generation follows best practices, and supports custom template content
  • Ecosystem Compatibility: Does not modify go-zero and go-zero/goctl, maintains ecosystem compatibility, while solving existing pain points and extending new features
  • Team Development: Team development friendly through module layering and plugin design
  • Interface Design: No dependency on specific databases/caches/configuration centers and other infrastructure, choose freely according to actual needs

For more details, please visit: https://docs.jzero.io

Quick Start

# Install jzero
go install github.com/jzero-io/jzero/cmd/jzero@latest
# One-click install required tools
jzero check
# One-click create project
jzero new your_project
cd your_project
# Download dependencies
go mod tidy
# Start server
go run main.go server
# Access swagger ui
http://localhost:8001/swagger

docker

# One-click create project
docker run --rm -v ${PWD}:/app ghcr.io/jzero-io/jzero:latest new your_project
cd your_project
# Download dependencies
go mod tidy
# Start server
go run main.go server
# Access swagger ui
http://localhost:8001/swagger

For more example code, please visit: https://github.com/jzero-io/examples

Ecosystem

  • jzero-intellij (jzero's goland plugin): https://github.com/jzero-io/jzero-intellij
  • jzero-admin (Admin system based on jzero): https://github.com/jzero-io/jzero-admin

For more ecosystem, please visit: https://docs.jzero.io/ecosystem/

Contributors

Contribute

<a href="https://openomy.app/github/jzero-io/jzero" target="_blank" style="display: block; width: 100%;" align="center"> <img src="https://openomy.app/svg?repo=jzero-io/jzero&chart=bubble&latestMonth=3" target="_blank" alt="Contribution Leaderboard" style="display: block; width: 100%;" /> </a>

Stargazers over time

Star History Chart

Disclaimer

jzero is released under the MIT License and is provided completely free of charge. The authors and contributors assume no liability for any direct or indirect consequences arising from the use of this software, including but not limited to performance degradation, data loss, service interruptions, or any other type of damage.

No Warranty: This software comes with no express or implied warranties, including but not limited to fitness for a particular purpose, non-infringement, merchantability, and reliability.

User Responsibility: By using this software, you understand and agree to assume all risks and responsibilities associated with its use.

View on GitHub
GitHub Stars174
CategoryData
Updated7d ago
Forks18

Languages

Go

Security Score

100/100

Audited on Mar 15, 2026

No findings