What does HackerNews think of desktop?

Elixir library to write Windows, macOS, Linux, Android apps with OTP24 & Phoenix.LiveView

Language: Elixir

#15 in Android
#4 in Elixir
#42 in Linux
#31 in macOS
#19 in Windows
Amazing for:

- Web -> Phoenix ( https://www.phoenixframework.org/ )

- Parallel data processing (like scrapers, ETLs, etc...) -> GenStage / Flow / Broadway ( https://hexdocs.pm/gen_stage/GenStage.html )

- IOT -> Nerves ( https://www.nerves-project.org/ )

Soon:

Mobile Apps -> Elixir Desktop ( https://github.com/elixir-desktop/desktop )

ML -> NX ( https://github.com/elixir-nx )

Exciting work is happening in all of these areas...

> desktop

Elixir Desktop: https://github.com/elixir-desktop/desktop

> mobile development

LiveView Native: https://www.youtube.com/watch?v=dnDGh_Jmw-s

> front end web

LiveView?

> command line tools

Mix.Install: https://thinkingelixir.com/elixir-1-12-and-your-first-mix-in...

How about numerical computing / machine learning: https://github.com/elixir-nx/nx/tree/main/nx

Embedded: "yes there's Nerves". Exactly?

I would like to know the difference between LiveView Native and Elixir Desktop [1]. It seems that both projects are in the same space. However, it is not clear which one should I pick for cross-platform development.

[1] https://github.com/elixir-desktop/desktop

It is not on the phone, no. I'm sure eventually you could run it on the phone like Elixir Desktop[1], but that isn't what it is at the moment. The phone connects to the server via a websocket and the SwiftUI "DOM" is pushed to the client just like HTML would be. In fact, I already built a hybrid Web & Native demo[2] that demonstrates that it's just bog-standard LiveView.

[1] https://github.com/elixir-desktop/desktop

[2] https://natetodd.com/building-for-web-and-native-with-livevi...

I think you may be looking for this neat library: https://github.com/elixir-desktop/desktop

Although to be honest it boggles my that it's possible to accomplish this on iOS.

I haven't used it, but in a recent Thinking Elixir episode, they talked about Elixir-Desktop, which supports Android and iOS, as well as the standard Windows/Mac/Linux

https://github.com/elixir-desktop/desktop

I love Rubular and use it often. The "Regex Quick Reference" block is so incredibly useful too when you don't completely remember that one thing.

However it is closed source, and it sends your info to the server for processing. This is of course not (likely) nefarious, but it does give me a little pause, and means that you should never use it if the data you are putting into it is sensitive!. For example, don't test your API key parsing regex on it with real/active keys! Also for corporate dev you are (probably) violating company policy by using it.

Rubulex[1] is a neat open source clone that I use a lot. The only downside is I have to start it locally. One of these days I'll stand up a permanent instance, though I don't want to do that without auditing the code and I simply haven't had time to do that. If anyone has done so I'd love to hear about it. Scriptular[2] is an open source clone that uses javascript:

Side note: If anyone knows of or wants to build an Elixir regex tool in Phoenix/LiveView, I'd be willing to collaborate a bit and willing to host/maintain (and I'll pay for the VM/domain). I've already got some Phoenix apps running in prod so if you get it to work with `mix phx.server` I can take it from there (I know that operationalizing and devops isn't what usually interests most people). A non LiveView version would be cool too, but it seems like such a cool project to build with LiveView to be super responsive and show off what you can do (and also learn Elixir/Phoenix/LiveView with a simple app). Would be really neat to release an elixir-desktop[3] version too! My email is in my profile if you are interested.

[1]: https://github.com/ofeldt/rubulex

[2]: https://github.com/jonmagic/scriptular

[3]: https://github.com/elixir-desktop/desktop