Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZIQ

ziq is a lightweight command-line tool for processing JSON data on top of jq interactively

compressed_recording.mp4

Youtube Demo

Watch the demo

Prerequisites

  • jq: a powerful command-line JSON processor. If you don’t have jq installed, 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

Installation

  1. Download the binary for your platform. from the latest releases For example, on Apple Silicon (ARM) macOS download ziq_mac_arm.

  2. Rename the file to ziq:

    mv ziq_mac_arm ziq
  3. Make it executable: add sudo if necessary.

    chmod +x ziq
  4. Move it into your PATH so you can run it from anywhere. For example:

    sudo mv ziq /usr/local/bin/

    You can also copy it into ~/bin or another directory in your PATH.

Usage

Pass a JSON file (or any JSON stream) to ziq via stdin:

ziq < data.json

Example: filter and transform JSON input using your preferred jq filters:

cat data.json | ziq
ziq < ./data.json

MAC OS Error.

  • navigate to privacy and security tab under setting scroll down and make sure to allow running ziq.

Contributing

Contributions are welcome! Feel free to open issues or pull requests on the GitHub repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages