Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthursonzogni/json-tui
A JSON terminal UI made in C++
https://github.com/arthursonzogni/json-tui
arthursonzogni cpp ftxui json terminal tui ui
Last synced: about 10 hours ago
JSON representation
A JSON terminal UI made in C++
- Host: GitHub
- URL: https://github.com/arthursonzogni/json-tui
- Owner: ArthurSonzogni
- License: mit
- Created: 2022-01-02T21:50:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-26T13:14:43.000Z (5 months ago)
- Last Synced: 2024-06-21T16:28:40.964Z (5 months ago)
- Topics: arthursonzogni, cpp, ftxui, json, terminal, tui, ui
- Language: C++
- Homepage:
- Size: 396 KB
- Stars: 326
- Watchers: 6
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
json-tui
========![Video](demo.webp)
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)](https://user-images.githubusercontent.com/4759106/149676534-e73b2bcc-1eef-4dde-901e-8381e9ca8f87.gif)Features for developers
-----------------------
- **simple**: Only ~400 line of C++ only. Depends on [FTXUI].
- No dependencies to install. Build simply using CMake.Build:
------
```bash
mkdir build; cd build
cmake ..
make
sudo make install
```Package
--------- Binaries: [Available](https://github.com/ArthurSonzogni/json-tui/releases) in release page.
- Deb package: [Available](https://github.com/ArthurSonzogni/json-tui/releases) in release page.
- RPM package: [Available](https://github.com/ArthurSonzogni/json-tui/releases) in release page.
- Arch package: [Available](https://aur.archlinux.org/packages/json-tui-bin/) as AUR package.
- [Snap package](https://snapcraft.io/json-tui): /!\ File access is confined to your home.
```
sudo snap install json-tui
```Contributors:
--------Contributor | Work
:---|:--
[Arthur Sonzogni](https://github.com/ArthurSonzogni) | Author & Maintainer
[Igor Rudenko](https://github.com/hextriclosan) | Refactoring. Fix buffer size when reading from a file.
[Corentin Girard](https://github.com/Drarig29) | Arch linux package.
[Adrià Arrufat](https://github.com/arrufat) | Fix CMake build caused by `GIT_SHALLOW TRUE`
*You?* | (PR are welcomed)
Similar projects:
----------------
- https://github.com/antonmedv/fx
- https://github.com/skanehira/tson
- https://github.com/cielong/pyfx[FTXUI]:https://github.com/ArthurSonzogni/FTXUI