{"id":14458784,"url":"https://github.com/fliepeltje/htmxxx","last_synced_at":"2025-07-14T10:31:15.975Z","repository":{"id":243038050,"uuid":"811287988","full_name":"fliepeltje/htmxxx","owner":"fliepeltje","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-24T11:11:40.000Z","size":20,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T06:19:36.487Z","etag":null,"topics":["framework","htmx","meme","minimalistic"],"latest_commit_sha":null,"homepage":"https://htmxxx.fly.dev/","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/fliepeltje.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-06T09:59:40.000Z","updated_at":"2024-08-31T15:54:10.000Z","dependencies_parsed_at":"2024-11-22T21:44:04.918Z","dependency_job_id":"fcfbe7a7-1be2-4040-902a-b422a87963a6","html_url":"https://github.com/fliepeltje/htmxxx","commit_stats":null,"previous_names":["fliepeltje/htmxxx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fliepeltje/htmxxx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliepeltje%2Fhtmxxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliepeltje%2Fhtmxxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliepeltje%2Fhtmxxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliepeltje%2Fhtmxxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fliepeltje","download_url":"https://codeload.github.com/fliepeltje/htmxxx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fliepeltje%2Fhtmxxx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265280507,"owners_count":23739850,"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":["framework","htmx","meme","minimalistic"],"created_at":"2024-09-01T19:00:52.190Z","updated_at":"2025-07-14T10:31:15.693Z","avatar_url":"https://github.com/fliepeltje.png","language":"JavaScript","funding_links":[],"categories":["framework"],"sub_categories":[],"readme":"# Htmxxx: htmx but sexier\n\n`htmxxx` comprises just 2 attributes for you to learn.\nall this is implemented in 2 functions.\nit is 941 bytes minified - that's ~14x smaller than `htmx` min/gzip'd.\na truly lean framework for interactivity that exposes just enough.\n\n[Repository](https://github.com/fliepeltje/htmxxx) \u0026 [demo](https://demo-htmxxx.fly.dev/)\n\n## Usage\n\nMake your `a` or `form` elements sexy by adding the `xxx` attribute.\n\n```html\n\n\u003ch1 id=\"target-element\"\u003eI will get updated\u003c/h1\u003e\n\n\u003ca href=\"/get-update\" xxx\u003eClick Me\u003c/a\u003e\n\n```\n\nReturn an element wrapped in an element with the `xxx-update` attribute set to the target of the `id` you want to replace.\n\n```html\n\n\u003cdiv xxx-update=\"target-element\"\u003e\n    \u003ch1 id=\"target-element\"\u003eSexy update\u003c/h1\u003e\n\u003c/div\u003e\n\n```\n\n## Advanced Usage\n\nYou can send multiple updates in 1 response:\n\n```html\n\n\u003cdiv xxx-update=\"target-1\"\u003e...\u003c/div\u003e\n\u003cdiv xxx-update=\"target-2\"\u003e...\u003c/div\u003e\n\n```\n\nYou can send new interactive elements in a response\n\n```html\n\n\u003cdiv xxx-update=\"target-1\"\u003e\n    \u003ca href=\"/bloop\" xxx\u003eClick me\u003c/a\u003e\n\u003c/div\u003e\n\n```\n\nYou can delete elements with an empty update\n\n```html\n\n\u003cdiv xxx-update=\"target-1\"\u003e\u003cdiv\u003e\n\n```\n\n## Install\n\n### copy-paste source\n\n[View source](https://htmxxx.fly.dev/script.min.js)\n\n\n### curl into a local file\n\n```sh\ncurl https://htmxxx.fly.dev/script.min.js \u003e htmxxx.js\n```\n\n### include in html file\n\n```html\n\u003cscript src=\"https://htmxxx.fly.dev/script.min.js\"\u003e\u003c/script\u003e\n```\n\ndont though.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliepeltje%2Fhtmxxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffliepeltje%2Fhtmxxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliepeltje%2Fhtmxxx/lists"}