2-day longest streak
Curassow Curassow is a Swift Nest HTTP Server. It uses the pre-fork worker model and it's similar to Python's Gunicorn and Ruby's Unicorn. It exposes a Nest-compatible interface for your…
Curassow

Curassow is a Swift Nest
HTTP Server. It uses the pre-fork worker model and it's similar to Python's
Gunicorn and Ruby's Unicorn.
It exposes a Nest-compatible interface
for your application, allowing you to use Curassow with any Nest compatible
web frameworks of your choice.
Documentation
Full documentation can be found on the Curassow website:
https://curassow.fuller.li
Usage
To use Curassow, you will need to install it via the Swift Package Manager,
you can add it to the list of dependencies in your Package.swift:
swift
import PackageDescription
let package = Package(
name: "HelloWorld",
dependencies: [
.Package(url: "https://github.com/kylef/Curassow.git", majorVersion: 0, minor: 6),
]
)
Afterwards you can place your web application implementation in Sources
and add the runner inside main.swift which exposes a command line tool to
run your web application:
swift
import Curassow
import Inquiline
serve { request in
return Response(.ok, contentType: "text/plain", body: "Hello World")
}
Then build and run your application:
shell
$ swift build --configuration release
Example Application
You can find a hello world example application that uses Curassow.
License
Curassow is licensed under the BSD license. See [LICENSE](LICENSE) for more
info.
-
swiftenv ★ PINNED
Swift Version Manager
Shell ★ 2.0k 1y agoExplain → -
Commander ★ PINNED
Compose beautiful command line interfaces in Swift
Swift ★ 1.5k 4y agoExplain → -
JSONWebToken.swift ★ PINNED
Swift implementation of JSON Web Token (JWT).
Swift ★ 759 5y agoExplain → -
heroku-buildpack-swift ★ PINNED ⑂ ▣
Heroku build pack for Swift
Shell ★ 506 4y agoExplain → -
PathKit
Effortless path operations in Swift
Swift ★ 1.5k 2y agoExplain → -
Mockingjay
An elegant library for stubbing HTTP requests with ease in Swift
Swift ★ 1.5k 2y agoExplain → -
Spectre
BDD Framework and test runner for Swift projects and playgrounds
Swift ★ 406 4y agoExplain → -
JSONSchema.swift
JSON Schema validator in Swift
Swift ★ 291 2y agoExplain → -
URITemplate.swift
Swift implementation of URI Template (RFC6570)
Swift ★ 199 4y agoExplain → -
apiblueprint.vim
This vim plugin brings syntax highlighting and linting for API Blueprint.
VimL ★ 113 9y agoExplain → -
dotfiles
kylef's dotfile
Shell ★ 33 1y agoExplain → -
swiftenv-api
API for swiftenv to return the available versions of Swift
Python ★ 26 3y agoExplain → -
draughtsman
API Blueprint Parser for Python 3
Python ★ 23 6y agoExplain → -
goji
Command line JIRA client
Python ★ 20 5mo agoExplain → -
swiftenv-docker
This repository contains swiftenv images for Docker
Makefile ★ 19 9y agoExplain → -
chunkwm ⑂
Tiling window manager for macOS based on plugin architecture
C++ ★ 18 7y agoExplain → -
changelog
A formal specification for changelog files and entries
★ 18 7y agoExplain → -
irctk
A Python IRC client library
Python ★ 9 1y agoExplain → -
maintain
A unified interface to maintaining projects of any language.
Python ★ 7 1y agoExplain → -
ucp
A simple and universal command line tool for capturing screenshots and uploading to the web.
Shell ★ 5 10y agoExplain → -
redirector
Simple web server for HTTP redirecting from one domain to another.
Python ★ 4 5y agoExplain → -
refract.py
A Python library for interacting with Refract
Python ★ 3 5y agoExplain → -
pygments-apiblueprint
An API Blueprint Lexer for Pygments
Python ★ 3 6y agoExplain → -
znc ⑂
kylef's fork for znc
C++ ★ 3 3y agoExplain → -
skhd ⑂
Simple hotkey daemon for macOS
C ★ 2 8y agoExplain → -
life
This repository is used as a personal issue tracker
★ 2 6y agoExplain → -
lua-resty-http ⑂
Lua HTTP client cosocket driver for OpenResty / ngx_lua.
★ 1 5y agoExplain → -
BlueMicro_BLE ⑂
Keyboard Firmware for the Nordic nRF52 Series of Bluetooth SoC based on the Adafruit NRF52 Feather
C ★ 1 3y agoExplain → -
qmk_firmware ⑂
keyboard controller firmware for Atmel AVR and ARM USB families
C ★ 1 8y agoExplain → -
node ⑂
Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:
JavaScript ★ 1 7y agoExplain → -
homebrew-formulae
No description.
Ruby ★ 1 4y agoExplain → -
ale ⑂
Asynchronous Lint Engine
Vim script ★ 1 8y agoExplain → -
MFPageFlowView ⑂
A paging flow view, similar to the scrollable iOS App Store screenshots.
★ 0 12y agoExplain → -
go-proxyproto ⑂
A Go library implementation of the PROXY protocol, versions 1 and 2.
★ 0 4y agoExplain → -
oci-lbaas-letsencrypt ⑂
Use Certbot/Letsencrypt to manage OCI LoadBalancer TLS Certificates
★ 0 4y agoExplain → -
swagger2blueprint ⑂
Convert Swagger API descriptions into API Blueprint
★ 0 5y agoExplain → -
oragono ⑂
A modern IRC server (daemon/ircd) written in Go.
★ 0 4y agoExplain → -
JSON-Schema-Test-Suite ⑂
A language agnostic test suite for the JSON Schema specifications
★ 0 5y agoExplain → -
ircv3-specifications ⑂
IRCv3 specifications | Roadmap: https://git.io/IRCv3-Roadmap | Code of conduct: http://ircv3.net/conduct.html
★ 0 5y agoExplain → -
typeshed ⑂
Collection of library stubs for Python, with static types
★ 0 5y agoExplain → -
compression ⑂
Node.js compression middleware
★ 0 5y agoExplain → -
OpenAPI-Specification ⑂
The OpenAPI Specification Repository
★ 0 6y agoExplain → -
JavaScriptCore-iOS ⑂
Apple's JavaScript Engine, with modified project files for iOS
C++ ★ 0 10y agoExplain → -
lodash-api-description ⑂
API Description mixins for Lodash
JavaScript ★ 0 8y agoExplain → -
ledger ⑂
Double-entry accounting system with a command-line reporting interface
C++ ★ 0 8y agoExplain →
No repos match these filters.