Fiber is an Express inspired
web framework built on top of Fasthttp, the
fastest HTTP engine for Go. Designed to ease
things up for fast development with zero memory
allocation and performance in mind.
A curated list of awesome Fiber middlewares, boilerplates, recipes,
articles and tools.
List of middlewares that are included within the Fiber framework.
Adaptor
- Converter for net/http handlers to/from Fiber request handlers.
BasicAuth
- Basic auth middleware provides an HTTP basic authentication. It calls
the next handler for valid credentials and 401 Unauthorized for missing
or invalid credentials.
Encrypt
Cookie - Encrypt middleware which encrypts cookie values.
EnvVar
- Expose environment variables with providing an optional config.
ETag
- ETag middleware that lets caches be more efficient and save bandwidth,
as a web server does not need to resend a full response if the content
has not changed.
Expvar
- Expvar middleware that serves via its HTTP server runtime exposed
variants in the JSON format.
Favicon
- Ignore favicon from logs or serve from memory if a file path is
provided.
FileSystem
- FileSystem middleware for Fiber, special thanks and credits to Alireza
Salary.
Helmet
- Helps secure your apps by setting various HTTP headers.
Idempotency
- Idempotency middleware for Fiber allows for fault-tolerant APIs where
duplicate requests.
Keyauth
- Key auth middleware provides a key based authentication.
Limiter
- Rate-limiting middleware. Use to limit repeated requests to public
APIs and/or endpoints such as password reset.
Rewrite
- Rewrite middleware rewrites the URL path based on provided rules. It
can be helpful for backward compatibility or just creating cleaner and
more descriptive links.
mikhail-bigun/fiberlogrus
- A logger middleware that uses logrus and its structured logging
features.
Idan-Fishman/fiber-bind
- Request schema validator middleware that validates sources such as the
request body, query string parameters, route parameters and even form
files.
rodrigoodhin/fiper -
FiPer is a library that provides Fiber with Role Based Access Control
(RBAC) using JWT and with database persistence using two ORM libraries
are supported: Gorm and Bun.
zeiss/fiber-goth -
Simple middleware to integrate authentication to your Fiber
applications.
zeiss/fiber-authz
- A middleware to secure routes in Fiber with a defined RBAC model.
streamerd/fibergun - A
GunDB middleware for Fiber. Enables easy integration of GunDB, a
decentralized database.
apitally/apitally-go
- Simple API monitoring tool for Fiber. Tracks API usage, errors, and
performance, and includes request logging and alerting features.
newrelic/go-agent
- Official New Relic middleware for Fiber that manages instrumentation
for New Relic monitoring.
narmadaweb/limiter - A
high-performance Redis-backed rate limiter middleware for Fiber,
supporting fixed window, sliding window, and token bucket
algorithms.
narmadaweb/gonify
- Fiber Minifying middleware for HTML5, CSS3, JavaScript, Json, XML and
SVG.
GalvinGao/gofiber-template
- A production-ready, container-first opinionated gofiber project
template. Config by envvars, DI by go.uber.org/fx, Database by
uptrace/bun, with out-of-the-box MVC folder structure and CI/CD
support.
ingeniousambivert/fiber-bootstrapped
- A toolkit for Go projects embracing a service-centric architecture,
inspired by the principles of FeathersJS.
sebajax/go-vertical-slice-architecture
- Vertical Slice Architecture code archetype using Fiber and Uber dig. A
maintainable, and scalable code organization.
go-rat/fiber-skeleton
- Fiber skeleton to powers web projects, support wire-based dependency
injection.