Nunu is a Go-based CLI scaffolding tool that helps build Go applications by generating project structures, components, and runs with hot-reload. It integrates multiple libraries and provides commands for project creation, component generation, and running the project.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Nunu is a CLI tool for building Go applications. It is described as a scaffolding tool that encapsulates popular libraries to help quickly build Go applications and provides commands to create projects and components, run projects, and generate dependencies.
How it works
Nunu offers commands:
- go install github.com/go-nunu/nunu@latest to install
- nunu new projectName to create a new Go project (with options to use alternative templates via -r)
- nunu create handler|service|repository|model or nunu create all to generate components like UserHandler, UserService, UserRepository, UserModel
- nunu run to start the project with hot-reloading
- nunu wire to compile wire.go It documents a layered architecture and use of dependency injection via Wire, and lists included libraries such as Gin, Gorm, Wire, Viper, Zap, and others.
Getting started
Installation: "go install github.com/go-nunu/nunu@latest". Create a new project: "nunu new projectName". Optional templates:
- "nunu new projectName -r https://gitee.com/go-nunu/nunu-layout-basic.git"
- "nunu new projectName -r https://gitee.com/go-nunu/nunu-layout-advanced.git"
- "nunu new projectName -r https://github.com/go-nunu/nunu-layout-monorepo.git" Create components:
- "nunu create handler user"
- "nunu create service user"
- "nunu create repository user"
- "nunu create model user" or: "nunu create all user". Run the project: "nunu run". Compile wire.go: "nunu wire".
Recent releases
- v1.1.3 (2025-08-11): feat: add --buildFlags; example usage shown:
nunu upgrade
nunu -v
- v1.1.2 (2025-06-14): feat: add mcp server; usage shown:
nunu upgrade
nunu -v
- v1.1.1 (2025-03-24): feat: add the admin panel; usage shown:
nunu upgrade
nunu -v
- v1.1.0 (2024-05-11): Supports Websocket/TCP
- v1.0.16 (2024-04-12):
Traction
The repository has 2593 stars and 204 forks. It shows 2 open issues.
Behind the repo
Not provided in the README facts section beyond general documentation and monorepo references.
Caveats
License: MIT. Requirements include Go 1.19 or higher, Git, Docker (optional), MySQL 5.7 or higher (optional), Redis (optional).






