jedit

Crates.iojedit
lib.rsjedit
version0.1.4
created_at2025-05-10 08:13:27.316899+00
updated_at2025-05-13 16:54:10.511447+00
descriptionCommand-line tool to view and edit large JSON file
homepage
repositoryhttps://github.com/aguss787/jedit
max_upload_size
id1668190
size556,063
Agus Sentosa Hermawan (aguss787)

documentation

README

Jedit

CI Dependabot Latest Release License: MIT

Jedit is a command-line tool to view and edit large JSON file directly within your terminal.

screenshot

Installation

To install Jedit, ensure you have Rust installed, then run:

cargo install jedit --locked

or, to build from source:

git clone https://github.com/aguss787/jedit.git
cd jedit
cargo build --release

Usage

$ jedit --help

View and edit JSON file

Usage: jedit [OPTIONS] <INPUT>

Arguments:
  <INPUT>  JSON file to edit

Options:
  -o, --output <OUTPUT>  Output file to write to. Defaults to overwrite the input file
  -h, --help             Print help
  -V, --version          Print version

Keybind

Key Action
q Exit
k / Up Up
j / Down Down
l / Enter / Space Expand
Ctrl + u Up 10
Ctrl + d Down 10
g Move to top
G Move to bottom
h Close
p Toggle preview
e Edit value
r Rename key
d Delete key
a Append key
w Save
K Preview up
J Preview down
Ctrl + U Preview up 5
Ctrl + D Preview down 5
H Preview left
L Preview right
Ctrl + Left Preview window bigger
Ctrl + Right Preview window smaller

Missing feature

  • Custom keybind
  • Search
  • Inline key operation
    • Add new child key
  • Prettier error message
  • Help window
Commit count: 64

cargo fmt