Hummingbird is a lightweight, flexible server framework written in Swift.
Hummingbird consists of three main components, the core HTTP server, a minimal web application framework and the extension modules.
This is free and open source software.
The 3 components:
- HummingbirdCore – contains a Swift NIO based HTTP server.
- Hummingbird – lightweight and flexible web application framework that runs on top of HummingbirdCore. It is designed to require the minimum number of dependencies: swift-backtrace, swift-log, swift-nio, swift-nio-extras, swift-service-lifecycle and swift-metrics and makes no use of Foundation. It provides a router for directing different endpoints to their handlers, middleware for processing requests before they reach your handlers and processing the responses returned, support for adding channel handlers to extend the HTTP server, extending the core HBApplication, HBRequest and HBResponse classes and providing custom encoding/decoding of Codable objects.
- Extensions module – additional features are provided through extensions. The Hummingbird repository comes with a HummingbirdFoundation library that contains a number of features that can only really be implemented with the help of Foundation. This include JSON encoding/decoding, URLEncodedForms, static file serving, and cookies.
Website: github.com/hummingbird-project/hummingbird
Support:
Developer: Adam Fowler
License: Apache License 2.0
Hummingbird is written in Swift. Learn Swift with our recommended free books and free tutorials.
Related Software
| Swift Web Frameworks | |
|---|---|
| Vapor | Hugely popular server-side Swift HTTP web framework |
| SwiftNIO | Asynchronous event-driven network application framework |
| Kitura | Web framework and web server created for web services written in Swift |
| Hummingbird | Lightweight, flexible server framework |
| Perfect | Web server and toolkit. Development effectively ceased in 2016 |
| Chaqmoq | Non-blocking server-side web framework |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

