awesome-fiber
by gofiber
✨ A curated list of awesome Fiber middlewares, boilerplates, recipes, articles and tools.
AI summary
Fiber toolkit
A curated collection of tools and resources for building web applications with Fiber framework.
- stars
- 552
- forks
- 36
- watching
- 11
- awesome lists
- 2
- entries
- 112
What's in the list
112 links in 10 sections, with live GitHub stats.activeno commit in 2y
⚙️ Middlewares / 🧬 Core
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
Cache
Intercept and cache responses
Compress
Compression middleware for Fiber, it supports , and by default
CORS
Enable cross-origin resource sharing (CORS) with various options
CSRF
Protect from CSRF exploits
Earlydata
Early data support for Fiber
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
Logger
HTTP request/response logger
Monitor
Monitor middleware that reports server metrics, inspired by express-status-monitor
Pprof
Pprof middleware that serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool
Proxy
Allows you to proxy requests to a multiple servers
Recover
Recover middleware recovers from panics anywhere in the stack chain and handles the control to the centralized ErrorHandler
Redirect
Redirect middleware for Fiber
RequestID
Adds a requestid to every request
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
Session
Session middleware. NOTE: This middleware uses our Storage package
Skip
Skip middleware that skips a wrapped handler is a predicate is true
Timeout
Adds a max time for a request and forwards to ErrorHandler if it is exceeded
⚙️ Middlewares / 🔗 External
⚙️ Middlewares / 💻 Contrib
casbin
Casbin middleware for Fiber
fiberi18n
Middleware for i18n support in Fiber
fibernewrelic
NewRelic middleware for Fiber. The middleware handles NewRelic insturmentation
fibersentry
Sentry support for Fiber
fiberzap
Zap logging support for Fiber
jwt
JWT returns a JSON Web Token (JWT) auth middleware
opafiber
Open Policy Agent middleware for Fiber. The middleware handles running Rego policies
otelfiber
OpenTelemetry support for Fiber
paseto
PASETO returns a Web Token (PASETO) auth middleware
swagger
Swagger middleware for Fiber. The middleware handles Swagger UI
websocket
Based on Fasthttp WebSocket for Fiber with Locals support!
⚙️ Middlewares / 🌱 Third Party
ansrivas/fiberprometheus
Prometheus middleware for gofiber
sacsand/gofiber-firebaseauth
Fiber Firebase Auth Middleware
aschenmaker/fiber-health-check
Health-check middleware support health-check for Fiber️ framework
elastic/apmfiber
APM Agent for Go Fiber
eozer/fiber_ldapauth
LDAP Authentication Middleware for Fiber
darkweak/souin
HTTP cache, RFC compliant, alternative to Varnish available as a middleware
witer33/fiberpow
Anti DDoS/Bot Middleware with a customizable Proof Of Work challenge
beyer-stefan/gofiber-minifier
Minifying middleware for HTML5, CSS3, and JavaScript
joffref/opa-middleware
Provides an OPA middleware integration for fiber
vladfr/fiber-servertiming
A middleware to add Server-Timing headers based on the W3C Server-Timing Spec
airbrake/gobrake
An Airbrake middleware that reports performance data (route stats)
samber/slog-fiber
A logger middleware that uses Go slog library
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
zeiss/fiber-htmx
A middleware for using HTMX in Fiber
jsorb84/ssefiber
A basic SSE Implementation for Fiber
streamerd/fibergun
A GunDB middleware for Fiber. Enables easy integration of GunDB, a decentralized database
🚧 Boilerplates
gofiber/boilerplate
Official fiber boilerplate
fiber-boilerplate
A boilerplate for the Fiber web framework
sujit-baniya/fiber-boilerplate
Boilerplate on the top of fiber web framework with many middlewares and features
sujit-baniya/goravel
Laravel similar boilerplate go Go with support for Gofiber or Gin
create-go-app/fiber-go-template
Fiber backend template for Create Go App CLI
efectn/fiber-boilerplate
Simple and scalable boilerplate to build powerful and organized REST projects with Fiber
embedmode/fiberseed
Fiber boilerplate api with many middlewares
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
mikhail-bigun/go-app-template
Clean architecture Go application boilerplate with enriched Fiber implementation
amrebada/go-modules
Nest JS like structure for Go Fiber
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
📁 Recipes
gofiber/recipes
Official Fiber cookbook
kiyonlin/fiblar-demo
Fiber v1 + angular demo
koddr/tutorial-go-fiber-rest-api
Tutorial for building a restful api with fiber
firebase007/go-rest-api-with-fiber
Demo project with fiber, logging, basicAuth and postgresql
chawk/go_fiber_quickstart
Fiber quick start example project
EricLau1/go-fiber-auth-api
Golang Authentication API with Fiber MongoDB and JWT
alpody/golang-fiber-realworld-example-app
Example real world backend API built with Fiber, Gorm, Swagger
🛠️ Tools
go-dawn/dawn
Dawn is an opinionated web framework that provides rapid development capabilities which on top of Fiber
tompston/gomakeme
Generate boilerplate + endpoints for Fiber or Gin REST APIs
ryanbekhen/feserve
Feserve is a lightweight application or docker image to serve frontend and load balancer applications
deepmap/oapi-codegen
Generate Go client and server boilerplate from OpenAPI 3 specifications
📖 Articles
📺 Videos
🤖 Benchmarks
- TechEmpower
Project provides performance measures across a wide field of web application frameworks
- web-frameworks-benchmark
Project aims to measure the differences between the various programming language frameworks
go-web-framework-benchmark
This benchmark suite aims to compare the performance of Go web frameworks
Nothing in this list matches your filter.
Featured in 2 awesome lists
Each link jumps to the spot where the list mentions awesome-fiber.
More related projects
arl/statsviz3.2K
melkeydev/go-blueprint6.1K
valyala/fasthttp22K
create-go-app/chi-go-template13
create-go-app/net_http-go-template50
create-go-app/cli2.6K
labstack/echo30.1K
sherifabdlnaby/configuro95
zhufuyi/sponge1.5K
go-nunu/nunu2K
samber/slog-formatter133
samber/slog-multi404
logur/logur204
avito-tech/go-transaction-manager240
gotestyourself/gotestsum2.1K