{"id":28466237,"url":"https://github.com/iolo/hx","last_synced_at":"2026-02-20T01:32:35.587Z","repository":{"id":270106270,"uuid":"905508723","full_name":"iolo/hx","owner":"iolo","description":"Minimal Proof of Concept implementation of HTMX","archived":false,"fork":false,"pushed_at":"2024-12-30T00:44:48.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T13:37:28.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/iolo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2024-12-19T01:17:19.000Z","updated_at":"2024-12-30T00:45:34.000Z","dependencies_parsed_at":"2024-12-28T13:45:13.493Z","dependency_job_id":"f2311551-2114-4a43-80a9-4cdb0e9724f5","html_url":"https://github.com/iolo/hx","commit_stats":null,"previous_names":["iolo/hx"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/iolo/hx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolo%2Fhx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolo%2Fhx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolo%2Fhx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolo%2Fhx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iolo","download_url":"https://codeload.github.com/iolo/hx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolo%2Fhx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29638632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2025-06-07T06:08:47.284Z","updated_at":"2026-02-20T01:32:35.570Z","avatar_url":"https://github.com/iolo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"hx\n==\n\n\u003e Make **HyperText** great again!\n\nMinimal Proof of Concept implementation of [HTMX](https://htmx.org/).\n\n## Getting Started\n\n1. Prepare HTML files\n(The following files are already located in the `sample/getting-started` directory.)\n\n* `get.html` : partial page for GET request\n```html\n\u003cp\u003e\u003cstrong\u003eGET response\u003c/strong\u003e\u003c/p\u003e\n```\n\n* `post.html` : partial page for POST request\n```html\n\u003cp\u003e\u003cstrong\u003ePOST response\u003c/strong\u003e\u003c/p\u003e\n```\n\n* `index.html` : initial full page\n```html\n\u003c!doctype html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\u003cscript src=\"hx.js\" defer\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\n\u003ca hx-get\"/get.html\" hx-target=\"#result\"\u003eGET\u003c/a\u003e\n\n\u003cform hx-post=\"/post.html\" hx-target=\"#result\"\u003e\n  \u003cbutton type=\"submit\"\u003ePOST\u003c/button\u003e\n\u003c/form\u003e\n\n\u003cdiv id=\"result\"\u003e\u003c/div\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n2. Start the server\n\n```\n$ npx serve ./samples/getting-started\n```\n\n3. Open the browser\n\n```\n$ open http://localhost:3000\n```\n\nOpen the `Web Insepector` \u0026raquo; `Network` and reload page and then see what happens.\n\n\nThat's all folks!\n\n\n## Features\n\n### DONE\n\n* Core Attributes\n  - `hx-trigger`, `hx-get`, `hx-post`, `hx-put`, `hx-delete`, `hx-patch`, `hx-target`, `hx-select`, `hx-swap`\n\n### TODO\n\n* Essential custom events for JavaScript\n\n### DON'T\n\n* [Syntatic sugar](https://en.wikipedia.org/wiki/Syntactic_sugar) for visual effects and timings that can be done with CSS and JavaScript\n\n\n## More Examples\n\n* TODO: Java + Spring Boot + Thymeleaf\n* TODO: Nodejs + Expressjs + EJS\n* TODO: Python + Django + Jinja2\n* TODO: use with [React](https://react.dev/) CSR\n* TODO: use with [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components/)\n\n\n## References\n\n- [HTMX](https://htmx.org/)\n- [Build Modern Webapp with Clasic Web Skills - HTMX](https://www.slideshare.net/slideshow/htmx-2024/274315966)(Korean)\n\n---\nMay the **SOURCE** be with you...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiolo%2Fhx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiolo%2Fhx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiolo%2Fhx/lists"}