{"id":22466309,"url":"https://github.com/hummingbird-project/hummingbird-examples","last_synced_at":"2025-04-06T01:11:08.213Z","repository":{"id":40547304,"uuid":"332451607","full_name":"hummingbird-project/hummingbird-examples","owner":"hummingbird-project","description":"Examples demonstrating various aspects of the Hummingbird swift server framework","archived":false,"fork":false,"pushed_at":"2024-10-24T09:58:24.000Z","size":790,"stargazers_count":84,"open_issues_count":5,"forks_count":17,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-10-24T10:33:03.762Z","etag":null,"topics":["examples","hummingbird","server-side-swift","swift","web-server"],"latest_commit_sha":null,"homepage":"","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":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-24T13:06:02.000Z","updated_at":"2024-10-23T16:13:25.000Z","dependencies_parsed_at":"2023-02-16T22:46:05.072Z","dependency_job_id":"67760e96-c27a-4d94-b323-7e0a579313ad","html_url":"https://github.com/hummingbird-project/hummingbird-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummingbird-project%2Fhummingbird-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hummingbird-project","download_url":"https://codeload.github.com/hummingbird-project/hummingbird-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419861,"owners_count":20936012,"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":["examples","hummingbird","server-side-swift","swift","web-server"],"created_at":"2024-12-06T10:11:32.303Z","updated_at":"2025-04-06T01:11:08.192Z","avatar_url":"https://github.com/hummingbird-project.png","language":"Swift","funding_links":[],"categories":["Swift"],"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.9-brightgreen.svg\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://discord.gg/7ME3nZ7mP2\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/chat-discord-brightgreen.svg\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n# Example Code\n\nExamples converted to Hummingbird 2.0\n\n- [auth-cognito](https://github.com/hummingbird-project/hummingbird-examples/tree/main/auth-cognito) - Authentication via AWS Cognito.\n- [auth-jwt](https://github.com/hummingbird-project/hummingbird-examples/tree/main/auth-jwt) - Authentication using JWT.\n- [auth-otp](https://github.com/hummingbird-project/hummingbird-examples/tree/main/auth-otp) - Using one time passwords authentication.\n- [auth-srp](https://github.com/hummingbird-project/hummingbird-examples/tree/main/auth-srp) - Secure Remote Password authentication.\n- [graphql-server](https://github.com/hummingbird-project/hummingbird-examples/tree/main/graphql-server) - GraphQL server using [Graphiti](https://github.com/GraphQLSwift/Graphiti)\n- [hello](https://github.com/hummingbird-project/hummingbird-examples/tree/main/hello) - Basic application setup.\n- [html-form](https://github.com/hummingbird-project/hummingbird-examples/tree/main/html-form) - Link a Mustache rendered HTML form to Hummingbird application.\n- [http2](https://github.com/hummingbird-project/hummingbird-examples/tree/main/http2) - Basic application with HTTP2 upgrade added.\n- [jobs](https://github.com/hummingbird-project/hummingbird-examples/tree/main/jobs) - Demonstrating offloading of jobs to another server.\n- [multipart-form](https://github.com/hummingbird-project/hummingbird-examples/tree/main/multipart-form) - HTML form using Multipart form data, using MultipartKit\n- [open-telemetry](https://github.com/hummingbird-project/hummingbird-examples/tree/main/open-telemetry) - Integration with OpenTelemetry\n- [proxy-server](https://github.com/hummingbird-project/hummingbird-examples/tree/main/proxy-server) - Using AsyncHTTPClient to build a proxy server\n- [response-body-processing](https://github.com/hummingbird-project/hummingbird-examples/tree/main/response-body-processing) - Example showing how to process a response body in middleware.\n- [s3-file-provider](https://github.com/hummingbird-project/hummingbird-examples/tree/main/s3-file-provider) - Use a custom FileProvider to serve files from S3 with FileMiddleware.\n- [server-sent-events](https://github.com/hummingbird-project/hummingbird-examples/tree/main/server-sent-events) - Server sent events.\n- [sessions](https://github.com/hummingbird-project/hummingbird-examples/tree/main/sessions) - Username/password and session authentication.\n- [todos-dynamodb](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-dynamodb) - Todos application, based off [TodoBackend](http://todobackend.com) spec, using DynamoDB.\n- [todos-fluent](https://github.com/hummingbird-project/hummingbird-examples/tree/1.x.x/todos-fluent) - Todos application, based off [TodoBackend](http://todobackend.com) spec, using Fluent\n- [todos-lambda](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-lambda) - Todos application, based off [TodoBackend](http://todobackend.com) spec, using DynamoDB and running on AWS Lambda.\n- [todos-mongokitten-openapi](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-mongokitten-openapi) - Todos application, using MongoDB driver [MongoKitten](https://github.com/orlandos-nl/MongoKitten) and the [OpenAPI runtime](https://github.com/apple/swift-openapi-runtime).\n- [todos-postgres-tutorial](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-postgres-tutorial) - Todos application, based off [TodoBackend](http://todobackend.com) spec, using PostgresNIO. Sample code that goes along with the [Todos tutorial](https://hummingbird-project.github.io/hummingbird-docs/2.0/tutorials/todos).\n- [upload](https://github.com/hummingbird-project/hummingbird-examples/tree/main/upload) - File uploading and downloading.\n- [upload-s3](https://github.com/hummingbird-project/hummingbird-examples/tree/main/upload-s3) - File uploading and downloading using AWS S3 as backing store.\n- [webauthn](https://github.com/hummingbird-project/hummingbird-examples/tree/main/webauthn) - Web app demonstrating WebAuthn(PassKey) authentication.\n- [websocket-chat](https://github.com/hummingbird-project/hummingbird-examples/tree/main/websocket-chat) - Simple chat application using WebSockets.\n- [websocket-echo](https://github.com/hummingbird-project/hummingbird-examples/tree/main/websocket-echo) - Simple WebSocket based echo server.\n\nAnd finally\n\n- [todos-auth-fluent](https://github.com/hummingbird-project/hummingbird-examples/tree/main/todos-auth-fluent) - This is a more complete example which shows authentication, CRUD operations and mustache rendering all in one app.\n\n### External Examples\n\nThese packages bundle examples with Hummingbird 2:\n\n- [Elementary Demo](https://github.com/sliemeobn/elementary/tree/main/Examples/HummingbirdDemo) - An HTML application rendered from Hummingbird by [Elementary](https://github.com/sliemeobn/elementary)\n- [ElementaryHTMX Demo](https://github.com/sliemeobn/elementary-htmx/tree/main/Examples/HummingbirdDemo) - An [HTMX](https://htmx.org/) application that communicates with Hummingbird, rendered by [Elementary](https://github.com/sliemeobn/elementary) and [ElementaryHTMX](https://github.com/sliemeobn/elementary-htmx)\n- [OracleNIO Examples](https://github.com/kicsipixel/oracle-nio-examples) - Examples of using [OracleNIO](https://github.com/lovetodream/oracle-nio) with Hummingbird\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummingbird-project%2Fhummingbird-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhummingbird-project%2Fhummingbird-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummingbird-project%2Fhummingbird-examples/lists"}