4 ms·
Is it by any chance an Electron app?
by aaaaaaaaaaab 4y ago
Is it by any chance an Electron app?
- lytedev 4y agoSince Livebook is a web app, I would assume so.
- spiderice 4y agoI just installed it and it actually doesn't use Electron. It's basically just a local web server that runs on your computer, and opens a browser tab in your default browser pointing to http://localhost:60904/ http://localhost:60904/
- dmix 4y agoOn macOS this is a great app for turning browser web apps like these into dedicated 'apps': https://www.bzgapps.com/unite https://www.bzgapps.com/unite I use it with YNAB
- dugmartin 4y agoOr Fluid which is free except for a few features which cost $5 (https://fluidapp.com/ https://fluidapp.com/)
- ch4s3 4y agoIt uses an erlang binding for wxWidgets[1]. [1]https://www.wxwidgets.org/ https://www.wxwidgets.org/
- lvass 4y agoWhat for? The Livebook interface is built with Phoenix Liveview.
- ch4s3 4y agoThe window it runs in.
- lvass 4y agoIs this required in some OS and not another? A comment in this thread claims it just uses a browser tab.
- ch4s3 4y agoIt's used for the desktop app, as you can see here[1]. [1] https://github.com/livebook-dev/livebook/blob/355527f7e8034ef96a0ff1d7a27c5a30745585ae/lib/livebook_app.ex https://github.com/livebook-dev/livebook/blob/355527f7e8034e...
- powersurge360 4y agoThanks for linking this. I was interested in how it worked but I didn't know enough elixir to get around the codebase by myself. This entry point is very informative for how they managed to do it. I just looked at the macOS part, but the tl;dr for that is they seem to have compiled the elixir program into a binary and wrote enough swift to manage the lifecycle of the elixir program and signed it and notarized it and prepared it for shipment using CLI via shell! invocations. I didn't look at the windows way of doing things but I imagine it's similar.
- ch4s3 4y agoNo problem! The pr here[1] is also instructive, and here is the one for windows[2]. It seems similar-ish. [1] https://github.com/livebook-dev/livebook/pull/865/files https://github.com/livebook-dev/livebook/pull/865/files [2] https://github.com/livebook-dev/livebook/pull/1032/files https://github.com/livebook-dev/livebook/pull/1032/files