{"id":13995039,"url":"https://github.com/hummingbird-project/hummingbird","last_synced_at":"2025-05-14T14:08:35.225Z","repository":{"id":37738267,"uuid":"327823869","full_name":"hummingbird-project/hummingbird","owner":"hummingbird-project","description":"Lightweight, flexible HTTP server framework written in Swift","archived":false,"fork":false,"pushed_at":"2025-05-12T15:17:16.000Z","size":12438,"stargazers_count":1407,"open_issues_count":20,"forks_count":66,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-05-12T16:25:08.028Z","etag":null,"topics":["http","http-server","server","server-side-swift","swift","swift-nio","web","web-server"],"latest_commit_sha":null,"homepage":"https://hummingbird.codes/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hummingbird-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"adam-fowler"}},"created_at":"2021-01-08T06:58:48.000Z","updated_at":"2025-05-12T15:10:42.000Z","dependencies_parsed_at":"2023-12-02T10:28:08.096Z","dependency_job_id":"1c769d72-e678-49aa-908d-37b96b16ce68","html_url":"https://github.com/hummingbird-project/hummingbird","commit_stats":{"total_commits":483,"total_committers":5,"mean_commits":96.6,"dds":0.008281573498964856,"last_synced_commit":"f38a3ab1ad3fd04b5c5e0753afb8798a1bd5e810"},"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hummingbird-project","download_url":"https://codeload.github.com/hummingbird-project/hummingbird/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159825,"owners_count":22024564,"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":["http","http-server","server","server-side-swift","swift","swift-nio","web","web-server"],"created_at":"2024-08-09T14:03:13.437Z","updated_at":"2025-05-14T14:08:35.218Z","avatar_url":"https://github.com/hummingbird-project.png","language":"Swift","funding_links":["https://github.com/sponsors/adam-fowler"],"categories":["Swift","CLI and Server"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/hummingbird-project/hummingbird/assets/9382567/48de534f-8301-44bd-b117-dfb614909efd\"\u003e\n  \u003cimg src=\"https://github.com/hummingbird-project/hummingbird/assets/9382567/e371ead8-7ca1-43e3-8077-61d8b5eab879\"\u003e\n\u003c/picture\u003e\n\u003c/p\u003e  \n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://swift.org\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/swift-5.10+-f05138.svg\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/hummingbird-project/hummingbird/actions?query=workflow%3ACI\"\u003e\n  \u003cimg src=\"https://github.com/hummingbird-project/hummingbird/actions/workflows/ci.yml/badge.svg?branch=main\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.swift.org/sswg/incubation-process.html\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/sswg-incubated-blue.svg\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://discord.gg/4twfgYqdat\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/chat-discord-7289da.svg?logo=discord\u0026logoColor=white\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\nLightweight, flexible, modern server framework written in Swift.\n\n## Hummingbird\n\nHummingbird is a lightweight, flexible modern web application framework that runs on top of a SwiftNIO based server implementation. It is designed to require the minimum number of dependencies.\n\nIt provides a router for directing different endpoints to their handlers, middleware for processing requests before they reach your handlers and processing the responses returned, custom encoding/decoding of requests/responses, TLS and HTTP2.\n\n```swift\nimport Hummingbird\n\n// create router and add a single GET /hello route\nlet router = Router()\nrouter.get(\"hello\") { request, _ -\u003e String in\n    return \"Hello\"\n}\n// create application using router\nlet app = Application(\n    router: router,\n    configuration: .init(address: .hostname(\"127.0.0.1\", port: 8080))\n)\n// run hummingbird application\ntry await app.runService()\n```\n\n### Extending Hummingbird\n\nHummingbird's core is designed to be minimal, with additional features provided through extensions. Here are some official extensions:\n\n### Built-in Extensions\n\n- `HummingbirdRouter`: An alternative router using result builders\n- `HummingbirdTLS`: TLS support\n- `HummingbirdHTTP2`: HTTP2 upgrade support\n- `HummingbirdTesting`: Helper functions for testing Hummingbird projects\n\n### Additional Extensions\n\nThe following extensions are available in separate repositories:\n\n- [HummingbirdAuth](https://github.com/hummingbird-project/hummingbird-auth): Authentication framework\n- [HummingbirdFluent](https://github.com/hummingbird-project/hummingbird-fluent): Integration with Vapor's FluentKit ORM\n- [HummingbirdRedis](https://github.com/hummingbird-project/hummingbird-redis): Redis support via RediStack\n- [HummingbirdWebSocket](https://github.com/hummingbird-project/hummingbird-websocket): WebSocket support\n- [HummingbirdLambda](https://github.com/hummingbird-project/hummingbird-lambda): Run Hummingbird on AWS Lambda\n- [Jobs](https://github.com/hummingbird-project/swift-jobs): Job Queue Framework\n- [Mustache](https://github.com/hummingbird-project/swift-mustache): Mustache templating engine\n\n## Documentation\n\nYou can find reference documentation and user guides for Hummingbird [here](https://docs.hummingbird.codes/2.0/documentation/hummingbird/). The [hummingbird-examples](https://github.com/hummingbird-project/hummingbird-examples/tree/main) repository has a number of examples of different uses of the library.\n\n## Installation\n\nAdd the following to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/hummingbird-project/hummingbird.git\", from: \"2.0.0\")\n],\ntargets: [\n  .executableTarget(\n    name: \"MyApp\",\n    dependencies: [\n        .product(name: \"Hummingbird\", package: \"hummingbird\"),\n    ]),\n]\n```\n\nOr run the following commands on your package using SwiftPM, replacing `MyApp` with the name of your target:\n\n```swift\nswift package add-dependency https://github.com/hummingbird-project/hummingbird.git --from 2.0.0\nswift package add-target-dependency Hummingbird MyApp\n```\n\n## Contributing\n\nWe welcome contributions to Hummingbird! Please read our [contributing guidelines](CONTRIBUTING.md) before submitting a pull request.\n\n## License\n\nHummingbird is released under the [Apache 2.0 license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummingbird-project%2Fhummingbird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhummingbird-project%2Fhummingbird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummingbird-project%2Fhummingbird/lists"}