fibr
A collection of helper packages for the Fiber web framework, plus fibr — a generator that scaffolds batteries-included Fiber projects.
Requires Go 1.26+. Targets Fiber v2 and Bun ORM (Postgres or SQLite).
Install
The library:
go get github.com/rahmadafandi/fibr
The project generator:
go install github.com/rahmadafandi/fibr/cmd/fibr@latest
Quickstart
Scaffold and run a new app:
fibr new myapp --module example.com/myapp --db sqlite --layout ddd
cd myapp
go run ./cmd/api migrate up # create tables
go run ./cmd/api # serve on :3000
Add features with flags — --auth, --auth-with-team, --queue, --mailer,
--sample. See the Generator guide.
Documentation
- Generator — all
fibroptions. - Packages — the helper packages.
- Full API reference: pkg.go.dev/github.com/rahmadafandi/fibr