API Reference octa_star v#0.2.0
Copy MarkdownModules
Elixir SDK helpers for Datastar.
Datastar action expression helpers.
Datastar datastar-patch-elements helpers.
Tiny wrapper around Erlang/OTP's native :json module.
Phoenix controller helpers for OctaStar.
Marker-based Datastar dispatch for Phoenix controllers.
Allowlisted Datastar event dispatch plug.
Copies a Datastar CSRF signal into _csrf_token for Plug.CSRFProtection.
Script helpers implemented through Datastar element patches.
Plug-based Datastar Server-Sent Event generator.
Datastar signal reading and datastar-patch-signals helpers.
Raised when Datastar signals cannot be decoded from the request body.
Behaviour for OctaStar-enabled Phoenix controllers.
Opt-in per-tab stream deduplication.
Mix Tasks
Installs OctaStar into your project
Configures Datastar dispatch routes and HTTPS for dev
Generates an example OctaStar demo controller with Datastar
Adds OctaStar stream registry to the supervision tree
Patches the Phoenix web module with OctaStar controller support