Sage

A fast, ergonomic terminal pager.

Page local files, whole directories, piped stdin, and remote content with a responsive TUI, strong search and find workflows, syntax highlighting, and a robust JavaScript plugin API.

CLI examples
Reference
sage README.md
sage src/
git diff | sage
sage https://example.com/
sage --compile-cache

Inputs can be files, directories, stdin, `http://`, `https://`, or `ssh://` URLs.

Why Sage

A pager-first CLI with a real documentation and automation surface.

Real input coverage

Open one file, a directory worth of files, piped stdin, or remote content without changing tools.

Operator ergonomics

Incremental search, cross-tab find, tab navigation, command mode, line index generation, syntax caches, and mouse support.

Programmable runtime

QuickJS plugins can react to pager events, register commands, persist bounded state, and make HTTP(S) requests.