๐ Last week I launched Gofsen โ now comes gofsen-cli!
Last week, I launched Gofsen, a clean and minimal web API framework for Go.
As promised, today Iโm introducing gofsen-cli, a command-line tool that helps you go from idea ๐ก to a running API in under a minute.
Why the CLI?
Creating a new API project often requires a lot of boilerplate: main.go
, handlers, middleware, environment configsโฆ
With gofsen-cli, all of this is automated and ready to run.
Features
- Generate a new project with all necessary files
- Scaffold routes, middleware, and handlers in seconds
- Sensible defaults: logging, recovery, CORS
- Works cross-platform (Homebrew, APT, YUM, Go)
Quick Install
macOS / Linux (Homebrew)
brew tap Bakemono-san/homebrew-tap
brew install gofsen-cli
Ubuntu / Debian (APT)
curl -1sLf 'https://dl.cloudsmith.io/public/bakemono-san/gofsen/setup.deb.sh' | sudo -E bash
sudo apt update
sudo apt install gofsen-cli
RHEL / CentOS / Alma / Rocky (DNF / YUM)
curl -1sLf 'https://dl.cloudsmith.io/public/bakemono-san/gofsen/setup.rpm.sh' | sudo -E bash
sudo dnf install gofsen-cli
# or: sudo yum install gofsen-cli
Go (any OS)
go install github.com/Bakemono-san/gofsen/cmd/gofsen-cli@latest
ย Quickstart
gofsen-cli new # interactive project setup
gofsen-cli gen route users # CRUD routes
gofsen-cli gen middleware auth # middleware
gofsen-cli gen handler status # simple handler
gofsen-cli --version
Built with pride in Senegal ๐ธ๐ณ, for developers worldwide ๐.
Mission: make Go API development fast, simple, and maintainable.
๐ GitHub & Docs: https://github.com/Bakemono-san/gofsen
โฌ๏ธ Binaries / Releases: https://github.com/Bakemono-san/gofsen/releases
๐ฌ Your turn: What should gofsen-cli scaffold next? Comment below!
Top comments (0)