Awesome Go

Web Frameworks

100+ libraries in this category

Gin

Gin is a web framework written in Go! It features a martini-like API with much better performance, up to 40 times faster. If you need performance and good productivity

89,359Web FrameworksWeb Frameworks
Fiber

An Express.js inspired web framework build on Fasthttp

40,208Web FrameworksWeb Frameworks
Echo

High performance, minimalist Go web framework

32,769Web FrameworksWeb Frameworks
Beego

beego is an open-source, high-performance web framework for the Go programming language

32,423Web FrameworksWeb Frameworks
chi

Small, fast and expressive HTTP router built on net/context

22,953Web FrameworksRouters
mux

Powerful URL router and dispatcher for golang

21,833Web FrameworksRouters
GoFr

Gofr is an opinionated microservice development framework

20,856Web FrameworksWeb Frameworks
httprouter

High performance router. Use this and the standard http handlers to form a very high performance web framework

17,132Web FrameworksRouters
GoFrame

GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang

13,287Web FrameworksWeb Frameworks
Revel

High-productivity web framework for the Go language

13,212Web FrameworksWeb Frameworks
negroni

Idiomatic HTTP middleware for Golang

7,528Web FrameworksMiddlewares
Hertz

A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices

7,381Web FrameworksWeb Frameworks
Goa

Goa provides a holistic approach for developing remote APIs and microservices in Go

6,110Web FrameworksWeb Frameworks
goravel

A Laravel-inspired web framework with ORM, authentication, queue, task scheduling, and more built-in features

4,871Web FrameworksWeb Frameworks
Huma

Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI

4,458Web FrameworksWeb Frameworks
alice

Painless middleware chaining for Go

3,372Web FrameworksMiddlewares
CORS

Easily add CORS capabilities to your API

2,896Web FrameworksMiddlewares
Tollbooth

Rate limit HTTP request handler

2,849Web FrameworksMiddlewares
Limiter

Dead simple rate limit middleware for Go

2,344Web FrameworksMiddlewares
render

Go package for easily rendering JSON, XML, and HTML template responses

1,999Web FrameworksMiddlewares
Goyave

Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities

1,781Web FrameworksWeb Frameworks
Fuego

The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code

1,776Web FrameworksWeb Frameworks
shadcn-templ

Unofficial shadcn/ui port for Go and templ: accessible UI components with CLI and registry

1,760Web FrameworksWeb Frameworks
templui

Modern UI Components for Go & Templ

1,749Web FrameworksWeb Frameworks
gocraft/web

Mux and middleware package in Go

1,525Web FrameworksRouters
Atreugo

High performance and extensible micro web framework with zero memory allocations in hot paths

1,301Web FrameworksWeb Frameworks
Bone

Lightning Fast HTTP Multiplexer

1,283Web FrameworksRouters
REST Layer

Framework to build REST/GraphQL API on top of databases with mostly configuration over code.

1,256Web FrameworksFull stack web frameworks.
Goji

Goji is a minimalistic and flexible HTTP request multiplexer with support for `net/context`

974Web FrameworksRouters
fasthttprouter

High performance router forked from `httprouter`. The first router fit for `fasthttp`

869Web FrameworksRouters
Yokai

Simple, modular, and observable Go framework for backend applications

840Web FrameworksWeb Frameworks
iWF

iWF is an all-in-one platform for developing long-running business processes. It offers a convenient abstraction for utilizing databases, ElasticSearch, message queues, durable timers, and more, with a clean, simple, and user-friendly interface

663Web FrameworksWeb Frameworks
httptreemux

High-speed, flexible tree-based HTTP router for Go. Inspiration from httprouter

619Web FrameworksRouters
Flamingo Commerce

Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications

598Web FrameworksWeb Frameworks
stats

Go middleware that stores various information about your web application

594Web FrameworksMiddlewares
Fastschema

A flexible Go web framework and Headless CMS

575Web FrameworksWeb Frameworks
Aero

High-performance web framework for Go, reaches top scores in Lighthouse.

572Web FrameworksFull stack web frameworks.
rk-boot

A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily

568Web FrameworksWeb Frameworks
Flamingo

Framework for pluggable web projects. Including a concept for modules and offering features for DI, Configareas, i18n, template engines, graphql, observability, security, events, routing & reverse routing etc

561Web FrameworksWeb Frameworks
go-fault

Fault injection middleware for Go

556Web FrameworksMiddlewares
xujiajun/gorouter

A simple and fast HTTP router for Go

523Web FrameworksRouters
ozzo-routing

An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs

452Web FrameworksRouters
lars

Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks

384Web FrameworksRouters
uAdmin

Fully featured web framework for Golang, inspired by Django

356Web FrameworksWeb Frameworks
Siesta

Composable framework to write middleware and handlers

347Web FrameworksRouters
WebGo

A micro-framework to build web apps with handler chaining, middleware, and context injection. With standard library-compliant HTTP handlers (i.e., `http.HandlerFunc`).

309Web FrameworksWeb Frameworks
Ginrpc

Gin parameter automatic binding tool,gin rpc tools

304Web FrameworksWeb Frameworks
interpose

Minimalist net/http middleware for golang

291Web FrameworksMiddlewares
Golf

Golf is a fast, simple and lightweight micro-web framework for Go. It comes with powerful features and has no dependencies other than the Go Standard Library.

269Web FrameworksFull stack web frameworks.
vestigo

Performant, stand-alone, HTTP compliant URL Router for go web applications

265Web FrameworksRouters
renderer

Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go

261Web FrameworksMiddlewares
Andurel

Rails-inspired full-stack Go web framework with scaffolding, database tooling, and server-rendered or Inertia frontends

226Web FrameworksWeb Frameworks
muxchain

Lightweight middleware for net/http

205Web FrameworksMiddlewares
gowww/router

Lightning fast HTTP router fully compatible with the net/http.Handler interface

185Web FrameworksRouters
hiboot

hiboot is a high performance web application framework with auto configuration and dependency injection support

180Web FrameworksWeb Frameworks
ln-paywall

Go middleware for monetizing APIs on a per-request basis with the Lightning Network (Bitcoin)

157Web FrameworksMiddlewares
GoRouter

GoRouter is a Server/API micro framework, HTTP request router, multiplexer, mux that provides request router with middleware supporting `net/context`

153Web FrameworksRouters
pure

Is a lightweight HTTP router that sticks to the std "net/http" implementation

153Web FrameworksRouters
alien

Lightweight and fast http router from outer space

134Web FrameworksRouters
Gone

A lightweight dependency injection and web framework inspired by Spring

131Web FrameworksWeb Frameworks
patron

Patron is a microservice framework following best cloud practices with a focus on productivity

127Web FrameworksWeb Frameworks
Microservice

The framework for the creation of microservices, written in Golang

123Web FrameworksWeb Frameworks
doors

Server-driven framework for building stateful, reactive web applications entirely in Go

119Web FrameworksWeb Frameworks
violetear

Go HTTP router

107Web FrameworksRouters
gores

Go package that handles HTML, JSON, XML and etc. responses. Useful for RESTful APIs

106Web FrameworksMiddlewares
Bxog

Simple and fast HTTP router for Go. It works with routes of varying difficulty, length and nesting. And he knows how to create a URL from the received parameters

104Web FrameworksRouters
Barf

Basically, A Remarkable Framework for building JSON-based web APIs. It is entirely unobtrusive and re-invents no wheel. It is crafted such that getting started is easy and quick while being flexible enough for more complex use cases

103Web FrameworksWeb Frameworks
rux

Simple and fast web framework for build golang HTTP applications

101Web FrameworksWeb Frameworks
xmux

High performance muxer based on `httprouter` with `net/context` support

100Web FrameworksRouters
XFF

