MacroExpress is a small, asynchronous web framework for Swift. It offers APIs modelled on Node.js and Express while retaining Swift’s type safety and compiled performance.
The framework builds on Macro and provides Connect-style middleware, HTTP routing, template rendering and utilities for handling common web application tasks.
This is free and open source software.
Key Features
- Asynchronous web application framework written in Swift.
- Express.js-inspired routing and application APIs.
- Connect-style middleware processing pipeline.
- Supports GET, POST and other HTTP route handlers.
- Serves static files from configured directories.
- Parses URL-encoded, JSON and raw request bodies.
- Includes cookie parsing and session handling.
- Provides request logging, CORS and HTTP method override middleware.
- Renders dynamic templates with Mustache.
- Supports multipart form data and file uploads through its Multer module.
- Includes MIME type detection and dotenv configuration modules.
- Distributed as modular Swift Package Manager libraries.
Website: github.com/Macro-swift/MacroExpress
Support:
Developer: Helge Heß / ZeeZide
License: Apache License 2.0
MacroExpress 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. |


Please read our Comment Policy before commenting.