{"id":23913169,"url":"https://github.com/fs-frost/hui","last_synced_at":"2026-05-04T17:36:37.647Z","repository":{"id":207279439,"uuid":"718866883","full_name":"FS-Frost/hui","owner":"FS-Frost","description":"Reactive HTML UI framework for simple web applications.","archived":false,"fork":false,"pushed_at":"2026-04-23T02:36:05.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-23T04:21:22.102Z","etag":null,"topics":["ui","vanilla-js"],"latest_commit_sha":null,"homepage":"https://fs-frost.github.io/hui/","language":"JavaScript","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/FS-Frost.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-11-15T00:25:40.000Z","updated_at":"2026-04-23T02:36:09.000Z","dependencies_parsed_at":"2025-01-05T09:31:52.448Z","dependency_job_id":"e22ec941-f0b0-4467-ba20-8c777542560c","html_url":"https://github.com/FS-Frost/hui","commit_stats":null,"previous_names":["fs-frost/hui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FS-Frost/hui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fhui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fhui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fhui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fhui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FS-Frost","download_url":"https://codeload.github.com/FS-Frost/hui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fhui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32618223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["ui","vanilla-js"],"created_at":"2025-01-05T09:31:47.490Z","updated_at":"2026-05-04T17:36:37.622Z","avatar_url":"https://github.com/FS-Frost.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hui\n\nReactive HTML UI framework for simple web applications.\n\n## Demo\n\nhttps://fs-frost.github.io/hui/\n\n## Usage\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n    \u003chead\u003e\n        \u003cmeta charset=\"UTF-8\" /\u003e\n        \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n        \u003ctitle\u003eCounter\u003c/title\u003e\n        \u003cscript src=\"./hui.js\"\u003e\u003c/script\u003e\n    \u003c/head\u003e\n\n    \u003cbody\u003e\n        \u003cdiv id=\"app\"\u003e\u003c/div\u003e\n\n        \u003cscript\u003e\n            let count = 0;\n\n            function counter() {\n                function increaseCounter() {\n                    count++;\n                    console.log(\"up it goes!\", { count });\n                    render();\n                }\n\n                function decreaseCounter() {\n                    count--;\n                    console.log(\"and down it went!\", { count });\n                    render();\n                }\n\n                function resetCounter() {\n                    count = 0;\n                    render();\n                }\n\n                function generateList(count) {\n                    let list = [];\n\n                    for (let i = 1; i \u003c= count; i++) {\n                        list.push(p(`${i \u003e 1 ? \",\" : \"\"}${i}`));\n                    }\n\n                    for (let i = -1; i \u003e= count; i--) {\n                        list.unshift(p(`${i}${i \u003c -1 ? \",\" : \"\"}`));\n                    }\n\n                    return list;\n                }\n\n                return div()\n                    .$class(\"m-5\")\n                    .$append(\n                        div(\n                            h1(\"hui demo\").$class(\"title is-1 mb-1\"),\n                            p(\"Reactive HTML UI framework for simple web applications\"),\n                            a(\"(hui source code)\").$href(\"hui.js\").$target(\"_blank\")\n                        ),\n                        div(\n                            h1(\"hui component\").$class(\"title is-3 mt-3 mb-1\"),\n                            a(\"(Source code)\").$href(\"counter.js\").$target(\"_blank\"),\n                            p(`Count: ${count}`),\n                            button(\"+\").$class(\"button is-success mr-1\").$onClick(increaseCounter),\n                            button(\"-\").$class(\"button is-danger mr-1\").$onClick(decreaseCounter),\n                            button(\"Reset\").$class(\"button is-info mr-1\").$onClick(resetCounter)\n                        ),\n                        div(...generateList(count)).$class(\"list\")\n                    );\n            }\n\n            newApp(counter);\n        \u003c/script\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffs-frost%2Fhui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffs-frost%2Fhui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffs-frost%2Fhui/lists"}