MrPopov :: Elixir LiveView Single Binary

This guide demonstrates how to package a Phoenix LiveView application as a single cross-platform desktop executable using Tauri and Burrito, with Tauri providing the native window wrapper and process management while a Burrito-wrapped Phoenix backend runs on localhost:4000. The architecture uses a sidecar pattern where the Elixir application is compiled into a standalone executable with embedded ERTS, eliminating the need for separate runtime dependencies across macOS, Linux, and Windows builds. Key setup steps include configuring Burrito in mix.exs for multi-platform targets, updating production runtime configuration for database paths and server binding, and skipping migrations during the Burrito build context while handling them separately through a Release module.

Visit Original Article →

⌘K

Start typing to search...

Search across content, newsletters, and subscribers