Automate code & data workflows with interactive Elixir notebooks
open sourceApache-2.0self-hostablefree
Livebook is an open source web application for interactive, collaborative code notebooks in Elixir: Markdown cells mix with code cells that it evaluates in a predictable order, tracking which cells are stale and pinning package versions so notebooks reproduce. Smart cells generate code for common jobs (querying PostgreSQL, MySQL, BigQuery or Snowflake, plotting charts, building maps, running Hugging Face models), Kino renders interactive tables, charts and inputs, and several people can edit one notebook at once. Notebooks are .livemd files, a Markdown subset that diffs cleanly in Git, and they can run in a fresh runtime, attach to a running Elixir node or run inside an existing project, which makes Livebook useful for introspecting production systems and runbooks. Notebooks also deploy as multi-session apps. It's Apache-2.0, runs as a desktop app for macOS, Windows and Linux, in Docker or on Hugging Face Spaces, and is made by Dashbit with Fly.io and Tigris as sponsors.
Ways to install
On your own server
Package managers
Problems it solves
- a Jupyter-style notebook for Elixir where I can explore data and document what I find
- connect a notebook to my running Elixir production node to inspect state and debug safely
- write runbooks for production operations that engineers can execute step by step
- teach Elixir with interactive notebooks students can run on their own machines
- turn a notebook into a small internal web app with inputs and forms for my team
- query a Postgres or BigQuery database and chart the results without writing boilerplate
- run machine learning models from Hugging Face in Elixir with Nx and Bumblebee
- notebooks stored as Markdown that review nicely in pull requests
- edit the same notebook with a colleague in real time
- know which cells are out of date after I change an earlier cell
- reproducible notebooks where package versions are pinned in the notebook itself
- document an existing Elixir project with live examples that use its own modules
- run a notebook server on a Raspberry Pi or other embedded device
- put my company's identity provider in front of a shared notebook server with Cloudflare Access or Google IAP
- a desktop app to try Elixir code without installing Elixir first
- expose an HTTP endpoint from a notebook to receive webhooks while prototyping
- use Vim or Emacs key bindings in a browser notebook
Features
- Markdown and Elixir code cells, with Erlang support
- reproducible evaluation order, stale-cell tracking and package management
- Smart cells for databases (PostgreSQL, MySQL, SQL Server, SQLite, BigQuery, Snowflake), charts, maps, Slack and Hugging Face models
- Kino for interactive output: Vega-Lite charts, tables, maps, inputs and forms
- real-time multi-user collaboration
- .livemd notebook format with Mermaid diagrams and KaTeX math
- runtimes: standalone, attached to a running node, or embedded in an existing Mix project
- notebooks deployed as single- or multi-session apps
- CodeMirror editor with autocompletion, inline docs, formatting, go to definition and Vim or Emacs key bindings
- Livebook Desktop for macOS, Windows and Linux; Docker images, including CUDA builds; Nerves firmware for embedded devices
View 4 more
- authentication with a token or password, or Cloudflare Zero Trust, Google IAP, Tailscale or basic auth
- clustering of several Livebook instances
- Run in Livebook badges to import notebooks from anywhere
- Livebook Teams: deploy notebook apps to your own servers, OIDC SSO, groups, audit logs, shared secrets and file storage
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Livebook does.
- Deepnote A data notebook for the AI era
- Google Colab Hosted Jupyter notebooks with free GPUs and TPUs
- marimo A reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps
- Hex The Analytics platform for humans and agents
- JupyterLab Web-based environment for interactive and reproducible computing with Jupyter notebooks
- Quarto An open-source scientific and technical publishing system