ziq is a lightweight command-line tool for processing JSON data on top of jq interactively
compressed_recording.mp4
-
jq: a powerful command-line JSON processor. If you don’t have
jqinstalled, you can download it from the official website or use your package manager:# macOS (using Homebrew) brew install jq # Ubuntu/Debian sudo apt-get update && sudo apt-get install -y jq # Fedora sudo dnf install jq
-
Download the binary for your platform. from the latest releases For example, on Apple Silicon (ARM) macOS download ziq_mac_arm.
-
Rename the file to
ziq:mv ziq_mac_arm ziq
-
Make it executable: add sudo if necessary.
chmod +x ziq
-
Move it into your
PATHso you can run it from anywhere. For example:sudo mv ziq /usr/local/bin/
You can also copy it into
~/binor another directory in yourPATH.
Pass a JSON file (or any JSON stream) to ziq via stdin:
ziq < data.jsonExample: filter and transform JSON input using your preferred jq filters:
cat data.json | ziqziq < ./data.json- navigate to privacy and security tab under setting scroll down and make sure to allow running
ziq.
Contributions are welcome! Feel free to open issues or pull requests on the GitHub repository.