A Swift web framework and HTTP server.
Swift Shell HTML Other
Latest commit 18a4594 Jan 23, 2017 @shmuelk shmuelk committed with vadimeisenbergibm If the pattern is a simple String, do a String compare and not Reguar…
…Expresion match (#975)

* IBM-Swift/Kitura#940 Perform simple string compares on Route paths where possible instead of using Regular Expressions.

* IBM-Swift/Kitura#940 Make sure partial matches of a path include a trailing slash if appropriate

* IBM-Swift/Kitura#940 Updated the API documentation and the Copyright dates

* IBM-Swift/Kitura#940 Corrected comment

* IBM-Swift/Kitura#940 Refactored the code a bit

* IBM-Swift/Kitura#940 Eliminated forced unwrapping of optional

* IBM-Swift/Kitura#940 Replace RegularExpression with search for a character in a CharacterSet



A Swift Web Framework and HTTP Server

Build Status - Master macOS Linux Apache 2 codecov codebeat badge  Slack Status


Kitura is a web framework and web server that is created for web services written in Swift. For more information, visit www.kitura.io.

Table of Contents


  • URL routing (GET, POST, PUT, DELETE)
  • URL parameters
  • Static file serving
  • FastCGI support
  • SSL/TLS support
  • JSON parsing
  • Pluggable middleware

Getting Started

Visit www.kitura.io for a Getting Started guide, tutorials, and API reference documentation.

Contributing to Kitura

All improvements to Kitura are very welcome! Here's how to get started with developing Kitura itself.

  1. Clone this repository.

    $ git clone https://github.com/IBM-Swift/Kitura

  2. Build and run tests.

    $ swift test

You can find more info on contributing to Kitura in our contributing guidelines.


We love to talk server-side Swift, and Kitura. Join our Slack to meet the team!