A Zsh plugin that interactively builds jq expressions with real-time preview using fzf.
jq Zsh plugin is a shell enhancement that provides an interactive interface for building and testing jq expressions in real time. It allows developers to construct JSON queries with live previews and autocomplete suggestions, directly within their Zsh terminal. The plugin integrates with existing shell pipelines, making JSON manipulation more intuitive and efficient.
Developers and system administrators who frequently work with JSON data in the terminal and use Zsh as their shell. It's particularly useful for those who find jq's syntax challenging or want to streamline their JSON query workflow.
Developers choose this plugin because it turns jq into an interactive, discoverable tool, reducing trial-and-error and boosting productivity. Its tight integration with Zsh and support for fzf-driven suggestions provide a unique, seamless experience compared to manually typing jq commands.
jq zsh plugin
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides real-time previews of jq expressions as you type, reducing trial-and-error and making query construction more intuitive, as shown in the demos.
Uses the integrated jq-paths command to autocomplete valid JSON paths, helping users navigate complex structures without memorizing syntax.
Allows inserting constructed jq queries directly into existing shell pipelines without breaking context, demonstrated in the ASCIIcast examples.
Supports alternative jq implementations like gojq via the JQ_REPL_JQ environment variable, offering versatility for different needs.
Requires fzf for its UI, and issues like #19 note version compatibility problems, adding an external dependency that may not be available in all setups.
Features like clipboard yanking (ctrl-y) only work on GNU/Linux, and MacOS users face key binding issues requiring manual iTerm2 configuration.
Limited to Zsh users, and installation involves cloning repositories and editing .zshrc, with troubleshooting needed for common problems like alt-j mapping.