Rekindle

Rekindle brings Cargo-based Rust UI builds into Elixir and Phoenix projects. Mix is the entry point for installation, development, Web packaging, and native release artifacts, while Cargo continues to manage Rust dependencies, compilation, target directories, and incremental caches.

GPUI, egui/eframe, and Slint are supported. Each integration can generate a browser target compiled to WebAssembly, a native desktop target, or both from a shared Rust UI crate.

Requirements

Create a project

Install the Igniter and Phoenix project generators:

mix archive.install hex igniter_new
mix archive.install hex phx_new

Create a Phoenix application with a GPUI client for Web and desktop:

mix igniter.new my_app \
--with phx.new \
--install rekindle \
--integration gpui \
--targets web,desktop

Then prepare the project and start Phoenix:

cd my_app
mix setup
mix phx.server

See the Getting Started guide for existing Phoenix applications and the remaining setup options. Read the complete guides and API documentation on HexDocs.

License

Rekindle is available under the MIT License.