Skip to content

ArthurSonzogni/json-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 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 300 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

  • Snap package: sudo snap install json-tui. /!\ File access is confined to your home.
  • Deb package: Available in release page.
  • RPM package: Available in release page.
  • Arch linux package: Available as AUR package.
  • Binaries: Available in release page.

Authors:

  • Arthur Sonzogni
  • You? (PR are welcomed)

Similar projects: