• Stars
    star
    342
  • Rank 123,697 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A JSON terminal UI made in C++

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:

More Repositories

1

FTXUI

💻 C++ Functional Terminal User Interface. ❤️
C++
6,828
star
2

Diagon

Interactive ASCII art diagram generators. 🌟
C++
1,619
star
3

OpenGL_CMake_Skeleton

❤️ A ready to use cmake skeleton using GLFW, Glew and glm. 👍
C++
287
star
4

git-tui

Collection of human friendly terminal interface for git.
C++
138
star
5

smk

SMK - Simple multimedia kit - C++ WebAssembly
C++
126
star
6

rgb-tui

Create and get colors code from the terminal using a nice interface.
C++
82
star
7

nlohmann_json_cmake_fetchcontent

A lightweight Release-tracking repository for nlohmann/json. Suitable for CMake fetchcontent. Automatically upgraded every weeks.
C++
78
star
8

ftxui-starter

A starter project using the FTXUI library
HTML
73
star
9

smkflow

A C++ dataflow node editor -- Compatible with WebAssembly.
C++
64
star
10

asm-dom-cmake

Virtual dom for C++ using asm-dom and cmake
CMake
25
star
11

FluidScripten

HTML fluid simulation using Emscripten, C++, cmake.
C++
24
star
12

CppBot

Portable C++ tools for bot creations : keyboard and mouse event generations, screen capture !
C++
23
star
13

chrome-log-beautifier

Make Chrome log fancy. Demultiplex by process/thread + colorize.
C++
17
star
14

termBreaker

C++
16
star
15

CommitTracker

A D3 visualisations of web browsers commits
Vue
14
star
16

gcloud-cpp-starter

[Starter project] web server & client. Fully C++/WebAssembly. Server runs on google cloud function. Client uses a C++ virtual dom.
C++
12
star
17

IceMaze

WebAssembly game: a sliding block adventure.
C++
12
star
18

light-flow-editor

A raytracer of implicit geometry bundled with a Node based editor.
C++
10
star
19

ANTLR-cmake-starter

❤️ A ready to use CMake + ANTLR simple starter with not dependencies. 👍
C++
10
star
20

InTheCube

The webassembly port of InTheCube
C++
9
star
21

pigami

A rolling block game
C++
8
star
22

cmake-Qt5-example

A simple example with Qt 5 and CMake
C++
7
star
23

OpenGL_CMake_Skeleton_WebAssembly

❤️ A ready to use cmake OpenGL skeleton supporting WebAssembly using GLFW, Glew and glm. 👍
C++
6
star
24

postwimp

Volumic 3D painting
C++
5
star
25

smk-starter

A starter project for the SMK library.
C++
5
star
26

neovim-configuration

my personal neovim configuration
Lua
3
star
27

learn-webgpu

C++
3
star
28

ANTLR-cmake-Emscripten-starter

❤️ A ready to use CMake + ANTLR + Emscripten (WebAssembly) simple starter with not dependencies. 👍
C++
3
star
29

gn

Mirror of the GN build system repository. Updated daily. https://gn.googlesource.com/gn/
C++
3
star
30

dawn

Mirror of the dawn (WebGPU) repository. Updated daily.
C++
3
star
31

wasm-simd-instruction-list

2
star
32

Animation3D-Ensimag-Starter

TP d'animation 3D
C++
2
star
33

Terra

A 3D world constructor using C++, OpenGL and SFML
C++
2
star
34

chromiumos-platform2

Mirror of the chromiumos/platform2 repository. Updated daily.
C++
1
star
35

wgpu-starter

Saving of my first working webgpu project in C++
C++
1
star
36

neural-webgpu

Testing webgpu for building neural networks.
C++
1
star
37

EnsimagZenithPlus

Script Greasmonkey apportant diverses améliorations au ZENITH de l'Ensimag.
JavaScript
1
star
38

ftxui-window

C++
1
star
39

GPGPU-HPC

C++
1
star
40

StrangeMansion

C++
1
star
41

asm-dom-starter

💥 An example with asm-dom (virtual HTML dom with C++)
JavaScript
1
star
42

Parallel

A 2D game about the same character in 2 different parallale world. You play both of them at the same time.
C++
1
star
43

chrome-dangling-ptr-apply-edit

C++
1
star
44

ChromeDanglingUntriagedTracker

C++
1
star
45

vim-configuration

My vim configuration
Vim Script
1
star
46

PartitionAlloc

Mirror of the chromium partition_alloc repository. Updated daily.
C++
1
star
47

webgpu-dawn-cmake-test

I am testing dawn - https://dawn.googlesource.com/dawn
C++
1
star
48

ChromeSpanificationTracker

C++
1
star
49

SyntheseImage

C++
1
star