%%VERSION%%
Hc declares dynamic web pages by using HTML data attributes to seamlessly update the page with HTML fragments requested from the server.
Using hypertext as the interaction substrate keeps logic on the server and, in the simplest cases, reduces front-end client code to custom CSS animations and inclusion of a generic JavaScript driver.
Hc is distributed under the ISC license. Compilation of the JavaScript driver depends on brr.
Homepage: https://erratique.ch/software/hc
hc can be installed with opam
:
opam install hc
If you don't use opam
consult the opam
file for build
instructions.
The documentation can be consulted online or via odig doc hc
.
Questions are welcome but better asked on the OCaml forum than on the issue tracker.
The hc-examples
executable serves
examples to show case hypertext interaction strategies. It is installed
if webs
is. Install hc
with tests to ensure it gets installed:
opam install hc --with-test
Hc was inspired by htmx.