{"id":22683663,"url":"https://github.com/avdgaag/gleam_ag_html","last_synced_at":"2026-02-06T23:02:15.560Z","repository":{"id":63813704,"uuid":"570928391","full_name":"avdgaag/gleam_ag_html","owner":"avdgaag","description":"A Gleam library for building HTML strings usings functions.","archived":false,"fork":false,"pushed_at":"2022-11-26T15:40:58.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T08:45:36.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Gleam","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/avdgaag.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}},"created_at":"2022-11-26T15:34:57.000Z","updated_at":"2024-03-13T22:37:20.000Z","dependencies_parsed_at":"2022-11-26T17:46:29.926Z","dependency_job_id":null,"html_url":"https://github.com/avdgaag/gleam_ag_html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avdgaag/gleam_ag_html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdgaag%2Fgleam_ag_html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdgaag%2Fgleam_ag_html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdgaag%2Fgleam_ag_html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdgaag%2Fgleam_ag_html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avdgaag","download_url":"https://codeload.github.com/avdgaag/gleam_ag_html/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdgaag%2Fgleam_ag_html/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29179566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T22:12:24.066Z","status":"ssl_error","status_checked_at":"2026-02-06T22:12:09.859Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-12-09T21:12:58.423Z","updated_at":"2026-02-06T23:02:15.543Z","avatar_url":"https://github.com/avdgaag.png","language":"Gleam","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML\n\n[![Package Version](https://img.shields.io/hexpm/v/html)](https://hex.pm/packages/ag_html)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/ag_html/)\n\nGenerate HTML using functions, much like [elm-html](https://package.elm-lang.org/packages/elm/html/1.0.0/).\n\n## Quick start\n\n```gleam\nimport html.{html, head, body, p, text, render_document}\nimport html/attributes.{class}\n\npub fn hello_world() -\u003e String {\n  html([\n    head([], []),\n    body([\n      p([text(\"Hello, world!\")], [class(\"big\")])\n    ], [])\n  ], [])\n  |\u003e render_document()\n}\n/// will return:\n///\n///   \"\u003c!doctype html\u003e\u003chtml\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\u003cp class=\\\"big\\\"\u003eHello, world!\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\"\n```\n\n## Installation\n\nIf available on Hex this package can be added to your Gleam project:\n\n```sh\ngleam add html\n```\n\nand its documentation can be found at \u003chttps://hexdocs.pm/ag_html\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdgaag%2Fgleam_ag_html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favdgaag%2Fgleam_ag_html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdgaag%2Fgleam_ag_html/lists"}