An open API service indexing awesome lists of open source software.

https://github.com/objecthub/swift-nanohttp

A tiny extensible and configurable HTTP server framework written in Swift for macOS, iOS, and Linux.
https://github.com/objecthub/swift-nanohttp

Last synced: about 1 year ago
JSON representation

A tiny extensible and configurable HTTP server framework written in Swift for macOS, iOS, and Linux.

Awesome Lists containing this project

README

          

# Swift NanoHTTP

[![Platforms: macOS, iOS, Linux](https://img.shields.io/badge/Platforms-macOS,%20iOS,%20Linux-blue.svg?style=flat)](https://developer.apple.com/osx/) [![Language: Swift 5.9](https://img.shields.io/badge/Language-Swift%205.9-green.svg?style=flat)](https://developer.apple.com/swift/) [![IDE: Xcode 15](https://img.shields.io/badge/IDE-Xcode%2015-orange.svg?style=flat)](https://developer.apple.com/xcode/) [![Package managers: SwiftPM, Carthage](https://img.shields.io/badge/Package%20managers-SwiftPM,%20Carthage-8E64B0.svg?style=flat)](https://github.com/Carthage/Carthage) [![License: Apache](http://img.shields.io/badge/License-Apache-lightgrey.svg?style=flat)](https://raw.githubusercontent.com/objecthub/swift-numberkit/master/LICENSE)

This is a tiny extensible and configurable HTTP server framework written in Swift
for macOS, iOS, and Linux. It is based on [Swifter](https://github.com/httpswift/swifter)
by Damian Kołakowski. The framework comes with a [demo server](https://github.com/objecthub/swift-nanohttp/blob/main/Sources/NanoHTTPDemo/NanoHTTPDemo.swift)
running as a [command-line tool on macOS](https://github.com/objecthub/swift-nanohttp/blob/main/Sources/DemoServer/main.swift)
and a [SwiftUI-based app on iOS](https://github.com/objecthub/swift-nanohttp/blob/main/Sources/DemoServer%20iOS/ContentView.swift).

## Requirements

- [Xcode 15](https://developer.apple.com/xcode/)
- [Swift 5.9](https://developer.apple.com/swift/)
- [Carthage](https://github.com/Carthage/Carthage)
- [Swift Package Manager](https://swift.org/package-manager/)

## Copyright

Author: Matthias Zenger ()
Copyright © 2024 Matthias Zenger. All rights reserved.