{"id":1977,"url":"https://github.com/takebayashi/swiftra","last_synced_at":"2025-12-24T05:50:49.440Z","repository":{"id":141303610,"uuid":"47463109","full_name":"takebayashi/swiftra","owner":"takebayashi","description":"Sinatra-like DSL for developing web apps in Swift","archived":false,"fork":false,"pushed_at":"2016-06-21T23:29:48.000Z","size":30,"stargazers_count":261,"open_issues_count":2,"forks_count":5,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-15T19:08:02.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takebayashi.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}},"created_at":"2015-12-05T16:24:36.000Z","updated_at":"2024-01-30T22:18:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5bc453b-521f-4a47-b5c3-b63ddf973827","html_url":"https://github.com/takebayashi/swiftra","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takebayashi%2Fswiftra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takebayashi%2Fswiftra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takebayashi%2Fswiftra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takebayashi%2Fswiftra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takebayashi","download_url":"https://codeload.github.com/takebayashi/swiftra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228443825,"owners_count":17920794,"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.359Z","updated_at":"2025-12-24T05:50:49.401Z","avatar_url":"https://github.com/takebayashi.png","language":"Swift","funding_links":[],"categories":["Server","Swift"],"sub_categories":["Keychain","Other free courses"],"readme":"# Swiftra\n\nSwiftra is a library that provides DSLs like Sinatra.\n\n## System Requirements\n\nDEVELOPMENT-SNAPSHOT-2016-02-08-a\n\n## Example\n\nSee [swiftra-example](https://github.com/takebayashi/swiftra-example).\n\n```swift\nimport swiftra\n\nget(\"/hello\") { req in\n    return \"Hello, world!\"\n}\n\npost(\"/form\") { req in\n    return \"Hello: \\(req.bodyString)\"\n}\n\nget(\"/404\") { req in\n    return Response(.NotFound)\n}\n\nserve(8080)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakebayashi%2Fswiftra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakebayashi%2Fswiftra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakebayashi%2Fswiftra/lists"}