A curated list of awesome Server Side Swift 3 projects.
Interested in contributing? Please see the Contributing section below. Please note that components targeting iOS projects will not be considered unless there is a clear use case for a server side implementation. Projects must also be SPM modules that can be included as dependancies, unless otherwise stated.
Thanks goes out to vsouza for the inspiration of his Awesome iOS list!
- Server Side Swift Frameworks
- Server Side Utilities
- Authentication
- Templating
- Parsers
- Utility
- Database Connectors
- ORM
- Web Server Connectivity
Server Side Swift frameworks are projects that provide an infrastructure with which you can build a working Swift API.
- Perfect File / Dir (in core library).
- Perfect-Zip - Perfect Zip compression utility.
- Zewo gzip - gzip data compression from Swift, OS X & Linux ready.
- Zewo zlib - SwiftPM-compatible fork of zlib, OS X & Linux ready.
- Vapor gzip
- AES256CBC - convenient AES256 encryption of strings
- CryptoSwift - A growing collection of standard and secure cryptographic algorithms implemented in Swift
- Perfect OpenSSL - OpenSSL module (without Homebrew dependancy)
- SwiftMD5 - A pure Swift implementation of MD5
- Vapor TLS - Swift OpenSSL and TLS wrapper.
- Vapor Crypto (Formerly CryptoKitten).
- Zewo OpenSSL
- BlueSSLService - SSL sockets
- Zewo Log
- Perfect Logging - component of core Perfect Library.
- Vapor SwiftyBeaver - Logging Provider for Vapor, the server-side Swift 3 web framework
- SwiftyBeaver - convenient logging during development & release to console, file & cloud
- HeliumLogger - Light-weight logging library
- Perfect Logger - File based logging library, with linking of eventids
- Perfect RequestLogger - HTTP logging library
- SysProcess - component of core Perfect Library.
- Vapor Console - Swift wrapper for Console I/O
- Perfect-Notifications - iOS Notifications, etc. for Perfect.
- Tori-APNS - iOS APSN push notification sender.
- Perfect Networking Library - Core asynchronous networking package used in Perfect. Includes support for TCP, SSL, UNIX socket files and IO event handling.
- Perfect CURL - cURL support for Perfect.
- Tris Socket
- Vapor Socks - Pure-Swift Sockets: TCP, UDP; Client, Server; Linux, OS X.
- Zewo HTTP Client
- Zewo HTTPS Client
- BlueSocket - TCP and UDP socket support in (pure) Swift.
- JSON Config - A Swift 3 JSON Config reader library. Reads JSON files for server side configuration.
- Swifty-pList - A Swift 3 pList library. Reads & writes pLists for server side configuration.
- SwiftRandom - A tiny generator of random data for swift. SPM module.
- LoremSwiftum - A lightweight lorem ipsum generator for Swift.
- Pefect Thread Library - Core threading library for Perfect Server Side Swift. Includes support for serial and concurrent thread queues, locks, read/write locks and events.
- Zewo Threading - A concise and type-safe wrapper around the POSIX pthread API.
- Console
- Zewo ZeroMQ - Distributed Messaging platform.
- Zewo UUID - Easily generate UUID's in Swift.
- Perfect UUID - included in Core library.
- POSIXRegex - provides POSIX Regular Expressions for Swift 3.0.
- HTTP Serializer
- Turnstile - an authentication framework for Swift. Integrations with:
- Vapor
- Perfect
- Hashed Password
- JSON WebTokens
- Kitura Credentials - Pluggable framework for validating credentials
- Perfect-Turnstile-SQLite - Perfect Integration of Turnstile with SQLite (Demo)
- Perfect-Turnstile-PostgreSQL - Perfect Integration of Turnstile qith PostgreSQL (Demo)
- Perfect-Turnstile-CouchDB - Perfect Integration of Turnstile qith PostgreSQL (Demo)
- Perfect Mustache - Mustache template support for Perfect.
- Leaf - An extensible templating language built for Vapor.
- Vapor Markdown Provider
- Vapor Mustache
- Zewo Mustache
- MuttonChop - Mustache templates in Swift
- Kitura Template Engine - Template engine for Kitura
- Vapor JSON - JSON wrapper around Node.
- Perfect JSON Convertible objects - included in the Perfect core library.
- Zewo JSON
- Vdka JSON
- Zewo HTTPParser - HTTP (RFC 2616) parser for Swift 3.0.
- Perfect XML - XML support for Perfect.
- Zewo XML - XML/HTML parser for Swift.
- Tris MessagePack - MessagePack serialization library.
- URI Parser - URI (RFC 3986) for Swift 3.0.
- [GaphQL] (https://github.com/GraphQLSwift/GraphQL) - The Swift GraphQL implementation for macOS and Linux
- SwiftString - A comprehensive, lightweight string extension for Swift 3
- Hypertext - Any-way-you-want-it, type-safe HTML in Swift
- Duration - A simple Swift package for measuring and reporting the time taken for operations
- GitHub issues plugin for Xcode
- Perfect MySQL connector - A stand-alone Swift wrapper around the MySQL client library.
- Vapor MySQL Provider
- Vapor MySQL Interface
- MySQL driver for Fluent
- Zewo MySQL Driver
- Perfect PostgreSQL connector - A stand-alone Swift wrapper around the libpq client library.
- Vapor PostgreSQL interface
- Fluent PostgreSQL Driver
- Vapor SQLite3 wrapper for Swift
- Zewo PostgreSQL
- Perfect SQLite connector - A stand-alone Swift wrapper around the SQLite 3 client library.
- SQLite3 provider for Vapor
- SQLite driver for Fluent
- Perfect MongoDB connector - A stand-alone Swift wrapper around the mongo-c client library.
- MongoDB driver for Fluent - MongoDB driver for Fluent.
- MongoKitten - Native MongoDB driver for Swift, written in Swift
- Perfect CouchDB connector - A Swift connector for accessing CouchDB databases
- Perfect Redis connector - A stand-alone Swift wrapper around the Redis client library, enabling access to Redis.
- Redbird - Pure-Swift Redis client implemented from the original protocol spec. OS X + Linux compatible.
- Vapor Redbird/Redis provider
- Zewo Redis client - Redis client for (pure) Swift.
- Kitura Redis - Redis client in (pure) Swift.
- Tris Tarantool Module + IProto Connector In-Process module + TCP remote connector for Tarantool database.
- Kassandra - Cassandra CQL 3.2 client in (pure) Swift.
- Perfect Filemaker connector - A stand-alone Swift wrapper around the FileMaker XML Web publishing interface.
- Fluent (Vapor) - Swift models, relationships, and querying for NoSQL and SQL databases.
- SQL (Zewo) - Provides an ORM and base conformance for SQL adapters.
- StORM - SQLite - Swift ORM for SQLite
- StORM - MySQL - Swift ORM for MySQL
- StORM - PostgreSQL - Swift ORM for PostgreSQL
- StORM - CouchDB - Swift ORM for CouchDB
Connectors to Web servers such as Apache, nginx.
- Perfect HTTP Server - HTTP 1.1 Server for Perfect Server Side Swift.
- Perfect HTTP Libraries - Base HTTP Support for Perfect.
- Perfect FastCGI Apache 2.4
- Perfect FastCGI - FastCGI server for Perfect.
- Tris HTTP Server
- Vapor Engine - Pure Swift HTTP
- Kitura Networking - HTTP server and networking
- Zewo WebSocket Server
- Zewo WebSocket Client
- Perfect WebSockets - WebSockets support for Perfect
- Vapor Engine - Pure Swift WebSockets
- Aphid - MQTT 3.1 library in (pure) Swift.
Submit a pull request with changes. Please use GitHub Issues for dead or changed links only.
- Search previous suggestions before making a new one, as yours may be a duplicate.
- Make an individual pull request for each suggestion.
- Use the following format: PACKAGE - DESCRIPTION.
- New categories, or improvements to the existing categorization are welcome.
- Keep descriptions short and simple, but descriptive.
- End all descriptions with a full stop/period.
- Check your spelling and grammar.
- Make sure that your suggestion is positioned as the last item category.
- Make sure your text editor is set to remove trailing whitespace.
- Projects must work in Swift 3.0 (or above). ObjC and Swift 1 & 2 projects will not be considered.
- The Project must be an SPM module that can be included directly, unless otherwise stated.
Projects are ineligible if:
- The project is not in and of itself, an SPM module.
- Doesn't have commit for more than two years.
- Only have README in another language (Chinese, Japanese, Portuguese and etc)
- We cannot clearly understand the objective.
- Without clear README
Distributed under the MIT license. See LICENSE for more information.
We welcome people of all ethnicities, nationalities, ages, gender, disability, levels of experience, and religious beliefs to use and contribute to this project. We pledge to foster and enforce a harassment-free environment of openness, respect, and cooperation for everyone in all project and public spaces online or offline.
Please report any behaviour that violates our Code of Conduct. The team is committed to enforcing this Code of Conduct to ensure everyone who wishes to use, contribute to, and comment on the project may do so freely and openly and without fear of reprisal.
We will investigate all complaints of unacceptable or abusive behaviour or comments expediently, and we will maintain the confidentiality of the person who reports any perceived infraction or wrongdoing to us. We will not tolerate any form of direct or indirect harassment or discrimination within the Swift community, and will take appropriate, fair, and corrective action to any instance of inappropriate behaviour.
The team maintains the right to remove, edit, or reject any comments, code, edits, or issues that do not align with our Code of Conduct.