Keel is a Go framework for building REST APIs with modular architecture, automatic OpenAPI, and built-in validation.
- 🚀 Quick Project Scaffolding - Create new projects with best practices built-in
- 🧩 Module Generation - Generate controllers, services, repositories, and more
- 🔄 Live Reload - Built-in development server with hot reload
- ⚡ Fast & Lightweight - Written in Go, optimized for performance
- 📦 Auto-updates - Stay up-to-date with the latest features
# Homebrew (recommended)
brew tap slice-soft/tap
brew install slice-soft/tap/keel
# Or with Go install
go install github.com/slice-soft/keel@latestkeel new my-app
cd my-appkeel generate module usersThis creates:
users/module.go- Module definitionusers/controller.go- HTTP handlersusers/service.go- Business logicusers/repository.go- Data access layer
keel runCreate a new Keel project with the complete structure:
keel new my-apiGenerate different components:
# Generate a complete module
keel generate module posts
# Generate individual components
keel generate controller posts
keel generate service posts
keel generate repository posts
keel generate middleware auth
keel generate guard admin
keel generate dto create-user
keel generate crud productsStart the development server with live reload:
keel runUpgrade Keel CLI to the latest version:
keel upgradeShow the installed version:
keel versionmy-app/
├── main.go # Application entry point
├── go.mod # Go module definition
├── .env # Environment variables
├── air.toml # Live reload configuration
└── modules/
└── users/
├── module.go # Module registration
├── controller.go # HTTP handlers
├── service.go # Business logic
└── repository.go # Data layer
Keel projects use a keel.toml file for configuration:
[app]
name = "my-app"
version = "0.1.0"
[server]
port = 8080
host = "localhost"See CONTRIBUTING.md for setup and repository-specific rules. The base workflow, commit conventions, and community standards live in ss-community.
| Document | |
|---|---|
| CONTRIBUTING.md | Workflow, commit conventions, and PR guidelines |
| GOVERNANCE.md | Decision-making, roles, and release process |
| CODE_OF_CONDUCT.md | Community standards |
| VERSIONING.md | SemVer policy and breaking changes |
| SECURITY.md | How to report vulnerabilities |
| MAINTAINERS.md | Active maintainers |
MIT License - see LICENSE for details.
- Website: keel-go.dev
- GitHub: github.com/slice-soft/ss-keel-cli
- Documentation: docs.keel-go.dev
Made by SliceSoft — Colombia 💙