A simple web-based Jupyter Notebook viewer.
This project allows you to view Jupyter Notebook files (.ipynb) directly in the browser (read-only), similar to the original Jupyter Notebook interface.
The core idea of the app is straightforward. The rendering process follows these steps:
- Parse the notebook file (
.ipynb), which uses a JSON-based format - Normalize notebook cells (markdown, code, outputs, etc.)
- Convert the parsed notebook structure into HTML elements
- Apply syntax highlighting using
highlight.jsfor code cells - Render the generated HTML inside an
<iframe> - Provide an option to download the notebook as an HTML file
The web app is live and ready to use:
👉🏻 https://farrelad.github.io/Jupyter-NB-Viewer/