explaingit

livebook-dev/livebook

5,783ElixirAudience · developerComplexity · 3/5Setup · easy

TLDR

An interactive notebook app for the Elixir language where you mix written notes with runnable code blocks, see results inline, and collaborate with others in real time.

Mindmap

mindmap
  root((Livebook))
    What it does
      Interactive notebooks
      Mix code and text
      Real time collaboration
    Output Types
      Charts via Vega-Lite
      Data tables
      Math formulas
    Notebook Files
      Saved as markdown
      Git friendly
      Portable across machines
    Install Options
      Desktop app
      Docker image
      Raspberry Pi firmware
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Write and run Elixir code experiments alongside explanations in one shareable notebook file.

USE CASE 2

Build interactive data visualizations and charts in Elixir without a separate frontend.

USE CASE 3

Connect Livebook to a running production Elixir app to explore and document its live state interactively.

USE CASE 4

Share a reproducible tutorial where readers can edit and run every code example themselves.

Tech stack

ElixirKinoVega-LiteKaTeXMermaidDocker

Getting it running

Difficulty · easy Time to first run · 5min

A one-click desktop installer is available for Windows, macOS, and Linux, no Elixir installation required.

In plain English

Livebook is an interactive notebook application for the Elixir programming language. A notebook in this context is a document where you mix written text (formatted with Markdown) with code blocks that you can run on demand, seeing the results directly below the code. This format is common in data science and learning contexts, and Livebook brings it to the Elixir ecosystem. Each code cell runs Elixir, and the results appear inline. Supported output types go beyond plain text: you can display charts using the Vega-Lite specification, render data tables, show maps, and other interactive visualizations through a companion library called Kino. Mathematical formulas (via KaTeX) and diagrams (via Mermaid) can also be embedded in the text portions of a notebook. Livebook is designed with reproducibility in mind. Code runs in a defined order, the runtime tracks which cells are stale (meaning their inputs have changed since they last ran), and package management is included so notebooks work consistently across different machines. Multiple users can edit the same notebook at the same time without any extra configuration. Notebooks are saved as .livemd files, which are a subset of Markdown. This means notebook files are plain text, readable in any editor, and work well with version control systems like Git. Installation options include a desktop app for Windows, macOS, and Linux, a Docker image, a command-line script for machines with Elixir already installed, and a firmware build for embedded devices such as Raspberry Pi. Livebook can also connect to an existing running Elixir application, which makes it a useful tool for exploring and documenting live systems.

Copy-paste prompts

Prompt 1
Set up a Livebook notebook that fetches data from a public API using Elixir's HTTPoison, transforms it, and displays it as a Vega-Lite bar chart.
Prompt 2
Show me how to use Kino in Livebook to create an interactive input form that re-runs a computation every time the user changes a slider value.
Prompt 3
How do I connect my running Phoenix app to Livebook so I can query its Ecto database and inspect live data?
Prompt 4
Create a Livebook tutorial notebook teaching GenServer basics with runnable examples and inline explanations.
Open on GitHub → Explain another repo

← livebook-dev on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.