Skip to content

Latest commit

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date

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.

iq demo

usage

iq file.json
cat data.json | iq

options

-i, --indent <INDENT> indent size [default: 4]
--max-output-mb <MAX_OUTPUT_MB> cap live query output rendering, 0 = unlimited [default: 0]
-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

keyaction
tabcycle completion (popup opens on type)
enteraccept popup, else push history + copy query
shift+entercopy output, print to stdout, exit
up/downcycle popup / history (empty input)
left/rightmove cursor
home/endcursor to line edges
backspace/deldelete left/right char
pgup/pgdnpage scroll
mouse wheelscroll
ctrl+c / ctrl+dquit
escclose popup, else quit
f1debug 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

fastest interactive jq ⚡

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages