filipecabaco

filipecabaco

Ex-tauri - Desktop applications using Elixir

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?

Popular in Announcing Top

bluzky
You may know https://ui.shadcn.com/, a UI component library for React. I really love it’s design style and components. I’ve built some co...
384 14206 119
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52774 488
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36432 110
New
michalmuskala
Another small library today. PersistentEts Hex: persistent_ets | Hex GitHub: GitHub - michalmuskala/persistent_ets · GitHub Ets table ...
New
devonestes
Introducing assertions, the library that helps you write really great test assertions! GitHub: GitHub - devonestes/assertions: Helpful a...
New
trisolaran
Hi! :waving_hand: I would like to present LiveSelect, a little library that I wrote to easily add a dynamic selection input to your LV f...
198 10978 107
New
New
pkrawat1
Hey guyz We at @aviabird are working on a payment library in elixir/phoenix. We are targeting March 2018 to add 56 Gateways to it. Have...
New

Other popular topics Top

axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48475 226
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39523 209
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

We're in Beta

About us Mission Statement