{"id":15501532,"url":"https://github.com/athanclark/nested-routes","last_synced_at":"2026-03-10T06:02:38.457Z","repository":{"id":29548885,"uuid":"33087998","full_name":"athanclark/nested-routes","owner":"athanclark","description":"Declarative, Compositional Url Handling for WAI","archived":false,"fork":false,"pushed_at":"2023-09-28T09:49:35.000Z","size":330,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-11T09:42:27.489Z","etag":null,"topics":["composable","haskell","haskell-warp","http-server"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athanclark.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":"2015-03-29T20:24:11.000Z","updated_at":"2023-09-28T09:49:40.000Z","dependencies_parsed_at":"2024-10-02T09:04:50.364Z","dependency_job_id":"77938738-383f-4068-90e4-2120b3704a95","html_url":"https://github.com/athanclark/nested-routes","commit_stats":{"total_commits":223,"total_committers":4,"mean_commits":55.75,"dds":"0.017937219730941756","last_synced_commit":"269e8dd2105e9fea314b4374e19ecacca6f50659"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/athanclark/nested-routes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fnested-routes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fnested-routes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fnested-routes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fnested-routes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athanclark","download_url":"https://codeload.github.com/athanclark/nested-routes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fnested-routes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268554913,"owners_count":24269063,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["composable","haskell","haskell-warp","http-server"],"created_at":"2024-10-02T09:04:43.587Z","updated_at":"2026-03-10T06:02:33.428Z","avatar_url":"https://github.com/athanclark.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://raw.githubusercontent.com/athanclark/nested-routes/269e8dd2105e9fea314b4374e19ecacca6f50659/logo.svg)\n\n```haskell\nroutes :: RouterT (MiddlewareT m) sec m ()\nroutes = do\n  matchHere $ action $ do\n    get $ do\n      json (\"some cool json\", True, 12) -- application/json\n      text \"Yo\" -- text/plain\n  matchGroup (l_ \"someChunk\" \u003c/\u003e o_) $ do\n    match (p_ \"some parser\" Attoparsec.doube \u003c/\u003e o_) $ \\(d :: Double) -\u003e -- \"/someChunk/124.234\" would match\n      action $ ...\n    matchGroup (r_ [regex|/^(\\.)+(.*)/|] \u003c/\u003e o_) $ \\(matches :: [String]) -\u003e -- \"/someChunk/....huh?\" would match\n      action $ ...\n\n\nmyMiddleware :: MiddlewareT m\nmyMiddleware = route routes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fnested-routes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathanclark%2Fnested-routes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fnested-routes/lists"}