Notisbook is a local notebook UI with a Spark environment manager, built for people who develop data pipelines and want a complete lakehouse running on their own machine: .ipynb notebooks, Spark/PySpark and DuckDB kernels, AWS Glue (via Docker, on macOS), a local S3 storage (RustFS) and a catalog of Delta, Iceberg, Hudi and Parquet tables — no cloud and no shared server. It runs on macOS with Apple silicon and on Debian-based or Fedora-based Linux distributions.
Building a local environment that behaves like a lakehouse usually means wiring several pieces together by hand: a Spark version that matches the JDK, Delta/Iceberg/Hudi jars that match the Spark line, the right S3A connector for the Hadoop version, an S3-compatible object storage, a metadata catalog and a notebook editor. Each piece has its own version, credential and configuration, and a bad combination only shows up at runtime.
Notisbook packages those choices: it installs runtimes with pinned versions and hashes, starts and supervises the local storage, keeps a single catalog of tables and provides a local web UI to write and run notebooks.
- One local app, one process: the
notisbookcommand starts a server on127.0.0.1that serves the web UI and the API, and opens the browser already authenticated with a token generated on every run. - Isolated, versioned runtimes: each runtime (local Spark, DuckDB and, on macOS, AWS Glue 6.0 on Docker) is installed in its own immutable environment, with Jupyter kernels registered only for Notisbook.
- Local S3 storage: Notisbook starts and watches a RustFS server bound to loopback only, with a locally generated credential. Buckets show up in the Storage panel as
s3://<bucket>. You can also point to an external S3 endpoint (manual connection). - Single catalog: tables created by notebooks are registered in a local catalog; the catalog panel shows catalogs, schemas and tables without a running kernel.
- Destination rules: managed tables live in the reserved
notisbook-managedbucket; external tables can live in any other bucket. Writes that would break these rules are refused before anything is written.
- Reproducible environment: pinned versions and SHA-256 hashes for runtimes, jars, DuckDB extensions and the storage package.
- Nothing is exposed to the network: the server and the storage listen only on
127.0.0.1. - User data (lake, catalog, notebooks and preferences) is kept on uninstall.
- One place for notebooks, storage and catalog, installed and updated from the command line.
Productivity or performance gains are not measured in the code and are not claimed here.
- Develop and test PySpark notebooks with Delta Lake, Apache Iceberg or Apache Hudi before moving them to the cloud.
- Validate jobs on the AWS Glue 6.0 runtime locally (macOS only), with the Glue catalog served by Notisbook itself.
- Explore data with DuckDB reading the same Iceberg tables as the local catalog.
- Organize files in a local lake with the
landing/,bronze/,silver/andgold/folders created in thenotislakebucket. - Export notebooks as
.ipynb,.py(Databricks source format) or a static HTML report.
Data and analytics engineers who want a local lakehouse for development, on one of the supported platforms:
- macOS on Apple silicon (arm64). Intel Macs are not supported.
- Linux with glibc 2.28 or newer, on arm64 (aarch64) or x86_64, from a Debian-based distribution (for example, Ubuntu, Linux Mint, elementary OS or Pop!_OS) or a Fedora-based one (for example, Fedora Workstation, Fedora KDE, RHEL, Rocky Linux or AlmaLinux). Distributions based on musl, such as Alpine, are not supported.
| Item | macOS (Apple silicon) | Linux (Debian- or Fedora-based) |
|---|---|---|
| Command-line tools | curl, tar, gzip, shasum (already in macOS) |
curl, tar, gzip, sha256sum (the installer also accepts wget, but notisbook update needs /usr/bin/curl) |
| Spark runtimes | JDK 17 (Spark 3.x) or JDK 21/17 (Spark 4.x) | Same JDKs, found through JAVA_HOME or under /usr/lib/jvm |
| AWS Glue runtime | Docker running on Colima, or Docker Desktop 4.34+ with host networking enabled (see below) | Not available |
| DuckDB runtime | Nothing else | Nothing else |
AWS Glue on Docker Desktop: the Glue container runs with --network host, so Docker Desktop must have host networking turned on. Open Settings › Resources › Network, enable Enable host networking (Docker Desktop 4.34 or newer), then click Apply and restart. Without it, the Glue kernel does not become ready and Notisbook shows this same hint.
The installer never runs a package manager or sudo. When a tool is missing it stops and prints the command for your distribution, for example:
sudo apt-get update && sudo apt-get install -y curl ca-certificates # Debian-based
sudo dnf install -y curl # Fedora-basedOn Linux, install a JDK before running the installer if you want the default Spark runtime installed with the app (without a JDK 17/21 the installer skips Spark and you can add it later in Settings › Runtimes):
sudo apt-get install -y openjdk-17-jdk # Debian-based
sudo dnf install -y java-17-openjdk-devel # Fedora-baseduv is installed by the installer itself into ~/.local/bin when it is not already present.
Install from the latest published release (same command on macOS and Linux):
curl -LsSf https://github.com/ROM-mm/Notisbook/releases/latest/download/install.sh | shThe installer detects the platform, uses uv tool with Python 3.12, checks the SHA-256 of every downloaded file, installs the storage package for your platform into ~/.local/share/notisbook/notislake and, on a fresh install, installs the default runtimes (DuckDB and local Spark) and the sample notebooks. To install a specific release, add -s -- --version X.Y.Z after sh.
The notisbook command is installed in ~/.local/bin. The installer never edits your shell profile; it only checks whether that folder is in the current PATH and, when it is not, prints what to do:
-
Fedora-based distributions:
~/.local/binis already in the defaultPATH, so there is nothing to do — open a terminal and runnotisbook. -
Debian-based distributions: add the folder to your shell profile. The installer prints the exact line; with the default folder it is:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc # bash echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc # zsh
Then open a new terminal (or run
export PATH="$HOME/.local/bin:$PATH"in the current one). On Debian/Ubuntu,~/.profilealso adds~/.local/binon new logins once the folder exists; on a desktop, logging out and back in has the same effect. -
macOS: add the same
exportline to~/.zshrc, or runuv tool update-shell, as the installer suggests.
notisbookTo develop from source, ./start.sh at the repository root builds the frontend when needed and starts the backend with uv run (requires uv, node and npm).
notisbook --port 9000 --no-browser # another port, without opening the browser
notisbook --root ~/my-notebooks # pin the notebooks folder for this run (the UI cannot change it)
notisbook --check-storage # verify the storage package in a temporary folder
notisbook --runtimes-summary # list the installed Spark and DuckDB runtimes
notisbook update # update to the latest release (--version X.Y.Z picks another; downgrades are refused)
notisbook uninstall # remove the app; keeps your dataIn a notebook on the local Spark runtime, tables without LOCATION go to the managed bucket and s3:// paths are accepted:
spark.sql("CREATE TABLE bronze.sales (id INT, amount DOUBLE) USING delta")
spark.read.parquet("s3://notislake/landing/sales/")Run notisbook <command> --help for the full help of any command. Options marked "exits" do their job and exit without starting the server.
| Command | What it does |
|---|---|
notisbook |
Start the server on 127.0.0.1 and open the UI in the browser |
--port PORT |
Serve on another port |
--root ROOT |
Pin the notebooks folder for this run |
--no-browser |
Do not open the browser |
--version |
Print the installed version |
--check-storage |
Install the bundled storage into a temporary home, verify it (exits) |
--stop-running |
Stop the running Notisbook registered in the data folder, whatever its version (exits) |
--install-default-runtimes |
Install the default Spark and DuckDB runtimes (exits) |
--runtimes-summary |
List the managed Spark and DuckDB runtimes (exits) |
--seed-samples [--if-missing] |
Copy the bundled sample notebooks missing from the notebooks folder; with --if-missing, do nothing if the folder already exists (exits) |
update [--version X.Y.Z] |
Update to the latest release, or to the given one |
uninstall [--yes] |
Remove Notisbook and keep your data folder; --yes skips the confirmation |
integrations list |
List the integrations |
integrations kafka deploy |
Build the Kafka image and start the container (needs Notisbook open) |
integrations kafka status |
Show the broker state (works with Notisbook closed) |
integrations kafka enable |
Start the broker now and at every Notisbook launch |
integrations kafka disable |
Remove the container now and stop starting it |
integrations kafka remove [--delete-data] [--yes] |
Remove container and image, keeping files and data; --delete-data also empties the data folder (asks for confirmation unless --yes) |
integrations kafka topic list |
List the topics |
integrations kafka topic create NAME [--partitions N] [--if-not-exists] |
Create a topic with 1 to 8 partitions (default 1) |
integrations kafka topic describe NAME |
Show partitions, offsets and message count |
integrations kafka topic delete NAME [--yes] |
Delete a topic and its messages (asks for confirmation unless --yes) |
integrations kafka topic produce NAME (--file PATH|- | --sample NAME) [--key-field FIELD] [--create] [--partitions N] |
Load JSONL records into a topic |
Notisbook can run a local Apache Kafka broker in Docker, reachable at 127.0.0.1:9092. Automatic topic creation is disabled: topics are created explicitly with the commands below. The topic commands act only on Notisbook's own container.
- Docker Desktop or Colima running. If both are running, Notisbook uses Docker Desktop unless started with
NOTISBOOK_DOCKER_ENGINE=colima. - The Notisbook app open (
notisbook) fordeployand everytopiccommand. - A local Spark runtime installed — or reinstalled, if it was installed before the Kafka connector was added — in Settings › Runtimes.
notisbook integrations kafka deploy # build the image and start the container
notisbook integrations kafka enable # optional: also start it at every Notisbook launch
notisbook integrations kafka status # check the stateTopic names accept letters, digits, ., _ and - (up to 249 characters).
notisbook integrations kafka topic create orders --partitions 3 --if-not-exists
notisbook integrations kafka topic list
notisbook integrations kafka topic describe orders # partitions, offsets and message count
notisbook integrations kafka topic delete orders # asks for confirmation; add --yes to skipLoad the bundled synthetic sample (200 orders, no personal data), creating the topic if needed:
notisbook integrations kafka topic produce orders --sample orders --createLoad your own JSONL (one JSON object per line), from a file or from stdin, using a top-level field as the message key:
notisbook integrations kafka topic produce events --file ~/data/events.jsonl --key-field id --create --partitions 3
cat ~/data/events.jsonl | notisbook integrations kafka topic produce events --file - --key-field idThe whole input is validated before anything is published (limits: 10 MiB of input, 100 000 records, 512 KiB per record). A topic that does not exist is refused unless --create is given. At the end the command prints N/N confirmadas, counted from the topic offsets.
No configuration is needed: the Kafka connector is already on the classpath. The same code works in the local Spark kernel and in the AWS Glue kernel:
# Local Spark kernel
from pyspark.sql import SparkSession
spark = SparkSession.builder.getOrCreate()
# AWS Glue kernel: use these lines instead of the two above
# from awsglue.context import GlueContext
# from pyspark.context import SparkContext
# spark = GlueContext(SparkContext.getOrCreate()).spark_session
df = (
spark.read.format("kafka")
.option("kafka.bootstrap.servers", "127.0.0.1:9092")
.option("subscribe", "orders")
.option("startingOffsets", "earliest")
.load()
)
df.selectExpr("CAST(key AS STRING)", "CAST(value AS STRING)").show(truncate=False)- The local Kafka broker no longer creates topics automatically; topics are created explicitly.
- New
notisbook integrations kafka topic list|create|describe|delete|producecommands, with validated topic names, 1 to 8 partitions,create --if-not-existsand a confirmation ondelete. topic produceloads JSONL from a file, stdin or the bundledorderssample, with optional message keys (--key-field) and topic creation (--create), and reports the records confirmed by the topic offsets.- The local Spark runtime installs a pinned Kafka connector (in
spark.jars) when Spark is installed or reinstalled; Spark versions installed earlier must be reinstalled in Settings › Runtimes.spark.jars.packagesstill works. - The AWS Glue runtime uses the Kafka connector jars shipped in its image.
Apache License 2.0 — see LICENSE.
Author: Romerito Morais
Version: 20261201084513
Date: 2026-12-01 08:45:13
SKILL: Document