High Performace IDE for Jupyter Notebooks
High Performance IDE for Jupyter notebooks.
Any Jupyter kernel, one static binary, a fraction of JupyterLab's resource use.
Documentation · Downloads · Installation · Slack
Zasper is an IDE for Jupyter notebooks, designed from the ground up for concurrency and a small
footprint. It implements Jupyter's wire protocol,
so it runs any Jupyter kernel, and it reads and writes the .ipynb format directly, so notebooks
move between Zasper and JupyterLab unchanged.
Zasper is a single static binary with no runtime dependencies. It serves its interface to your browser, on your own machine or on a server you share.
In benchmarks against JupyterLab, Zasper uses:
with higher throughput and lower latency, and it stays responsive under very high load.
The methodology and full results are in the benchmark report.
Current release version: v1.1.0
| Platform | Support |
|---|---|
| macOS | Supported |
| Linux | Supported |
| Windows | Binaries are published and notebooks run, but terminals are not available yet and some kernel paths are less well exercised. For terminals and the best experience, use WSL. |
Requirements. Zasper runs notebooks on Jupyter kernels but does not install one:
pip install ipykernel is enough to start (see Jupyter kernels). You also
need a modern browser, since Zasper serves its interface locally rather than being a separate
desktop application. Without a kernel, Zasper still starts and the Launcher tells you what to
install.
brew tap zasper-io/tap
brew trust zasper-io/tap
brew install zasper-io/tap/zasperHomebrew 6 loads nothing from a third-party tap until you trust it, which is what brew trust
records. If you installed 0.x through Homebrew, run brew uninstall zasper first: from 1.0,
Zasper is published as a cask rather than a formula.
sudo snap install zasperconda install -c conda-forge zasperEvery release ships a signed, notarized macOS
build and static binaries for Linux and Windows. The Linux archives are plain tarballs: one build
serves every distribution. There is no .deb or .rpm yet.
| Platform | Architecture | Archive |
|---|---|---|
| macOS | Apple Silicon | zasper-webapp-<version>-darwin-arm64.tar.gz |
| macOS | Intel | zasper-webapp-<version>-darwin-amd64.tar.gz |
| Linux | x86-64 | zasper-webapp-<version>-linux-amd64.tar.gz |
| Linux | ARM64 | zasper-webapp-<version>-linux-arm64.tar.gz |
| Linux | i386 | zasper-webapp-<version>-linux-386.tar.gz |
| Windows | x86-64 | zasper-webapp-<version>-windows-amd64.zip |
| Windows | ARM64 | zasper-webapp-<version>-windows-arm64.zip |
| Windows | i386 | zasper-webapp-<version>-windows-386.zip |
Each release carries a zasper_<version>_checksums.txt. Verify a download with
sha256sum -c zasper_<version>_checksums.txt --ignore-missing. The same archives are listed on the
downloads page.
An image can be built from docker/; see docker/README.md.
Run zasper in the directory you want to work in:
…Zasper opens the Sign in with link in your default browser, so you arrive already signed in.
It does this on macOS and Windows, and on Linux when there is a display. Pass --no-browser to
leave the browser closed, for example on a machine you reach over SSH, and open the link
yourself.
Zasper always runs in protected mode: every route except the health check needs a session, and a session comes from the access token printed at startup.
zasper --host=0.0.0.0 --no-browser--host makes the server reachable from other machines. Zasper binds 127.0.0.1 by default;
widen it only when you mean to. Bound to 127.0.0.1, it answers only to localhost, 127.0.0.1 and
[::1], which stops a web page that points its own domain at your machine from reaching it; a name
of your own for the loopback address needs --host too. The banner then reports the wider binding:
Bound to: 0.0.0.0:8048
️ Webapp available at: http://localhost:8048
Server Access Token: 14be1b674a3b9196a82c01129028d0dd
Sign in with: http://localhost:8048/?token=14be1b674a3b9196a82c01129028d0ddOn your own machine there is nothing to do: Zasper opens your browser already signed in. Otherwise, sign in either way:
The banner's links say localhost, because they are written for a browser on the server itself.
From another machine, replace localhost with the server's hostname or IP address, for example
http://my-server:8048/?token=….
When Zasper's output is not a terminal (under Docker, systemd, or piped to a file), it logs one
JSON line instead of the banner; the token is that line's access_token field.
ZASPER_LOG_FORMAT=console brings the banner back.
A session lasts 24 hours, after which you sign in again. It is an HttpOnly cookie, so no script
running in the page can read it, and Sign out ends it on the server, so a copy of it stops working
too. A client that is not a browser can send the token from /auth/login's answer as
Authorization: Bearer … instead. After ten wrong tokens in a minute, sign-in from that address waits
out the rest of the minute.
A new access token is generated every time the server starts, and open sessions are signed with a key derived from it — so a restart both changes what you type and signs everyone out. Set the token yourself to keep a link you have handed out working, and to leave signed-in browsers signed in:
export ZASPER_ACCESS_TOKEN=your-access-tokenThere is nothing else to configure: sessions follow the access token, and changing it signs everyone out on purpose. Sign-outs are remembered only while the server runs, so with the token pinned, a session signed out before a restart works again after it until its 24 hours are up.
The file browser and the editor follow symbolic links, including ones that lead out of the project,
so a data folder linked to a large mount opens like any other. It also means a project containing a
link to ~/.ssh shows those files, as a terminal in the project would. Saving over a file that is
itself a link out of the project is refused.
Zasper works with any kernel that implements the Jupyter protocol, including:
To see the kernels installed on your machine, run jupyter kernelspec list. The quickest way to
get a Python kernel is:
pip install ipykernelconda create --name my-env -c conda-forge ipykernel
conda activate my-env
python -m ipykernel install --user --name=my-envuv init my-project && cd my-project
uv add ipykernel
uv run python -m ipykernel install --user --name=my-projectOnce registered, the environment appears in the Launcher and in each notebook's kernel picker.
Zasper reads and writes the .ipynb format directly. Two guarantees are worth stating outright:
| Output | Status |
|---|---|
text/plain, stdout/stderr, tracebacks |
✅ |
text/html |
✅ |
image/png |
✅ |
Plotly figures (application/vnd.plotly.v1+json) |
✅ |
ipywidgets (application/vnd.jupyter.widget-view+json) |
✅ |
application/json |
✅ |
| Markdown cells: GFM tables, task lists, raw HTML, LaTeX via KaTeX | ✅ |
image/svg+xml |
✅ |
text/latex |
✅ |
image/jpeg |
✅ |
text/latex — what SymPy emits under init_printing() — is typeset with KaTeX, the same renderer
markdown cells use. image/svg+xml, which graphviz and networkx produce and which matplotlib
produces under %config InlineBackend.figure_format = 'svg', is inlined rather than wrapped in an
``, so a figure that sizes itself to the cell still can.
text/html output can carry scripts that run when the notebook is opened,
which is how Plotly and Bokeh outputs drawNo open issues yet, or sync has not completed.