Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleksis/jtree
jtree is a command line interface (CLI) for displaying JavaScript Object Notation (JSON) in a tree view
https://github.com/oleksis/jtree
explorer json tui viewer
Last synced: 3 months ago
JSON representation
jtree is a command line interface (CLI) for displaying JavaScript Object Notation (JSON) in a tree view
- Host: GitHub
- URL: https://github.com/oleksis/jtree
- Owner: oleksis
- License: mit
- Created: 2022-12-11T09:39:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T19:11:40.000Z (over 1 year ago)
- Last Synced: 2024-05-15T14:33:59.243Z (9 months ago)
- Topics: explorer, json, tui, viewer
- Language: Python
- Homepage:
- Size: 129 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-textualize-projects - Jtree - A command line interface (CLI) for displaying JavaScript Object Notation (JSON) in a tree view. (Community / Third Party Applications)
README
# jtree
jtree is a command line interface (CLI) for displaying JavaScript Object Notation (JSON) in a tree view powered by [Textual](https://textual.textualize.io/) a Text User Interface (TUI) framework for Python.## Install
```bash
➜ python -m pip install jtree
```## Usage
```pwsh
➜ kubectl --kubeconfig .\napptive-kubeconfig get deployment -ojson > deployment.json➜ jtree tests/fixtures/deployment.json
```![jtree TUI](https://raw.githubusercontent.com/oleksis/jtree/main/json-tree.svg)
Pass the JSON content to standard input (`sys.stdin`)
```bash
➜ pipdeptree --json-tree -p textual | jtree
```