elementary-swift/elementary-htmx
**Ergonomic [HTMX](https://htmx.org/) extensions for [Elementary](https://github.com/elementary-swift/elementary)**
Play with it
Check out the Hummingbird example app.
Check out the Vapor example app.
Documentation
The package brings the .hx syntaxt to all HTMLElements - providing a rich API for most HTMX attributes.
There is also an ElementaryHTMXSSE module that adds the .sse syntax for the Server Sent Events extensions, as well as ElementaryHTMXWS to add the .ws syntax for the WebSockets extensions.
The package also supports the Hyperscript _ attribute as .hyperscript.
Future directions
- Add module (or separate package?) for HTMX Request and Response headers
PRs welcome.
Package Metadata
Repository: elementary-swift/elementary-htmx
Default branch: main
README: README.md