Livebook
Realtime collaborative notebook app based on Markdown that supports running Elixir code snippets, TeX and Mermaid Diagrams. Easily deployed using Docker or Elixir.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Livebook is a free, open-source tool for writing interactive and collaborative code notebooks, developed and maintained by Dashbit. Its official positioning is to use Elixir and Livebook in place of scattered scripts, manual steps and outdated documentation, for sharing knowledge, deploying apps, visualizing data, running machine learning models, debugging systems and more.
A notebook is made up of cells. Markdown cells hold explanatory text, and code cells run Elixir code. Variable bindings are not global: each cell can only see what is defined above it, which keeps notebooks tidier and results more predictable.
Key Features
- Interactive insights: Present data with charts, tables, maps and diagrams, and add input fields and controls to make results interactive.
- Smart cells: Complete high-level tasks through a graphical configuration, such as connecting to databases like PostgreSQL and running SQL queries, which speeds up notebook writing; they cover workflows ranging from database queries to machine learning models.
- Real-time team collaboration: Multiple people can write code, analyze results and record conclusions at the same time.
- Reproducible workflows: Code runs in a deterministic order, and package management is included; Livebook tracks the state of the notebook and marks the parts that are out of date (stale).
- Efficient editor: Supports autocompletion, inline documentation and code formatting, and the whole notebook can be operated with keyboard shortcuts.
- Write once, read anywhere: Notebooks are saved as
.livemdfiles. This is a subset of Markdown that keeps text, code and charts together, making them easy to read and share, and they can be managed directly in existing version control tools (such as Git). - Rich integrations: Built-in integrations for Elixir, Python, Hugging Face, Slack, PostgreSQL, MySQL, Google BigQuery, VegaLite, MapLibre, Cloudflare Zero Trust and more.
Target Users and Use Cases
- Elixir/Erlang developers: learning the language, prototyping, debugging and exploring running systems.
- Data analysts and data engineers: querying databases and creating visualizations.
- Machine learning practitioners: running and experimenting with models using Nx and Hugging Face.
- Teams: writing runbooks, internal tools and knowledge documents as executable notebooks, which can also be deployed as apps (for example, the chat app built with Kino in the official tutorial).
Installation and Deployment
Livebook can run in a variety of environments:
- Desktop: Livebook Desktop: Installers are available for macOS (arm64 / x64), Windows (x64) and Linux (arm64 / x64, AppImage).
- Cloud: Can be deployed with one click on Hugging Face Spaces (based on a Docker template).
- Other options: It also runs on Linux, Docker, embedded devices and via Elixir's Mix tool; see the README in the GitHub repository for detailed steps.
Notable Points
- Free and open source, with the source code hosted on GitHub (livebook-dev/livebook) and the documentation published on HexDocs.
- A built-in Learn section includes tutorials such as an introduction to Livebook, an Elixir quick start (building distributed data-transfer portals), VegaLite plotting and MapLibre map drawing, so even users unfamiliar with Elixir can get started.
- Supports advanced features such as Erlang code, running tests in notebooks, and branching sections.
- Sponsors include Fly.io and Tigris.
Discover more
draw.io
Diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams.
Blinko
A personal note tool with AI features.
DailyTxT
Encrypted diary Web application to save your personal memories of each day. Includes a search function and encrypted file upload.
Firezone
Secure remote access gateway that supports the WireGuard protocol. It offers a Web GUI, 1-line install script, multi-factor auth (MFA), and SSO.
HedgeDoc
Realtime collaborative markdown notes on all platforms, formerly known as CodiMD and HackMD CE.
Jotty
Lightweight but powerful alternative for managing your personal, file based, notes and checklists.