json-tui
Features
-
Interactive: Use keyboard or mouse to scroll/expand objects.
-
Colors
-
Responsive: Adapt to the terminal dimensions. Very long text values are wrapped on several lines.
-
Cross-platform: Windows, Linux, MacOS.
-
Small: ~0.7MB all included. Zero dependencies.
-
The output is displayed inline with the previous commands. Meaning you can still see the json after leaving json-tui.
-
(Vim users): Also support
j
/k
for navigation. -
Table view: Turn arrays of objects into tables.
Features for developers
- simple: Only ~400 line of C++ only. Depends on FTXUI.
- No dependencies to install. Build simply using CMake.
Build:
mkdir build; cd build
cmake ..
make
sudo make install
Package
- Binaries: Available in release page.
- Deb package: Available in release page.
- RPM package: Available in release page.
- Arch package: Available as AUR package.
- Snap package: /!\ File access is confined to your home.
sudo snap install json-tui
Contributors:
Contributor | Work |
---|---|
Arthur Sonzogni | Author & Maintainer |
Igor Rudenko | Refactoring. Fix buffer size when reading from a file. |
Corentin Girard | Arch linux package. |
Adrià Arrufat | Fix CMake build caused by GIT_SHALLOW TRUE |
You? | (PR are welcomed) |