dunglas / vulcain

🔨 Fast and idiomatic client-driven REST APIs.
https://vulcain.rocks
GNU Affero General Public License v3.0
3.51k stars 106 forks source link

integration: html - https://htmx.org/examples/ #111

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

https://htmx.org/examples/ seems like a nice pattern to use with this.

clients get the SSE and then have simple patterns for updating the gui

apparently its a hypermedia pattern --

gedw99 commented 1 year ago

Here is one with hugo: https://github.com/acaloiaro/hugo-htmx-go-template

It works well and allows a Live Server where the Mark-down turns to HTML, but you can also add forms etc using the htmx.