Notebooks, JSON Lines and logs in the terminal

The SSH workspace opens .ipynb, .jsonl/.ndjson and .log/.ansi files the way the blob page does, from the same parsers (parseNotebook in src/web/render/notebook.ts, parseJsonl, ansiLines, logLevel in src/web/render/log.ts). Drawing lives in src/tui/screens/workspace_kinds.ts.

Press s to flip between the view and the source text; the footer names the other view. In edit mode the source is always shown.

Limits, always said on screen: a JSON Lines table shows the first 500 rows and ends with "N more rows not shown"; a notebook or log shows 10,000 lines and ends with "N more lines not shown". A notebook is cut at 2,000 cells with "N more cells not shown".

Fallback: a file that is not valid JSON (notebook), has no cell list, or has no JSON object lines (jsonl) has no view and opens as source, as it always did. An empty log is empty.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs