Interactive jq, but it's a bash script using fzf
Interactive jq, but it's a bash script using fzf
I was searching for an interactive jq editor when I came across this repo [1], which had an intriguing suggestion for a CLI using only fzf: echo '' | fzf --print-query --preview "cat *.json | jq {q}" This sent me down a rabbit hole, and I discovered just how incredibly configurable fzf is. For instance: - `--bind=ctrl-y:execute-silent(jq {q} $tempfile | pbcopy)`: You can bind custom keys to execute non-default behaviors, like copying the current selection or `echo`-ing. - `--query="."`: Start fzf with an initial query (e.g., `.` for jq queries) to streamline the experience. - `--preview-window=top:90%:wrap`: You can configure fzf into different layouts, behaviors, and ANSI colors. - `--header=$'ctrl+y : copy JSON\nctrl+f : copy filter\nenter : output\nesc : exit' \`: fzf supports multi-line header to provide instructions or context for the user right in the interface. [1]: https://github.com/fiatjaf/awesome-jq?tab=readme-ov-file#com...
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
My Python script to do DCA using cryptocurrencies
Lalt, a lisplike to AutoHotKey script transpiler
My_FreeBSD – A Script to Configure a FreeBSD Openbox DE
Pysolate – Isolate your script, without installing anything
Bash script to find unused AMIs
A Quadtree Implementation for Clojure(script)
WSL2 Init Script
GitOps SemVer Script
Script Injector
I took a script off of ThemeForest and turned it into something nicer.