{"id":20757181,"url":"https://github.com/vapor-community/vapor-elementary","last_synced_at":"2025-04-28T22:25:59.035Z","repository":{"id":247016242,"uuid":"824269125","full_name":"vapor-community/vapor-elementary","owner":"vapor-community","description":"A modern and efficient HTML rendering library - inspired by SwiftUI, built for the web.","archived":false,"fork":false,"pushed_at":"2024-12-08T14:53:05.000Z","size":21,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-24T20:03:54.656Z","etag":null,"topics":["dsl","html","swift-on-server","vapor","web"],"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/vapor-community.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":"2024-07-04T18:17:57.000Z","updated_at":"2025-01-26T15:48:58.000Z","dependencies_parsed_at":"2024-12-08T14:24:10.110Z","dependency_job_id":"674f8674-0761-40c4-a6ef-60ee79e9aebd","html_url":"https://github.com/vapor-community/vapor-elementary","commit_stats":null,"previous_names":["vapor-community/vapor-elementary"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vapor-community%2Fvapor-elementary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vapor-community%2Fvapor-elementary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vapor-community%2Fvapor-elementary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vapor-community%2Fvapor-elementary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vapor-community","download_url":"https://codeload.github.com/vapor-community/vapor-elementary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251397304,"owners_count":21582978,"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":["dsl","html","swift-on-server","vapor","web"],"created_at":"2024-11-17T09:40:16.220Z","updated_at":"2025-04-28T22:25:58.974Z","avatar_url":"https://github.com/vapor-community.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elementary: HTML Templating in Pure Swift\n\n**A modern and efficient HTML rendering library - inspired by SwiftUI, built for the web.**\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fvapor-community%2Fvapor-elementary%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/vapor-community/vapor-elementary)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fvapor-community%2Fvapor-elementary%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/vapor-community/vapor-elementary)\n\nThis packages helps you serve [Elementary](https://swiftpackageindex.com/sliemeobn/elementary) HTML web apps with Vapor.\n\nSimply wrap `HTMLResponse` around your HTML content and return it from your routes.\n\n```swift\nimport Vapor\nimport VaporElementary\n\nlet app = try await Application.make(.detect())\n\napp.get(\"index\") { _ in\n    HTMLResponse {\n        MyIndexPage()\n    }\n}\n```\n\nCheck out the docs in the [Elementary repo](https://github.com/sliemeobn/elementary) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvapor-community%2Fvapor-elementary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvapor-community%2Fvapor-elementary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvapor-community%2Fvapor-elementary/lists"}