use-pywebview-htmx
Installation
SKILL.md
Use Pywebview Htmx
Treat pywebview-htmx as an in-process HTML fragment runtime, not an HTTP framework.
Bind HTML elements with py-* attributes, expose matching Python methods through
js_api, return escaped HTML strings, and let the runtime swap the returned
fragment into the DOM.
If the current workspace is this library repository, read README.md, app.py,
and src/pywebview_htmx/static/runtime.js before making non-trivial changes.
Use the bundled references in this skill for quick recall; open the repo files
when you need the exact current implementation.
Workflow
1. Map the interaction contract
Inspect the HTML/template and the Python js_api object together.