Skip to content

Instantly share code, notes, and snippets.

@elepedus
elepedus / kino-proxy-liveview.md
Created February 13, 2025 12:12
How to use Liveview in Livebook without opening separate ports

Proxy Liveview Longpoll IFrame

Mix.install(
  [
    {:kino, "~> 0.14.2"},
    {:phoenix_live_view, "~> 1.0"},
    {:jason, "~> 1.4"}
  ],
  config: [
@elepedus
elepedus / fun-with-frames.livemd
Last active February 23, 2025 14:57
Howto use nested Kino frames to send bulk updates to sub-groups of connected clients

Efficient Group Updates with Nested Kino Frames

Mix.install([
  {:kino, "~> 0.14.2"},
  {:kino_user_presence, "~> 0.1.2"}
])

Keybase proof

I hereby claim:

  • I am elepedus on github.
  • I am elepedus (https://keybase.io/elepedus) on keybase.
  • I have a public key ASBdTqpwpO5qrk9hAwlip2UqU0ngU0Nv2rikjJsFurB61Qo

To claim this, I am signing this object: