shelf VS drogon

Compare shelf vs drogon and see what are their differences.


Web server middleware for Dart (by dart-lang)


Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to:] (by an-tao)
Our great sponsors
  • Zigi - Workflow assistant built for devs & their teams
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
shelf drogon
25 6
686 5,863
3.1% -
6.9 9.0
17 days ago over 1 year ago
Dart C++
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of shelf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-17.
  • Serverside Dart
    5 projects | | 17 Nov 2022
    In this blog, I will talk about the benchmarks of Flask (Python), Express (JavaScript), Shelf (Dart), dart_frog (Dart) and Conduit (Dart), and my opinions on Dart on the server side.
  • Server-side Dart
    4 projects | | 3 Oct 2022
    There was a time, I want to start a new project and have to choose what technologies to use for the frontend and backend parts as well. Research gets me to Aqueduct and Shelf, both of them weren't looking actively developing and supported and that leads me to the idea to make my own small micro-framework like Echo for Golang or Bottle for Python. And it was easy to decide: I've had time and motivation :)
  • Dart Frog
    6 projects | | 10 Sep 2022
    Dart Frog 🐾 es un framework web construido sobre Shelf inspirado por Next.JS, Remix y Express.
  • Are you using monorepos?
    9 projects | | 1 Jun 2022
    We are't using one of the frameworks for Dart on the backend (Conduit, Dart Frog) and instead built on top of shelf for both the projects we've used Dart on the backend for - one we went for a gRPC approach and the implemented a REST API.
  • Dart - From scratch to deploy 🚀
    4 projects | | 5 May 2022
  • Deployment of a Dart Server on Heroku
    3 projects | | 9 Apr 2022
    We also need a software service that we already built in the videos mentioned above. The service we want to deploy will use the shelf server from Dart hat we already run locally and make our first requests. But this will also work if you use a aqueduct server or a conduit server.
  • Examples of “beautiful” dart code
    7 projects | | 26 Mar 2022
    The shelf package has always looked very well-written to me. I like the way functions and function typedefs are preferred over classes, how it uses short and simple source files, and usages of streams for requests and responses. This package makes good use of language and SDK features that only work in Dart.
  • From Python to Dart - Day 2, Meet the dart CLI
    7 projects | | 7 Mar 2022
    | console-simple | A simple console application (basic template). | | ---------------- | -------------------------------------------------- ----- | | console-full | Console application with tests. | | package-simple | A starting point for Dart libraries or apps. | | server-shelf | Server based on shelf. | | web-simple | Web application with core libraries. |
  • Dart out of Flutter
    8 projects | | 14 Feb 2022
    You might want to look at shelf. The whole backend of runs on that.
  • Backend with Dart? Yes, you can!
    2 projects | | 9 Feb 2022 import 'package:shelf/shelf.dart'; import 'package:shelf/shelf_io.dart' as shelf_io; void main() async {  var handler =  const Pipeline().addMiddleware(logRequests()).addHandler(_echoRequest); var server = await shelf_io.serve(handler, 'localhost', 8080); // Enable content compression  server.autoCompress = true; print('Serving at http://${}:${server.port}'); } Response _echoRequest(Request request) =>  Response.ok('Request for "${request.url}"');


Posts with mentions or reviews of drogon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-08.

What are some alternatives?

When comparing shelf and drogon you can also consider the following projects:

Oat++ - đŸŒ±Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.

Crow - Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)

C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

lithium - Easy to use C++17 HTTP Server with no compromise on performances.

Pistache - A high-performance REST toolkit written in C++

Wt - Wt, C++ Web Toolkit

aqueduct - Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.

CppCMS - CppCMS Framework

FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project

TreeFrog Framework - TreeFrog Framework : High-speed C++ MVC Framework for Web Application

”WebSockets - Simple, secure & standards compliant web server for the most demanding of applications

jaguar - Jaguar, a server framework built for speed, simplicity and extensible. ORM, Session, Authentication & Authorization, OAuth