Hi all,
I use nbviewer a lot for sharing notebooks, and when it’s been unavailable I’ve wanted a fallback, so I built a small one: nbview.org.
It’s fully client-side. The browser fetches the .ipynb straight from raw.githubusercontent.com and renders it locally, so there’s no server doing the rendering. It’s a static site, and the code is MIT licensed:
What it supports so far:
- Browsing public GitHub users, orgs and repos, and opening notebooks from them
- Pasting an nbviewer.org URL, which opens the same notebook
- Markdown with KaTeX math, highlighted code, HTML tables, PNG/JPEG/SVG outputs, ANSI-colored tracebacks, attachments
- Opening a local
.ipynbwithout uploading it anywhere - Links in the same URL pattern as nbviewer, e.g.
nbview.org/#/github/owner/repo/blob/main/nb.ipynb
Known limits:
- JavaScript outputs (ipywidgets, Plotly, Bokeh) aren’t executed, for safety. A note points to Colab instead.
- Public GitHub repos only, plus any direct
.ipynbURL that allows cross-origin requests - Folder browsing uses the GitHub API (60 requests/hour per visitor without a token). Opening notebooks doesn’t count toward that.
This isn’t meant to replace nbviewer, which does a lot more. I’d love feedback, especially notebooks that render badly, since edge cases in nbformat are where I expect bugs.
Thanks to everyone who maintains nbviewer and nbformat. Reading their work made this much easier to build.