In

Interactive jq, but it's a bash script using fzf

Hacker News

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 card

Actual performance

10points
1comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, context, using · Missing: mac, agents, macos
65%65% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
50%50% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Strong signals: supports · Missing: reddit linkedin, podcasting, created
45%45% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
41%41% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
38%38% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
11%11% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

My
My Python script to do DCA using cryptocurrencies37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My Python script to do DCA using cryptocurrencies

Hacker News2
La
Lalt, a lisplike to AutoHotKey script transpiler31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lalt, a lisplike to AutoHotKey script transpiler

Hacker News1
My
My_FreeBSD – A Script to Configure a FreeBSD Openbox DE42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My_FreeBSD – A Script to Configure a FreeBSD Openbox DE

Hacker News1
Py
Pysolate – Isolate your script, without installing anything43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pysolate – Isolate your script, without installing anything

Hacker News4
Ba
Bash script to find unused AMIs41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bash script to find unused AMIs

Hacker News1
A
A Quadtree Implementation for Clojure(script)45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Quadtree Implementation for Clojure(script)

Hacker News1
WS
WSL2 Init Script26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WSL2 Init Script

Hacker News2
Gi
GitOps SemVer Script47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitOps SemVer Script

Hacker News2
Sc
Script Injector31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Script Injector

Hacker News2
I
I took a script off of ThemeForest and turned it into something nicer.45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I took a script off of ThemeForest and turned it into something nicer.

Hacker News7