Skip to content

ArthurSonzogni/json-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-tui

Video

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.

    Video

    ezgif com-gif-maker (7)

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

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)

Similar projects: