Skip to content

hyperpuncher/iq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iq

interactive jq repl - live filter evaluation with syntax highlighting and auto completion.

built on qj - the fast jq-compatible filter engine.

usage

iq file.json
cat data.json | iq

options

-i, --indent <INDENT>  indent size [default: 4]
-h, --help             print help
-V, --version          print version

install

arch linux

paru -S iq-bin

macos

brew install hyperpuncher/tap/iq

source

cargo install --git https://github.com/hyperpuncher/iq

or grab a binary from the latest release.

keys

key action
tab cycle completion (popup opens on type)
enter accept popup, else push history + copy query
shift+enter copy output, print to stdout, exit
up/down cycle popup / history (empty input)
left/right move cursor
home/end cursor to line edges
backspace/del delete left/right char
pgup/pgdn page scroll
mouse wheel scroll
ctrl+c / ctrl+d quit
esc close popup, else quit
f1 debug overlay

clipboard

  • enter copies the current filter (query) to clipboard.
  • shift+enter copies the full output to clipboard, prints it to stdout with syntax highlighting, and exits.

build

just build
just run file.json

license

MIT

About

Your JSON, interrogated live. qj-powered interactive jq REPL

Topics

Resources

License

Stars

Watchers

Forks

Contributors