ex-tauri - Desktop Applications using Elixir
Hey! I wanted to share a new library that helps you build Elixir Desktop applications by leveraging Tauri.
It works by creating the full flow required to have an Elixir sidecar along side a Tauri setup that will await for the sidecar to start. All communication is done via tcp sockets to ensure 2 way communication between Tauri and Elixir.
Finally it’s framework agnostic as you can setup the commands to be ran by your sidecar independent of what you choose.
Features
- Simple to use CLI to install required files, run the project, package it
- 2-way communication between Elixir and Tauri to use more advanced features like Notifications, Dialogs, Clipboard, Filesystem
- Graceful shutdown using a heartbeat to ensure that the sidecar is properly shutdown
Usage
- Add the dependency with
{:ex_tauri, "~> 0.1.0"} - Run
mix deps.getandmix ex_tauri.install - (Not needed with Phoenix) update
config.exsto setup the start command and envs
config :ex_tauri, :dev_command, ~w(mix francis.server)
config :ex_tauri, :sidecar_env, [] - Run
mix ex_tauri.dev - Have fun

Website: https://ex-tauri.build/
Repository:
Special thank you to Burrito, Igniter and Tauri that made this project possible to be built.
Feedback and PRs are very welcomed






















