GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Livebook
  • Integrations
  • Badges
  • Docs
  • What’s new?
  • Star us on GitHuband join our community

This view

  • Original page
  • New address

GeezerVison is showing livebook.dev β€” Home - Livebook.dev

Automate code & data workflows with interactive notebooks

Get rid of scripts, manual steps, and outdated docs. Use Elixir and Livebook to share knowledge, deploy apps, visualize data, run machine learning models, debug systems, and more!

Outline

Basic usage
Sections
Branching sections
Saving notebooks
Keyboard shortcuts
Autocompletion
Markdown extensions
Erlang support
Evaluation vs compilation
Running tests
Next steps

Welcome to Livebook

Using🍯My Hubworkspace

Basic usage

Livebook is a tool for crafting interactive and collaborative code notebooks.

Each notebook consists of a number of cells, which serve as primary building blocks. There are Markdown cells (such as this one) that allow you to describe your work and Code cells to run your Elixir code!

To insert a new cell move your cursor between cells and click one of the revealed buttons. πŸ‘‡

Evaluate
# This is a Code cell - as the name suggests that's where the code goes.
# To evaluate this cell, you can either press the "Evaluate" button above
# or use `Ctrl + Enter` (or Cmd + Enter on a Mac)!

message = "hey, grab yourself a cup of 🍡"
Evaluated
Amy
Jake
"hey, grab yourself a cup of 🍡"

Subsequent cells have access to the bindings you've defined:

Evaluate
String.replace(message, "🍡", "β˜•")
Evaluated
"hey, grab yourself a cup of β˜•"

Note however that bindings are not global, so each cell sees only stuff that goes above itself. This approach helps to keep the notebook clean and predictable as you keep working on it.

Install Livebook in just a minute

Livebook is open source, free, and ready to run anywhere.

Run on your machine

with Livebook Desktop

Mac (arm64)Mac (x64)WindowsLinux (arm64)Linux (x64)

Run in the cloud

on select platforms

Run on Hugging Face

To run on Linux, Docker, embedded devices, or Elixir’s Mix, check our README.

Do more with Livebook

Notebooks mix prose, code, and rich output. Livebook supercharges them with awesome features:

Interactive insights

Visualize your data using charts, tables, maps, and diagrams. Then add inputs and controls to make it all interactive.
Connect to
PostgreSQL
Assign to
conn
Hostname
localhost
Port
5432
Database
shop
User
postgres
Password
DATABASE_PASSWORD
Query
conn (PostgreSQL)
Assign to
result
select * from orders join users on users.id = user_id

Explore and automate

Use Smart cells to perform high-level tasks and write notebooks faster than ever! Join our growing community to learn and master new workflows, from database queries to Machine Learning models.

Collaborate as a team

Write code, analyze results, and document your findings together, in realtime.
Evaluate
defmodule Formulas do
  import Nx.Defn

  defn softm

  defn sigmoid(x) do
    1 / (1 + Nx.exp(-x))
  end

  defn relu(x) do
    Nx.m
  end
end
Stale*
Amy
Jake
Ζ’map/2
Ζ’map/3
Ζ’max/2Nx.max(left, right)
Ζ’mean/1
Ζ’mean/2
Ζ’min/2
Ζ’multiply/2
{:module, Formulas, <<70, 79, 82, 49, ...>>, {:relu, 1}}
ins

Reproducible workflows

Run your code in a predictable order, all the way down to package management. Livebook also tracks your notebook state, annotating which parts are stale.

Productivity at your fingertips

Livebook's code editor supports autocompletion, inline documentation, code formatting, and more. Plus keyboard shortcuts throughout the notebook.
..
..
@@ -1,6 +1,6 @@
1
1
# Introduction to Nx
2
2
3
- ## Elixir Nx
3
+ ## Numerical Elixir
4
4
5
5
Elixir's primary numerical datatypes and
6
6
structures are not optimized for numerical
7
7
programming. Nx is a library built to bridge
8
8
that gap
⁘
@@ -21,7 +21,7 @@ ## Numerical definitions

Write once, read anywhere

Notebooks are stored as .livemd files, a subset of Markdown that meshes together prose, code, and diagrams. Livebooks are easy to read, share, and version within your existing tooling.

Integrations

Livebook comes with built-in integrations with Elixir, Python, data sources, data visualization libraries, authentication providers, and more!Browse Integrations
Elixir logoElixirLanguage
Hugging Face logoHugging FaceMachine Learning
Slack logoSlackMessaging
PostgreSQL logoPostgreSQLDatabase
MySQL logoMySQLDatabase
Google BigQuery logoGoogle BigQueryData Warehouse
VegaLite logoVegaLiteVisualization
MapLibre logoMapLibreVisualization
Cloudflare Zero Trust logoCloudflare Zero TrustAuthentication
See All

Welcome to Livebook

Get to know Livebook, see how it works, and learn its features.

Open notebook
Distributed portals with Elixir

A fast-paced introduction to Elixir by building distributed data-transfer portals.

Build a chat app with Kino

Write and deploy a chat app with Kino control and frames.

Plotting with VegaLite

Learn how to quickly create numerous plots for your data.

Plot maps with MapLibre

Seamlessly plot maps using geospatial and tabular data.

Not familiar with Elixir?

Once Livebook is up and running, check out the Learn section to explore the language, the platform, and Livebook itself.Go to install
PLATINUM SPONSORS
Flyio Logo
SPONSORS
Tigris logo
You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.