Package - IBM-Swift/Kitura


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

Table of Contents


  • URL routing (e.g., GET, POST, PUT, DELETE, PATCH)
  • Codable routing
  • URL parameters
  • Static file serving
  • FastCGI support
  • SSL/TLS support
  • Pluggable middleware

Getting Started

Visit 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

  1. 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!


Stars: 6136



2.0.0 - Oct 27, 2017

What's New

  • Migrated the Kitura framework to be a pure Swift 4 package.
  • Improved developer experience by adding new Codable routing support for common HTTP verbs (i.e. GET, PUT, POST, PATCH, DELETE).

1.7.9 - Sep 14, 2017

What's New

  • Add support for Swift 4
  • Allow the limit on consecutive Keep-Alive requests per connection to be configurable. The default has been changed to allow an unlimited number of requests.

1.7.1 - Apr 13, 2017

We are delighted to release Kitura 1.7 with:

1.6.0 - Jan 27, 2017

We are delighted to release Kitura 1.6 with:

  • Significant performance improvements in Kitura route matching
  • Fixes for SSL related contention issues
  • Faster, more comprehensive unit tests covering SSL
  • HeliumLogger enhancement to print to TextOutputStream
  • HTML boilerplate for Kitura-Markdown
  • Fix for unexpected process exit on SIGPIPE
  • Linux foundation memory leak workaround
  • The usual squashed bugs

1.5.0 - Jan 27, 2017

We are delighted to release Kitura 1.5.

  • Kitura-WebSockets
  • Kitura-Chat-Server
  • Improve test coverage
  • Fix specification compliance for Accept* headers
  • Fixed memory Leak when checking headers
  • Fix issues running tests under code coverage tooling
  • Remove reference loop in Kitura-net
  • Remove use of String.CompareOptions.regularExpression because of memory leak on linux
  • Fix ClientResponse parsing issues