LiveBook is a web app that lets you write markups and run pieces of Elixir code and more… like viewing data, maps, chart, diagrams.
You can think of it as one place to quickly learn and experiment with Elixir code, arrange your thoughts and explore data. All of these can be stored and shared, even concurrently worked upon by folks, with a convenience of single installation.
It’s like iex, but in your web browser.
If you ever accidentally entered a new line in the middle of expression and didn’t know how to stop iex from interrupting itself completely, don’t type #iex:break, use Livebook instead!
You can use the same iex short functions - just import IEx.Helpers in the “Notebook dependencies and setup” at the top of your notebook.
You can add dependencies and even search for them by typing keywords.
Auto-completion actually works even on Windows and OTP < 26 - just wait a few seconds. Help windows popup as you type. Hover over symbols and see what they represent.
You organize your interactions using separate notebooks.
You can add your notes as you go.
The resulting notebook file is a valid Markdown, to share quickly or save for the future.
If you forget to save them, they are auto saved. You can restore it right from the Livebook.
You can attach to a running iex session if you initiate iex with iex --sname test --cookie mycookie. That includes your Phoenix app (just add -S mix phx.server). Simply tap Processor icon, Disconnect and Configure an attached node.