Elixir Livebook now as a desktop app

  • The Elixir ecosystem is growing incredibly well. I am impressed both from an engineering and a product perspective.

    It shows that they are playing the long game.

    I think they are achieving what I wished happen to the Clojure ecosystem: productive, well designed, respected and popular. Clojure missed the last step, unfortunately.

  • No Linux download :-(

    Nevertheless it's fairly easy to install[1]. If you have docker, you can just run the image to try it out:

         docker run -p 8080:8080 -p 8081:8081 --pull always livebook/livebook
    
    You may want to configure some things, so check out the options[2].:

    If you want a "native" install, after you have elixir installed you can use

         mix escript.install hex livebook
    
    and start it with

         livebook server
    
    Check out the readme for more configuration options[1]

    [1]: https://github.com/livebook-dev/livebook#installation

    [2]: https://github.com/livebook-dev/livebook#docker

  • Props to the Elixir community, it seems for some reason they've attracted a lot of people who have the will, the free time and the talent to provide amazing educational content. I've never seen a language of this size have so much quality learning material and tooling.

  • I'm currently reading an Elixir Patterns book (https://elixirpatterns.dev) which releases a side-by-side Livebook for the material with each chapter.

    It's a fantastic way to learn and a huge advantage over other languages, I think, to help build up the Elixir community.

  • I love the concept of local Web servers as GUI substitutes, and hope we get many more of those. Tachidesk is my favorite example. Thanks to Phoenix Liveview, Elixir is becoming a great option in this space. This method gives us every benefit of Electron and almost none of the downsides.

  • This is awesome! Starting it up from the terminal and going to the url was not super convenient for quick tasks and scripts, this is much better.

    Edit: one thing that would make it even nicer is if it would remember the folder and/or recently opened notebooks.

  • This idea is incredible, and extensible beyond these notebooks. I’d like to see something like this as a general code authoring/collaboration tool, would be nice to see when I’m working in the same code as a co-worker, or supercharged pair programming. Obviously scaled too large this would be chaos, but on a 6 person team I think this would be killer.

  • A super cool notebook, you should give it a try even without knowing Elixir with the tutorials coming with it :D

  • I’d be interested to see the details of how they did that. Very cool!

  • It would be crazy awesome if someone could figure out how to layer python underneath this. There is a very nice feature set in livebook that doesn't really exist in jupyter.

  • Any tips why would you want to learn Elixir or what would you use it for?

    I tried to learn it a couple of years ago. Bought a book and couldn't shake the impression that it was created to be complex and hard to reason about or maybe I am wrong and it is "easy", but has a steep learning curve?

    That being said, I looked at Go around the same time and I clicked instantly. Easy to read, simple and yet powerful.

  • Was excited for this. However on my M1 mac, it launched once, and now it won't open. Tried killing all processes and now nothing.

  • As someone who also doesn't know Jupyter, what sort of fun and useful things would I do with this? It looks like I can add content and some code blocks that I can execute. I guess taking notes and tinkering?

    I'm messing with Elixir just for fun, so this caught my eye.

  • not sure what the livebook is--the landing page is not sufficiently clear or coherent.

  • Related question: would people pay for this kind of localhost desktop app? I'd love to sell an elixir app without bothering Electron or Rust based engine.

  • Is it by any chance an Electron app?

  • How is Livebook using iframes? Is each notebook cell an iframe?

  • No support for Ubuntu?

  • How many layers can we do!! I’m guessing elixir to JavaScript to v8 or whatever the js vm was called in chrome. Then jit then binary.

    Communicating over a network or one of those chrome sockets to an elixir or erlang vm so someone else can manage your data.

    Life is good