swift-http alternatives and similar libraries
Based on the "Server" category.
Alternatively, view swift-http alternatives based on common mentions on social networks and blogs.
Vapor10.0 6.1 L4 swift-http VS Vapor💧 A server-side Swift HTTP web framework.
Perfect9.9 0.0 L3 swift-http VS PerfectServer-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)
GCDWebServer9.7 0.0 swift-http VS GCDWebServerThe #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)
Kitura9.7 0.0 L1 swift-http VS KituraA Swift web framework and HTTP server.
CocoaHTTPServer9.6 0.0 L1 swift-http VS CocoaHTTPServerA small, lightweight, embeddable HTTP server for Mac OS X or iOS applications
Swifter9.1 0.0 L1 swift-http VS SwifterTiny http server engine written in Swift programming language.
Swifton8.2 0.0 L5 swift-http VS SwiftonA Ruby on Rails inspired Web Framework for Swift that runs on Linux and OS X
Zewo8.1 0.0 L5 swift-http VS ZewoLightweight library for web server applications in Swift on macOS and Linux powered by coroutines.
smoke-framework7.5 3.8 swift-http VS smoke-frameworkA light-weight server-side service framework written in the Swift programming language.
Taylor7.0 0.0 L2 swift-http VS TaylorA lightweight library for writing HTTP web servers with Swift
Express6.7 0.0 L4 swift-http VS ExpressSwift Express is a simple, yet unopinionated web application server written in Swift
blackfish6.7 0.0 L5 swift-http VS blackfishA minimal, fast and unopinionated web framework for Swift
Embassy5.8 0.0 L3 swift-http VS EmbassySuper lightweight async HTTP server library in pure Swift runs in iOS / MacOS / Linux
Redbird5.4 0.0 L5 swift-http VS RedbirdVapor provider for RediStack
SwiftGD5.3 0.0 L5 swift-http VS SwiftGDA simple Swift wrapper for libgd
Curassow4.9 0.0 L2 swift-http VS CurassowSwift HTTP server using the pre-fork worker model
Frank4.6 0.0 L4 swift-http VS FrankFrank is a DSL for quickly writing web applications in Swift
Edge4.3 0.0 L3 swift-http VS EdgeA Swift Multiplatform Single-threaded Non-blocking Web and Networking Framework
Noze.io4.2 1.9 L2 swift-http VS Noze.ioEvented I/O streams for Swift
Jobs4.2 0.0 L5 swift-http VS JobsA job system for Swift backends.
swiftra3.9 0.0 L5 swift-http VS swiftraSinatra-like DSL for developing web apps in Swift
mod_swift3.1 1.1 L2 swift-http VS mod_swiftReliable Server Side Swift ✭ Make Apache great again!
Aeon1.9 0.0 L5 swift-http VS Aeon[Deprecated]
Dynamo1.9 0.0 L1 swift-http VS DynamoHigh Performance (nearly)100% Swift Web server supporting dynamic content.
Trevi1.6 0.0 L2 swift-http VS Trevilibuv base Swift web HTTP server framework
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of swift-http or a related project?
Swift HTTP Server
Simple HTTP implementation for Swift using POSIX socket API. Running on Mac OS X and Linux.
For Mac users: You can install new Swift compiler following this instruction then you will be able to build the code directly on your Xcode.
Run the following command to compile the source:
After successfully compile, run the server with:
Now, go to http://localhost:8080 to test, the response should be:
Setting up Docker container from Dockerfile
docker folder and run
build.sh to build
cd docker ./build.sh
Run new container from
swiftbox image, mount your working directory and expose the port:
docker run -it -p 8080:8080 -v /path/to/your/host/working/folder:/src swiftbox
Now you can go to
/src folder, which linked to your
/path/to/your/host/working/folder to start using:
cd /src swift build
Setting up Docker container for Swift yourself
ubuntu container, don't forget to expose port
8080 or whatever you want, to test the HTTP server
docker run -it -p 8080:8080 -v /path/to/your/host/working/folder:/src ubuntu
When you're in the new created
ubuntu container, install some dependencies with
apt-get update && apt-get install wget build-essential clang rsync libpython-all-dev libedit-dev libicu52 libxml2-dev
Now, download the latest Swift release for Linux:
Extract the downloaded
tar xzf swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04.tar.gz
rsync to move all the packages to your
rsync -a -v swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04/usr/ /usr
You can delete the downloaded files (optional):
rm -rf swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04*
Now, you have Swift installed, test it with the following command:
The source code is published under MIT license. Please see [
LICENSE.md](LICENSE.md) for more detail.
*Note that all licence references and agreements mentioned in the swift-http README section above are relevant to that project's source code only.