Handle `X-Forwarded-For` header and friends

99Web FrameworksMiddlewares
Xun

Web framework built on Go's built-in html/template and net/http package’s router. It is designed to be lightweight, fast, and easy to use while providing a simple and intuitive API for building web applications with advanced features such as middleware, routing, and template rendering

93Web FrameworksWeb Frameworks
mediary

add interceptors to `http.Client` to allow dumping/shaping/tracing/... of requests/responses

87Web FrameworksMiddlewares
rk-grpc

Middleware for gRPC with logging, metrics, auth, tracing etc

81Web FrameworksMiddlewares
goblin

A golang http router based on trie tree

81Web FrameworksRouters
ngamux

Simple HTTP router for Go

71Web FrameworksRouters
YARF

Fast micro-framework designed to build REST APIs and web services in a fast and simple way.

67Web FrameworksFull stack web frameworks.
chain

Handler wrapper chaining with scoped data (net/context-based "middleware")

61Web FrameworksMiddlewares
Fireball

More "natural" feeling web framework.

60Web FrameworksFull stack web frameworks.
Don

A highly performant and simple to use API framework

60Web FrameworksWeb Frameworks
bellt

A simple Go HTTP router

55Web FrameworksRouters
rk-gin

Middleware for Gin framework with logging, metrics, auth, tracing etc

51Web FrameworksMiddlewares
httpsuite

HTTP request parsing and RFC 9457 problem responses for Go, with a stdlib-only core and optional validation

43Web FrameworksWeb Frameworks
formjson

Transparently handle JSON input as a standard form POST

38Web FrameworksMiddlewares
Ronykit

Web framework with pluggable architecture and very performant

38Web FrameworksWeb Frameworks
Resoursea

REST framework for quickly writing resource based services.

35Web FrameworksFull stack web frameworks.
go-api-boot

A gRpc-first micro-service framework. Features include ODM support for Mongo, cloud resource support (AWS/Azure/Google), and a fluent dependency injection which is customized for gRpc. Additionally, grpc-web is supported directly, enabling browser access to all gRpc APIs without a proxy

35Web FrameworksWeb Frameworks
Lit

Highly performant declarative web framework for Golang, aiming for simplicity and quality of life

28Web FrameworksWeb Frameworks
client-timing

An HTTP client for Server-Timing header

25Web FrameworksMiddlewares
FastRouter

a fast, flexible HTTP router written in Go

25Web FrameworksRouters
Goshtoso

Server-rendered UI components for Go applications, built with templ, Tailwind CSS, HTMX, and Alpine.js

24Web FrameworksWeb Frameworks
GoLobby/Router

GoLobby Router is a lightweight yet powerful HTTP router for the Go programming language

22Web FrameworksRouters
nchi

chi-like router built on httprouter with dependency injection based middleware wrappers

18Web FrameworksRouters
echo-middleware

Middleware for Echo framework with logging and metrics

16Web FrameworksMiddlewares
fursy

HTTP router with type-safe generic handlers, automatic OpenAPI 3.1 generation from code, and RFC 9457 error responses

14Web FrameworksRouters
Fox

A high-performance HTTP router for building reverse proxies and API gateways, with first-class support for mutating routes at runtime

14Web FrameworksRouters
mid

Miscellaneous HTTP middleware features: idiomatic error return from handlers; receive/respond with JSON data; request tracing; and more

11Web FrameworksMiddlewares
catena

http.Handler wrapper catenation (same API as "chain")

9Web FrameworksMiddlewares
goroute

Simple yet powerful HTTP request multiplexer

9Web FrameworksRouters
NotNet

A lightweight Go framework for building fast, ergonomic RESTful APIs with middleware and flexible routing

8Web FrameworksWeb Frameworks
apitally

API monitoring and analytics middleware with metrics, logging, and alerts. Works with Chi, Echo, Fiber, and Gin

8Web FrameworksMiddlewares