About this project

jqweb is a command-line utility that functions like jq but outputs an interactive web page instead of plain text. It allows users to pipe JSON data into the tool, which then serves a self-contained HTML page featuring an interactive tree view of the data. This makes it easier to explore large or complex JSON structures directly in a browser. Key features include: - **Interactive Tree View**: Renders JSON with expandable/collapsible nodes. - **jq Query Support**: Includes a subset of the jq query engine, supporting paths, filters, and common builtins for searching and transforming data within the browser. It also offers smart completions and context-aware query suggestions based on the current node. - **Flexible Output**: Can serve the page on a local port for immediate viewing, write to an HTML file for offline sharing, or open the default browser automatically. - **Search and Navigation**: Supports both text-based filtering and jq-style path queries. Users can copy paths to the clipboard or generate queries based on specific values. - **Lightweight Mode**: The `--simple` flag removes the query engine for a smaller page size, focusing solely on browsing and basic filtering. - **Responsive Design**: Adapts to mobile screens by hiding complex query tools while retaining basic navigation. Installation is supported via Homebrew, Go, or a curl script for Linux/macOS. Pre-built binaries are also available for Windows, macOS, and Linux.