{"id":1974,"url":"https://github.com/kylef-archive/Curassow","last_synced_at":"2025-08-06T14:31:36.334Z","repository":{"id":55659610,"uuid":"47415925","full_name":"kylef-archive/Curassow","owner":"kylef-archive","description":"Swift HTTP server using the pre-fork worker model","archived":false,"fork":false,"pushed_at":"2019-06-12T01:31:43.000Z","size":146,"stargazers_count":398,"open_issues_count":5,"forks_count":35,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-11T03:03:04.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://curassow.fuller.li/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylef-archive.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-04T16:32:25.000Z","updated_at":"2024-07-11T12:27:32.000Z","dependencies_parsed_at":"2022-11-29T13:20:28.664Z","dependency_job_id":null,"html_url":"https://github.com/kylef-archive/Curassow","commit_stats":null,"previous_names":["kylef/curassow"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef-archive%2FCurassow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef-archive%2FCurassow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef-archive%2FCurassow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef-archive%2FCurassow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylef-archive","download_url":"https://codeload.github.com/kylef-archive/Curassow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215602102,"owners_count":15903654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:16:00.280Z","updated_at":"2024-08-17T16:31:11.419Z","avatar_url":"https://github.com/kylef-archive.png","language":"Swift","funding_links":[],"categories":["Server","Libs","Swift","Network [🔝](#readme)"],"sub_categories":["Keychain","Network"],"readme":"# Curassow\n\n[![Build Status](https://travis-ci.org/kylef/Curassow.svg?branch=master)](https://travis-ci.org/kylef/Curassow)\n\nCurassow is a Swift [Nest](https://github.com/nestproject/Nest)\nHTTP Server. It uses the pre-fork worker model and it's similar to Python's\nGunicorn and Ruby's Unicorn.\n\nIt exposes a [Nest-compatible interface](https://github.com/nestproject/Nest)\nfor your application, allowing you to use Curassow with any Nest compatible\nweb frameworks of your choice.\n\n## Documentation\n\nFull documentation can be found on the Curassow website:\nhttps://curassow.fuller.li\n\n## Usage\n\nTo use Curassow, you will need to install it via the Swift Package Manager,\nyou can add it to the list of dependencies in your `Package.swift`:\n\n```swift\nimport PackageDescription\n\nlet package = Package(\n  name: \"HelloWorld\",\n  dependencies: [\n    .Package(url: \"https://github.com/kylef/Curassow.git\", majorVersion: 0, minor: 6),\n  ]\n)\n```\n\nAfterwards you can place your web application implementation in `Sources`\nand add the runner inside `main.swift` which exposes a command line tool to\nrun your web application:\n\n```swift\nimport Curassow\nimport Inquiline\n\n\nserve { request in\n  return Response(.ok, contentType: \"text/plain\", body: \"Hello World\")\n}\n```\n\nThen build and run your application:\n\n```shell\n$ swift build --configuration release\n```\n\n### Example Application\n\nYou can find a [hello world example](https://github.com/kylef/Curassow-example-helloworld) application that uses Curassow.\n\n## License\n\nCurassow is licensed under the BSD license. See [LICENSE](LICENSE) for more\ninfo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylef-archive%2FCurassow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylef-archive%2FCurassow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylef-archive%2FCurassow/lists"}