{"id":21036660,"url":"https://github.com/maksasj/chtml","last_synced_at":"2026-05-21T10:33:27.796Z","repository":{"id":241394513,"uuid":"804552946","full_name":"Maksasj/chtml","owner":"Maksasj","description":"little single header library for generating HTML code","archived":false,"fork":false,"pushed_at":"2024-05-27T19:54:10.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T07:22:52.903Z","etag":null,"topics":["c","chtml","cool","html","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maksasj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-05-22T20:04:30.000Z","updated_at":"2024-06-02T18:56:58.000Z","dependencies_parsed_at":"2024-05-28T05:29:54.629Z","dependency_job_id":null,"html_url":"https://github.com/Maksasj/chtml","commit_stats":null,"previous_names":["maksasj/chtml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Maksasj/chtml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksasj%2Fchtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksasj%2Fchtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksasj%2Fchtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksasj%2Fchtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maksasj","download_url":"https://codeload.github.com/Maksasj/chtml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maksasj%2Fchtml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33297520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"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":["c","chtml","cool","html","webdevelopment"],"created_at":"2024-11-19T13:21:25.646Z","updated_at":"2026-05-21T10:33:27.777Z","avatar_url":"https://github.com/Maksasj.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CHTML\n\nLittle single header library for generating HTML code. \n\u003e Original idea from this Reddit post [there](https://www.reddit.com/r/C_Programming/comments/11at6d8/generate_html_in_c/)\n\n## Example\nThis is a little usage example, that generates very simple html code\n\n```c\n#include \"chtml.h\"\n\nint main() {\n    HTML_BEGIN()\n\n    HTML(\"lang='en'\") {\n        HEAD(\"\") {\n            META(\"charset='UTF-8'\");\n            // ...\n        }\n        BODY(\"\") {\n            H1(\"Hello world !\");\n            P(\"This is and CHTML example\");\n            \n            for(int i = 0; i \u003c 5; ++i)\n                P(\"You also can use C code there %d like this\", i);\n        }\n    } \n\n    char* string = HTML_COMPILE();\n    printf(\"%s\", string); // Result is just a html code\n    free(string);\n\n    return 0;\n}\n```\n\n## License\n**CHTML** is free and open source library/software. All code in this repository is licensed under\n- MIT License ([LICENSE.md](https://github.com/Maksasj/chtml/blob/master/LICENSE.md) or https://opensource.org/license/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksasj%2Fchtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaksasj%2Fchtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaksasj%2Fchtml/lists"}