Topics / #middleware

Middleware projects on GitHub

Middleware layers in web servers and applications

As of , the most-starred Middleware projects on GitHub are gin (89.6K stars), express (69.7K stars) and fiber (40.4K stars). GitHub.Locker tracks 40 Middleware repositories with 894.7K stars combined. The fastest-growing on November 30 was express, with +44 stars in a day.

40Projects
894.7KStars in total
+236Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

40 projects · by stars

  1. #1 · gin-gonic/gin

    gin

    Gin is a high-performance HTTP web framework written in Go, used for building REST APIs, web applications, and microservices.

    89.6K
  2. #2 · expressjs/express

    express

    Express is a fast, unopinionated, minimalist web framework for Node.js, used for building HTTP servers, APIs, and web apps.

    69.7K
  3. #3 · gofiber/fiber

    fiber

    Fiber is an Express-inspired web framework for Go, built on top of the fasthttp engine, with fast development and high performance in mind.

    40.4K
  1. 4

    fastify

    37.5Kfastify/fastify · JavaScript

    Fastify is a fast, low-overhead web framework for Node.js used to build HTTP servers and APIs. It is inspired by Hapi and Express and ranks among the fastest web frameworks around.

  2. 5

    koa

    35.7Kkoajs/koa · JavaScript

    Koa is an expressive HTTP middleware framework for Node.js built on ES2017 async functions, designed to make writing web apps and APIs more enjoyable.

  3. 6

    remix

    33.5Kremix-run/remix · TypeScript

    Remix 3 is a full-stack web framework built directly on Web APIs (Streams, Fetch, Web Crypto) rather than bundler-specific abstractions, distributed as one umbrella 'remix' package made of many standalone JS/TS tools.

  4. 7

    go-zero

    33.4Kzeromicro/go-zero · Go

    go-zero is a cloud-native Go framework for building web and RPC microservices, packed with built-in engineering practices. It has been serving sites with tens of millions of users for years and is listed in the CNCF Landscape.

  5. 8

    hono

    33Khonojs/hono · TypeScript

    Hono (Japanese for 'flame' 🔥) is a small, simple, and ultrafast web framework built on Web Standards for the TypeScript and JavaScript ecosystem.

  6. 9

    echo

    32.8Klabstack/echo · Go

    Echo is a high performance, minimalist web framework for Go, used to build web apps, RESTful APIs and microservices.

  7. 10

    spring-cloud-alibaba

    29.2Kalibaba/spring-cloud-alibaba · Java

    A Spring Cloud toolkit from Alibaba: a one-stop set of components for building distributed Java applications on Alibaba middleware such as Nacos, Sentinel, RocketMQ and Seata.

  8. 11

    axum

    27.9Ktokio-rs/axum · Rust

    axum is an HTTP routing and request-handling library for Rust with a focus on ergonomics and modularity — the kind of crate you build web services and APIs with.

  9. 12

    iris

    25.6Kkataras/iris · Go

    Iris is an open-source web framework for Go for building websites and APIs. It bills itself as fast, fully featured and easy to learn, with MVC, sessions, websockets and lots of built-in middleware.

  10. 13

    anubis

    24.3KTecharoHQ/anubis · Go

    Anubis is a Web AI Firewall Utility that weighs the soul of incoming connections with challenges to protect upstream resources from AI scraper bots — built to defend the small internet from endless storms of AI-company requests.

  11. 14

    guzzle

    23.4Kguzzle/guzzle · PHP

    Guzzle is an extensible PHP HTTP client library that makes it easy to send HTTP requests and trivial to integrate with web services.

  12. 15

    chi

    23.2Kgo-chi/chi · Go

    chi is a lightweight, idiomatic and composable router for building Go HTTP services, aimed especially at large REST APIs that stay maintainable as the project grows and changes.

  13. 16

    sails

    22.8Kbalderdashy/sails · JavaScript

    Sails.js is a realtime MVC web framework for Node.js, designed to make it easy to build custom, enterprise-grade apps and APIs, with a structure inspired by Ruby on Rails.

  14. 17

    thingsboard

    22.7Kthingsboard/thingsboard · Java

    ThingsBoard is an open-source IoT platform for device management, data collection, processing, and visualization: connect devices, store their telemetry, and build dashboards on top.

  15. 18

    redux-saga

    22.4Kredux-saga/redux-saga · JavaScript

    It's a Redux middleware library for managing side effects — async work like data fetching or impure stuff like browser-cache access. Each saga is modelled as a separate thread in your app, solely responsible for those side effects.

  16. 19

    egg

    19Keggjs/egg · TypeScript

    Egg is a Node.js framework for building better enterprise frameworks and web apps, built on top of Koa. It has about 19,000 GitHub stars and ships documentation in English and Simplified Chinese.

  17. 20

    aiohttp

    16.6Kaio-libs/aiohttp · Python

    aiohttp is an asynchronous HTTP client and server framework built on asyncio: one Python package for making HTTP requests and for building web applications, with WebSockets supported out of the box.

  18. 21

    saas-starter

    16.3Knextjs/saas-starter · TypeScript

    A free, open-source starter template for building a SaaS web app on Next.js, maintained under the official Next.js org: authentication, Stripe payments, and a dashboard for logged-in users come already wired up.

  19. 22

    ktor

    14.6Kktorio/ktor · Kotlin

    Ktor is an asynchronous framework for creating microservices, web applications and more, written in Kotlin from the ground up.

  20. 23

    apollo-server

    14Kapollographql/apollo-server · TypeScript

    Apollo Server is an open-source, spec-compliant GraphQL server for Node.js that lets you build a production-ready, self-documenting GraphQL API from any data source, either standalone or plugged into frameworks like Express, Connect, Hapi, or Koa.

  21. 24

    whoops

    13.2Kfilp/whoops · PHP

    whoops is an error handler framework for PHP: when something breaks in your web project, it shows a pretty error page instead of a raw stack trace, built on a stacked error handling system.

  22. 25

    dio

    12.8Kcfug/dio · Dart

    dio is a powerful open-source HTTP client for Dart and Flutter, with around 12.8k GitHub stars. This repo is its base monorepo, holding the core package, its plugins and example apps.

  23. 26

    starlette

    12.7KKludex/starlette · Python

    Starlette is a lightweight ASGI framework and toolkit for building async web services in Python - small, production-ready, and with few hard dependencies.

  24. 27

    sinatra

    12.5Ksinatra/sinatra · Ruby

    Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort: you define HTTP routes in plain Ruby and get a working web app.

  25. 28

    Slim

    12.3Kslimphp/Slim · PHP

    Slim is a PHP micro-framework that helps you quickly write simple yet powerful web applications and APIs.

  26. 29

    autoware

    12.3Kautowarefoundation/autoware · Dockerfile

    Autoware is the world's leading open-source autonomous driving framework — a complete software stack for building self-driving vehicles.

  27. 30

    multer

    12.1Kexpressjs/multer · JavaScript

    Multer is a Node.js middleware for handling multipart/form-data, which is mainly used for uploading files in Express apps. It's built on top of busboy for efficiency.

  28. 31

    resty

    11.8Kgo-resty/resty · Go

    Resty is a simple HTTP, REST, and SSE client library for Go — you add it to your Go project to call web services.

  29. 32

    lua-nginx-module

    11.8Kopenresty/lua-nginx-module · C

    It embeds the Lua scripting language directly into NGINX, letting you handle HTTP requests with Lua code using directives like 'content_by_lua_block' instead of relying only on plain config or custom C modules.

  30. 33

    jwt-auth

    11.5Ktymondesigns/jwt-auth · PHP

    This package adds JSON Web Token (JWT) based authentication to Laravel and Lumen applications, so you can authenticate API users with tokens instead of server-side sessions.

  31. 34

    http-proxy-middleware

    11.1Kchimurai/http-proxy-middleware · TypeScript

    It is a Node.js middleware that creates an HTTP proxy with one line of code, letting you forward requests like /api to another host. It wraps the httpxy proxy engine and plugs into connect, express, next.js, hono, fastify and similar servers.

  32. 35

    helmet

    10.8Khelmetjs/helmet · TypeScript

    Helmet is a middleware for Node/Express apps that sets a collection of HTTP response headers to help secure your app against common web vulnerabilities.

  33. 36

    node-restify

    10.7Krestify/node-restify · JavaScript

    restify is a Node.js framework for building REST APIs using connect-style middleware.

  34. 37

    graphql

    10.1Kgraphql-go/graphql · Go

    An implementation of GraphQL in Go, following the official graphql-js reference implementation, with support for queries, mutations, and subscriptions.

  35. 38

    bifrost

    9.7Kmaximhq/bifrost · Go

    An open-source, high-performance AI gateway that unifies 23+ LLM providers behind a single OpenAI-compatible API, with automatic failover, load balancing, semantic caching, and budget controls built in.

    Deploy on Railway
  36. 39

    agentscope-java

    6.4Kagentscope-ai/agentscope-java · Java

    AgentScope Java 2.0 is a production-ready Java framework for building distributed, enterprise-grade AI agents that handle long-running, complex tasks safely, with built-in multi-agent orchestration, sandboxing, and human-in-the-loop control.

  37. 40

    wish

    5.6Kcharmbracelet/wish · Go

    Wish is a Go library for building SSH servers and apps, with sensible defaults and a set of middlewares for common tasks like serving Bubble Tea TUIs or Git repos over SSH.

Often tagged together