Skip to content

fibr

Release ci codecov Go Reference Go Report Card License: MIT

A collection of helper packages for the Fiber web framework, plus fibr — a generator that scaffolds batteries-included Fiber projects.

Requires Go 1.26.10+. Targets Fiber v3 and Bun ORM v1.3+ (Postgres or SQLite).

Install

The library:

go get github.com/rahmadafandi/fibr/v2

The project generator:

go install github.com/rahmadafandi/fibr/v2/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