datastar_plug interactive demo (hex / docs)
Elixir · Plug · Bandit · Datastar RC.8
serverTime
counter
theme
locale
active command
Terminal log Every command appends the prompt, an explanation, and the live SSE result.
Welcome to the datastar_plug interactive demo
────────────────────────────────────────────────────────
This page now has three synchronized views:
• the terminal log records what you typed and the Elixir API being demonstrated
• the live preview shows the exact DOM fragment or bindings affected by the SSE response
• the request / response inspector shows the incoming JSON request and the Datastar event sent back
Start with help, then try patch-fragment, patch-signals, and stream.
────────────────────────────────────────────────────────
datastar_plug:~$