{"id":16336968,"url":"https://github.com/justinwoo/purescript-la-galbi","last_synced_at":"2026-01-24T05:02:05.238Z","repository":{"id":149405755,"uuid":"117290486","full_name":"justinwoo/purescript-la-galbi","owner":"justinwoo","description":"A simple library to parse a path string to a record of the parameters","archived":false,"fork":false,"pushed_at":"2018-01-14T13:38:48.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-16T15:50:24.355Z","etag":null,"topics":["purescript"],"latest_commit_sha":null,"homepage":"","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinwoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-01-12T21:40:35.000Z","updated_at":"2018-01-13T21:20:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fb35c62-e13c-4976-aeba-7a805c2c49a4","html_url":"https://github.com/justinwoo/purescript-la-galbi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/justinwoo/purescript-la-galbi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-la-galbi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-la-galbi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-la-galbi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-la-galbi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinwoo","download_url":"https://codeload.github.com/justinwoo/purescript-la-galbi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-la-galbi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28712841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:01:10.984Z","status":"ssl_error","status_checked_at":"2026-01-24T04:59:18.328Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["purescript"],"created_at":"2024-10-10T23:45:29.089Z","updated_at":"2026-01-24T05:02:05.221Z","avatar_url":"https://github.com/justinwoo.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PureScript-LA Galbi\n\nA simple library to parse a url string to a record of the parameters, defined by using a nested tuple with simple type aliases.\n\nNamed for delicious LA Galbi, where the short rib bones line the top of each cut to make meat segments.\n\n![](https://i.imgur.com/OJOnYqt.jpg)\n\n## Example\n\nFrom the tests:\n\n```hs\ntype MyRoute = S \"hello\" / S \"world\" / Param \"id\" Int / Param \"name\" String\n\nmyRouteP :: Proxy MyRoute\nmyRouteP = Proxy\n\ntestUrl :: String\ntestUrl = \"/hello/world/1/joe\"\n\n-- ...\n      case parseUrl myRouteP testUrl of\n        Left e -\u003e failure $ \"oops: \" \u003c\u003e show e\n        Right result -\u003e\n          assert \"says hi joe #1\" $\n            \"hi \" \u003c\u003e result.name \u003c\u003e \" #\" \u003c\u003e show result.id == \"hi joe #1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-la-galbi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinwoo%2Fpurescript-la-galbi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-la-galbi/lists"}