Shell Makefile C
Clone or download
Latest commit 6f69186 Jan 5, 2018

README.md

mod_swift

Apache 2 Swift3 Swift4 macOS tuxOS Travis

mod_swift allows you to write native modules for the Apache Web Server in the Swift 3 programming language. Server Side Swift the right way.

This project/sourcedir contains the actual C-language mod_swift. It is a straight Apache module which is then used to load Swift based Apache modules (mods_xyz).

Also included are Xcode base configurations, module maps for Apache and APR as well as a few API wrappers that are used to workaround swiftc crashers and Swift-C binding limitations.

Note: mod_swift is very low level, we currently provide two efforts to make Apache module development more pleasant: the Swift Apache API, and ApacheExpress. The latter provides a very convenient Node.js/ExpressJS like API which makes it very easy to write modules.

Documentation

You can find pretty neat mod_swift documentation over here: docs.mod-swift.org.

Status

This is not a demo anymore, it actually seems to work quite well.

Who

mod_swift is brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.

There is a #mod_swift channel on the Noze.io Slack.