LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

otree

interactive TUI tree viewer for structured data

TLDR

View a JSON file
$ otree [path/to/file.json]
copy
View YAML from stdin
$ cat [file.yaml] | otree
copy
View a TOML file
$ otree [path/to/file.toml]
copy
View an XML file
$ otree [path/to/file.xml]
copy

SYNOPSIS

otree [options] [file]

DESCRIPTION

otree is a command-line tool for viewing structured data objects (JSON, YAML, TOML, XML) in an interactive TUI tree widget. It was designed to handle deeply nested Kubernetes YAML files and similar complex configurations. It supports root-changing, scaling, and clipboard operations.Navigation keys and colors are configurable via ~/.config/otree.toml.

PARAMETERS

--debug

Write debug logs to a file.
-h, --help
Display help message.
-V, --version
Display version information.

INSTALL

sudo apk add otree
copy
brew install otree
copy
nix profile install nixpkgs#otree
copy

CAVEATS

Only supports structured data formats (JSON, YAML, TOML, XML). Plain text files cannot be displayed.

HISTORY

otree was created by fioncat and is written in Rust.

SEE ALSO

jq(1), yq(1), jnv(1), fx(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid