Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Burrito Create Offline-First Desktop Apps with Phoenix/LiveView GUIs? #161

Open
PackMeister opened this issue Oct 31, 2024 · 1 comment

Comments

@PackMeister
Copy link

Found Burrito via the recently archived BakeWare repo.

I'm seeking a Javascript-free backend web environment that could ALSO be leveraged to create
cross-platform desktop/laptop application binaries.

So far this has been done with NodeJS/Electron, Rust-based/Tauri, or Dart-based/Flutter.

However, the benefits of Beam-based languages for robust, scalable and decentralized backend applications are well known and the Elixir/Phoenix/LiveView environment for Web applications looks rather compelling.

Were there a Beam-based environment/framework where local, offline-first desktop applications with UIs could leverage the Beam/Elixir/Phoenix/LiveView locally, that would seem to be an almost 'grail-like' environment.

Such an environment could create consistently uniform, robust, performant and scalable applications for any and all tiers, with the possible exception of deeply embedded or hard real-time.

Since Burrito is leveraging Zig and presumably its cross-compilation strengths, am I being too hopeful/optimistic about Burrito's present and future?

To-date has anyone used Burrito to successfully cross-compile and package an Elixir/Phoenix/LiveView desktop GUI application that runs on a Debian-based desktop, e.g. Debian-Gnome, Mint, Ubuntu, etc?

@PackMeister PackMeister changed the title Can Burrito Create Desktop Apps with Phoenix/LiveView GUIs? Can Burrito Create Offline-First Desktop Apps with Phoenix/LiveView GUIs? Oct 31, 2024
@doawoo
Copy link
Contributor

doawoo commented Nov 28, 2024

Heyo! Thanks for taking a look at the project. I'll try and answer your questions here:

  1. I know of plenty of people who use Burrito to wrap a local-first (usually using SQLite) Phoenix app. It's certainly doable, I'm not sure if there are any FOSS projects doing this but I know of a lot of folks doing this internally for their work project.

  2. We utilize Zig for the wrapper, and provide pre-compiled Erlang VM releases that work on most major platforms (Windows, MacOS and Linux). So longevity of the project should be decent. I plan on trying to improve and maintain this project for as long as I possibly can. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants