Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. nunu

nunu

MITGov1.1.3

A CLI tool for scaffolding and building production-ready Go applications with a layered architecture.

Visit WebsiteGitHubGitHub
2.6k stars206 forks0 contributors

What is nunu?

Nunu is a CLI tool for scaffolding and building production-ready Go applications. It provides a pre-configured project structure with a layered architecture, integrating popular libraries like Gin, Gorm, and Wire to help developers quickly bootstrap backend services without spending time on boilerplate setup.

Target Audience

Go developers and teams building web applications or microservices who want a standardized, maintainable project structure and accelerated development workflow.

Value Proposition

Developers choose Nunu because it combines best-of-breed Go libraries into a cohesive framework, reducing initial setup time and enforcing architectural best practices through its CLI-driven scaffolding and dependency injection.

Overview

A CLI tool for building Go applications.

Use Cases

Best For

  • Quickly bootstrapping new Go web applications
  • Teams adopting a standardized layered architecture for Go projects
  • Developers who want integrated libraries like Gin and Gorm without manual configuration
  • Projects requiring dependency injection with Wire
  • Building maintainable backend services with clear separation of concerns
  • Accelerating development with CLI-generated components

Not Ideal For

  • Projects requiring a minimal, unopinionated setup without the overhead of pre-integrated libraries like Gin and Gorm
  • Applications heavily reliant on non-SQL databases or alternative ORMs that don't align with Gorm's capabilities
  • Teams preferring architectural patterns like Domain-Driven Design or event-driven systems over the enforced layered architecture
  • Experiments or rapid prototypes where the full scaffolding and DI setup adds unnecessary complexity

Pros & Cons

Pros

Rapid Project Bootstrapping

The `nunu new` command generates a complete Go project with layered architecture, configuration, and essential files in seconds, as highlighted in the README for quick startup.

Integrated Popular Libraries

Pre-configured with battle-tested tools like Gin for HTTP, Gorm for ORM, and Wire for DI, reducing manual setup and ensuring a robust foundation out of the box.

Enforced Layered Architecture

Promotes maintainability with clear separation into handler, service, and repository layers, as shown in the directory structure, facilitating code organization and testing.

Development Convenience Features

Includes hot reloading via `nunu run` and CLI commands for generating components, accelerating iteration and reducing boilerplate coding effort.

Cons

Vendor Lock-in Risk

Heavily opinionated with specific libraries; swapping out core components like Gin or Gorm requires significant effort and may break the integrated setup, limiting flexibility.

Complexity in Customization

While modular, deviating from the prescribed architecture or adding non-standard features can be challenging due to tight integration and Wire-based dependency injection.

Learning Curve for Wire

Relies on Google Wire for DI, which has a steeper learning curve compared to simpler approaches, potentially slowing down developers unfamiliar with compile-time DI patterns.

Frequently Asked Questions

Quick Stats

Stars2,575
Forks206
Contributors0
Open Issues1
Last commit1 month ago
CreatedSince 2023

Tags

#productivity#scaffold#dependency-injection#ddd#cli-tool#project-structure#gorm#golang#gin#web-framework#backend#mcp-client#mcp-server#go#mcp#scaffolding

Built With

V
Viper
G
Go
G
GORM
W
Wire
G
Gin
Z
Zap
D
Docker

Links & Resources

Website

Included in

Go169.1k
Auto-fetched 1 day ago

Related Projects

project-layoutproject-layout

Standard Go Project Layout

Stars56,080
Forks5,443
Last commit1 month ago
go-blueprintgo-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework

Stars8,848
Forks486
Last commit1 month ago
serviceservice

Starter-kit for writing services in Go using Kubernetes.

Stars4,026
Forks723
Last commit13 days ago
pagodapagoda

Rapid, easy full-stack web development starter kit and admin panel in Go

Stars2,940
Forks150
Last commit5 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub