Preview Jupyter Notebooks In Finder

Press Space on an .ipynb file and read it as cells, with its saved outputs, without starting Jupyter

  • Works without the Space helper
  • Free and open source
  • macOS 13+
analysis.ipynbRaw
The sample notebook, analysis.ipynb, shown as its cells: drawn in HTML, not a screenshot.

Quick Look can’t draw a .ipynb. spacebar takes Space for notebooks and lays them out as Jupyter does: each cell with its prompt and saved output, the folder in the sidebar.

What A Notebook Shows

Nothing runs: there’s no kernel.

Raw, Find And Copy

RawThe notebook’s JSON, for as long as the preview stays open
⌘FFind; Copy takes the text
OpenHands it to your editor

Limits

Questions

Do I need Jupyter or Python installed?

No. spacebar reads the notebook file and draws the outputs saved in it. Nothing is run.

Does it work in Quick Look, or only in spacebar’s window?

Both. Space on a notebook opens spacebar’s Quick Look extension, no Space helper needed, and the sidebar shows it the same way.

Why is my notebook shown as text?

It is over 16 MB, or its JSON isn’t a notebook spacebar can read. Raw always shows the file as it is.

More: JSON, CSV, code, file types.

Install It

Download for Mac

Or paste this in Terminal

curl -fsSL https://spacebar.patebryant.com/install.sh | sh

The script downloads the latest notarized release from GitHub, checks its SHA-256 and installs to ~/Applications, no sudo. Read the script.