{"id":17070854,"url":"https://github.com/singpolyma/mustache2hs","last_synced_at":"2025-04-12T19:41:56.417Z","repository":{"id":56847768,"uuid":"5465989","full_name":"singpolyma/mustache2hs","owner":"singpolyma","description":"An attempt to compile Mustache templates to Haskell code","archived":false,"fork":false,"pushed_at":"2014-01-18T01:09:23.000Z","size":232,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T13:54:05.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/singpolyma.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-18T20:47:51.000Z","updated_at":"2016-12-10T14:03:32.000Z","dependencies_parsed_at":"2022-09-09T06:23:35.746Z","dependency_job_id":null,"html_url":"https://github.com/singpolyma/mustache2hs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singpolyma%2Fmustache2hs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singpolyma%2Fmustache2hs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singpolyma%2Fmustache2hs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singpolyma%2Fmustache2hs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singpolyma","download_url":"https://codeload.github.com/singpolyma/mustache2hs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217180,"owners_count":21066633,"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-10-14T11:34:14.811Z","updated_at":"2025-04-12T19:41:56.393Z","avatar_url":"https://github.com/singpolyma.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This utility takes in Haskell records (single data constructor only)\nand a list of mustache template and record name pairs, and generates\nHaskell code for functions that take an escape function and one of\nthe records, and returns a 'Data.Text.Lazy.Builder.Builder'.\n\nThis allows most records to be used as context for rendering a\ntemplate, and gives GHC the ability to typecheck the template's use of\nrecord fields at compile time.  It also means your application does\nnot need to be reading template files off disk in production.\n\nUsage example:\n\n\u003e mustache2hs -m Records.hs main.mustache SomeRec sub.mustache OtherRec\n\nA full example is in the git repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingpolyma%2Fmustache2hs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsingpolyma%2Fmustache2hs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingpolyma%2Fmustache2hs/lists"}