filipecabaco

filipecabaco

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

  1. Add the dependency with {:ex_tauri, "~> 0.1.0"}
  2. Run mix deps.get and mix ex_tauri.install
  3. (Not needed with Phoenix) update config.exs to setup the start command and envs
    config :ex_tauri, :dev_command, ~w(mix francis.server)
    config :ex_tauri, :sidecar_env, []
  4. Run mix ex_tauri.dev
  5. Have fun :smiley:

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

Where Next? Top

Trending in Announcing Top

restlessronin
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub. Docs are at OpenaiEx User Gu...
152 12366 136
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
gtcode
Aloha gang, There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here: ...
New

Other Trending Topics Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews