Express inspired web framework written in Go
E

Express inspired web framework written in Go

Express inspired web framework written in Go

39,911 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

Fiber: An Express-Inspired Web Framework for Go

If you've spent any time building web applications in Node.js, you've probably felt the comfort of Express. Its minimal, unopinionated approach makes routing and middleware a breeze. But what if you could bring that same developer experience to Go, a language known for its performance and concurrency? That's exactly what Fiber does.

Fiber is a web framework for Go that takes heavy inspiration from Express. It's built on top of Fasthttp, the fastest HTTP engine for Go, aiming to provide Express-like ease without sacrificing the raw speed that Go developers love. It's a fascinating bridge between two ecosystems.

What It Does

In short, Fiber provides a familiar, minimalist API for building web servers and applications in Go. If you know Express, you'll instantly recognize concepts like application instances, route definitions, middleware, and context objects for handling requests and responses. Under the hood, it leverages Fasthttp to handle the heavy lifting of network I/O, which gives it a significant performance advantage over frameworks using Go's standard net/http package.

Why It's Cool

The cool factor here isn't just about raw speed, though the benchmarks are impressive. It's about developer ergonomics and familiarity. Fiber allows developers who are proficient in Express to be productive in Go almost immediately. The mental model is the same.

Some of its standout features include:

  • Express-like API: Methods like app.Get(), app.Post(), app.Use(), and ctx.Send() will feel like home.
  • Performance: By building on Fasthttp, it achieves dramatically higher throughput than many other Go frameworks.
  • Low Memory Footprint: It's designed to be efficient with resources.
  • Robust Routing: Supports parameters, optional parameters, wildcards, and more.
  • Middleware Ready: Comes with and supports a wide variety of middleware for tasks like compression, logging, CORS, and rate limiting.
  • Template Support: Works seamlessly with various Go template engines.

It's a pragmatic choice for developers who want to transition to Go for performance-critical web services but don't want to climb a steep learning curve for the framework itself.

How to Try It

Getting started is straightforward. First, make sure you have Go installed (1.18 or later is recommended). Then, create a new directory for your project and initialize a module:

mkdir my-fiber-app && cd my-fiber-

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Dec 4, 2025