https://github.com/lyovushka/netbook
A jupyter client for your terminal
https://github.com/lyovushka/netbook
ipython-notebook jupyter jupyter-notebook terminal textual tui
Last synced: 2 months ago
JSON representation
A jupyter client for your terminal
- Host: GitHub
- URL: https://github.com/lyovushka/netbook
- Owner: lyovushka
- License: mit
- Created: 2025-07-08T14:43:48.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-08-11T18:14:31.000Z (2 months ago)
- Last Synced: 2025-08-11T20:17:58.600Z (2 months ago)
- Topics: ipython-notebook, jupyter, jupyter-notebook, terminal, textual, tui
- Language: Python
- Homepage:
- Size: 2.96 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
A Jupyter notebook client for your terminal.
Built on the excellent [textual](https://github.com/Textualize/textual) framework with image support from [textual-image](https://github.com/lnqs/textual-image).## Demo

## Getting started
```
pip install netbook
jupyter-netbook [my_notebook.ipynb]
```## Terminal Support
| Terminal | Status | Image Support | Shift/Ctrl+Enter Support | Notes |
|------------------|---------|---------------|--------------------------|-------|
| Kitty | ✅ | ✅ TGP | ✅ Out of the box | Remap some keybindings |
| Foot | ✅ | ✅ Sixel | ✅ Out of the box | Sixel support is flaky |
| Contour | ✅ | ✅ Sixel | ✅ Out of the box | |
| ITerm2 | ✅ | ✅ Sixel | ✅ Out of the box | ITerm2 image protocal would probably be supported in the future |
| Wezterm | ✅ | ✅ TGP | ✅ Requires remapping | |
| Windows Terminal | ✅ | ✅ Sixel | ✅ Requires remapping | Things kind of work, sometimes... |
| Ghosty | 🤷 | ✅ TGP | ✅ Out of the box | I expect textual support of ghosty to improve |
| Alacritty | 🤷 | ❌ | ✅ Requires remapping | It is quite unlikely that alacritty will support images |
| Tmux | 🤷 | ✅ Sixel | 🤷 Not out of the box | Not sure how to remap the key bindings |
| Zellij | ❌ | ❌ | ✅ Out of the box | Sixels seems to confuse it quite a bit## Frequently asked questions
*Q:* Why are icons in the toolbar all jumbled up?
*A:* You need to have Font Awesome installed. Or you can download [nerd fonts](https://www.nerdfonts.com/) that already have the glyphs patched in.
*Q:* How to remap the keys in my terminal?
*A:* Euporie, a related project, has some [examples](https://euporie.readthedocs.io/en/latest/pages/keybindings.html)
## Development
You need to have [uv](https://docs.astral.sh/uv/) installed. To get set up just run
```
uv sync
uv run jupyter-netbook
```