{"id":19346848,"url":"https://github.com/miyamoen/elm-route-builder","last_synced_at":"2026-06-22T10:31:45.996Z","repository":{"id":98835304,"uuid":"324526644","full_name":"miyamoen/elm-route-builder","owner":"miyamoen","description":"Builder for Route that has URL parser and URL builder.","archived":false,"fork":false,"pushed_at":"2021-02-16T15:28:45.000Z","size":37,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T09:44:03.963Z","etag":null,"topics":["elm"],"latest_commit_sha":null,"homepage":"https://package.elm-lang.org/packages/miyamoen/elm-route-builder/latest/","language":"Elm","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/miyamoen.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":"2020-12-26T09:59:19.000Z","updated_at":"2022-11-19T06:20:39.000Z","dependencies_parsed_at":"2023-03-13T15:54:11.210Z","dependency_job_id":null,"html_url":"https://github.com/miyamoen/elm-route-builder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/miyamoen/elm-route-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamoen%2Felm-route-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamoen%2Felm-route-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamoen%2Felm-route-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamoen%2Felm-route-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyamoen","download_url":"https://codeload.github.com/miyamoen/elm-route-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamoen%2Felm-route-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34645681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["elm"],"created_at":"2024-11-10T04:12:42.992Z","updated_at":"2026-06-22T10:31:45.980Z","avatar_url":"https://github.com/miyamoen.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"elm-route-builder let us define both URL builder and parser at once.\n\nI have no MP to write document. ﾜﾀｼ ﾆﾎﾝｼﾞﾝ. ｴｲｺﾞ ﾆｶﾞﾃ\n\n\n```elm\ntype alias BookIds =\n    { libraryId : String, bookId : String }\n\n\nbookRoute : Route BookIds page\nbookRoute =\n    root |\u003e s \"libraries\" |\u003e string .libraryId |\u003e s \"books\" |\u003e string .bookId |\u003e dynamic BookIds\n\n\nbookUrl : String\nbookUrl =\n    bookRoute.toString { libraryId = \"図書館\", bookId = \"本\" }\n\n\nbookParser : Url.Parser.Parser (BookPageModel -\u003e BookPageModel) BookPageModel\nbookParser =\n    bookRoute.toParser bookPageInit\n\n\ntype alias BookPageModel =\n    { ids : BookIds }\n\n\nbookPageInit : BookIds -\u003e BookPageModel\nbookPageInit ids =\n    { ids = ids }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyamoen%2Felm-route-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyamoen%2Felm-route-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyamoen%2Felm-route-builder/lists"}