{"id":13755854,"url":"https://github.com/Hasnep/roc-html","last_synced_at":"2025-05-10T02:33:17.265Z","repository":{"id":171153335,"uuid":"647520670","full_name":"Hasnep/roc-html","owner":"Hasnep","description":"🌐 A library to create HTML in Roc","archived":false,"fork":false,"pushed_at":"2025-05-09T00:26:46.000Z","size":61,"stargazers_count":17,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T01:27:27.203Z","etag":null,"topics":["html","roc","roc-lang"],"latest_commit_sha":null,"homepage":"https://hasnep.github.io/roc-html","language":"Roc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hasnep.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":"2023-05-31T00:56:37.000Z","updated_at":"2025-05-09T00:27:06.000Z","dependencies_parsed_at":"2024-04-09T06:23:24.259Z","dependency_job_id":"744de74d-90fc-4e4d-bb32-3f4a36b09861","html_url":"https://github.com/Hasnep/roc-html","commit_stats":null,"previous_names":["hasnep/roc-html"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hasnep","download_url":"https://codeload.github.com/Hasnep/roc-html/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253354491,"owners_count":21895437,"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":["html","roc","roc-lang"],"created_at":"2024-08-03T11:00:31.760Z","updated_at":"2025-05-10T02:33:17.251Z","avatar_url":"https://github.com/Hasnep.png","language":"Roc","funding_links":[],"categories":["Roc Packages 📦"],"sub_categories":[],"readme":"# Roc HTML\n\nA library to create HTML in Roc.\n\n## Example\n\nThis Roc code:\n\n```roc\nHtml.html [] [\n    Html.body [] [\n        Html.h1 [] [Html.text \"Roc\"],\n        Html.p [] [\n            Html.text \"You should really check out \",\n            Html.a [Attribute.href \"https://roc-lang.org/\"] [Html.text \"Roc\"],\n            Html.text \"!\",\n        ]\n    ]\n] |\u003e Html.render\n```\n\nReturns this HTML (give or take a little formatting):\n\n```html\n\u003c!doctype html\u003e\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003ch1\u003eRoc\u003c/h1\u003e\n    \u003cp\u003eYou should really check out \u003ca href=\"https://roc-lang.org/\"\u003eRoc\u003c/a\u003e!\u003c/p\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Licence\n\nThis repository is released under the [UPL licence](./LICENCE) and was mostly written by [Brian Carroll](https://github.com/brian-carroll/). Thanks, Brian!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHasnep%2Froc-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHasnep%2Froc-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHasnep%2Froc-html/lists"}