Hologram: Building Local-First Apps in Pure Elixir
summary
Hologram compiles a full Elixir runtime into JavaScript so client UI code runs as pure Elixir in the browser, with a runtime ~100 kilobytes compressed and page code pruned to what it reaches. It ships a local‑first data layer backed by IndexedDB, a single SSE per tab, transactional outbox sync, and per‑column revision stamps with last‑writer‑wins (and additive counters). The demo Offgrid trip planner runs offline, syncs reliably on reconnect, and the server enforces final validation.
AI-written summary · about
chapters (17)
- 0:00Hologram intro
- 4:45Hologram updates since April
- 10:07Elixir to JavaScript compile
- 14:50Why avoid WebAssembly
- 15:35Local-first in Hologram
- 18:09Hologram architecture
- 20:59Hologram vs sync engines
- 22:26Demo: Offgrid trip planner
- 25:41What demo didn’t need
- 26:02Schema, permissions, queries
- 31:19Partial sync in Hologram
- 32:46Writing data & conflicts
- 36:00Concurrent edits & schema
- 37:26Schema migrations with lenses
- 38:31Hologram future
- 39:14Hologram for AI agents
- 41:01Thanks
related talks
44mThe NeverEnding Application
48mElixir by the Bellyful
19mElixir – what it is and why is it amazing?
37mKeynote: All Aboard The Stateful Train
45mElixir: une potion pour mixer complexité et concurrence en temps réel
44mElixir & Phoenix - Fast, Concurrent and Explicit
42mIt's about (run)time -- Elixir beyond the hype
47mElixir for curing product development pains
