Discover and explore top open-source AI tools and projects—updated daily.
bellicose100xpInteractive JSON query tool
Top 94.3% on SourcePulse
jiq is an interactive command-line tool designed to enhance the experience of querying JSON data, particularly for users familiar with jq. It addresses the need for a more dynamic and assisted JSON manipulation workflow by providing real-time feedback, intelligent suggestions, and a user-friendly interface. The target audience includes developers, data analysts, and system administrators who frequently process JSON data and can benefit from an interactive environment that reduces errors and speeds up query construction.
How It Works
jiq enhances the standard jq experience by executing queries in real-time as they are typed, displaying results instantly. Its core innovation lies in its context-aware autocompletion, which suggests fields and functions based on the current query and JSON structure, including nested paths and type hints. An integrated AI assistant further aids users by providing intelligent query suggestions, identifying and fixing errors, and interpreting natural language requests into jq queries. This combination of real-time feedback, smart suggestions, and AI assistance aims to make complex JSON querying more accessible and efficient.
Quick Start & Requirements
jq (JSON processor) must be installed.curl --proto '=https' --tlsv1.2 -LsSf https://github.com/bellicose100xp/jiq/releases/latest/download/jiq-installer.sh | shbrew install bellicose100xp/tap/jiqcargo install jiqgit clone https://github.com/bellicose100xp/jiq && cd jiq && cargo build --release && sudo cp target/release/jiq /usr/local/bin/jiq data.json, cat data.json | jiq, echo '{"name": "Alice", "age": 30}' | jiq, curl https://api.example.com/data | jiq.Highlighted Details
Maintenance & Community
The provided README does not detail specific community channels (like Discord/Slack) or notable contributors/sponsorships. It does, however, link to a CONTRIBUTING.md file for those interested in contributing to the project.
Licensing & Compatibility
The project is dual-licensed under MIT OR Apache-2.0. These are permissive open-source licenses, generally compatible with commercial use and closed-source linking.
Limitations & Caveats
Autocomplete functionality may revert to root-level suggestions when editing queries mid-stream. For array autocompletion, only the first element is analyzed, potentially leading to missed suggestions for fields present only in subsequent elements of heterogeneous arrays. Syntax highlighting is basic and keyword-based, lacking the structural analysis provided by tools like tree-sitter.
1 day ago
Inactive