{"id":18099958,"url":"https://github.com/rossmacarthur/aq","last_synced_at":"2025-04-13T16:09:00.221Z","repository":{"id":57491897,"uuid":"341557809","full_name":"rossmacarthur/aq","owner":"rossmacarthur","description":"Extend jq for any data format","archived":false,"fork":false,"pushed_at":"2023-02-14T10:48:14.000Z","size":53,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"trunk","last_synced_at":"2025-04-13T16:08:54.544Z","etag":null,"topics":["cli","jq","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rossmacarthur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-23T13:06:55.000Z","updated_at":"2024-09-08T13:51:30.000Z","dependencies_parsed_at":"2024-10-31T21:12:09.531Z","dependency_job_id":"79da66ff-6eeb-4319-a88b-c8402ebb06d3","html_url":"https://github.com/rossmacarthur/aq","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"73bc5323fddb079734a90d7e0baa6d5b9aa176c4"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Faq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Faq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Faq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Faq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossmacarthur","download_url":"https://codeload.github.com/rossmacarthur/aq/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741205,"owners_count":21154255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","jq","rust"],"created_at":"2024-10-31T21:11:56.335Z","updated_at":"2025-04-13T16:09:00.199Z","avatar_url":"https://github.com/rossmacarthur.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aq\n\n[![Crates.io Version](https://img.shields.io/crates/v/aq-cli.svg)](https://crates.io/crates/aq-cli)\n[![Download](https://img.shields.io/github/v/release/rossmacarthur/aq?label=binary)](https://github.com/rossmacarthur/aq/releases/latest)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/rossmacarthur/aq/build.yaml?branch=trunk)](https://github.com/rossmacarthur/aq/actions/workflows/build.yaml)\n\nExtend [`jq`](https://stedolan.github.io/jq/manual) for any data format.\nCurrently supports JSON, TOML, and YAML.\n\n## 📦 Installation\n\nPre-built binaries for 64-bit Linux, macOS, and Windows are provided. The\nfollowing script can be used to automatically detect your host system, download\nthe required artifact, and extract the `aq` binary to the given directory.\n\n```sh\ncurl --proto '=https' -fLsS https://rossmacarthur.github.io/install/crate.sh \\\n    | bash -s -- --repo rossmacarthur/aq --to /usr/local/bin\n```\n\nAlternatively, you can download an artifact directly from the [the releases\npage](https://github.com/rossmacarthur/aq/releases).\n\n### Cargo\n\n`aq` can be installed from [Crates.io](https://crates.io/crates/aq-cli)\nusing [Cargo](https://doc.rust-lang.org/cargo/), the Rust package manager.\n\n```sh\ncargo install aq-cli\n```\n\n## 🤸 Usage\n\nBy default `aq` behaves just like [`jq`](https://stedolan.github.io/jq/manual)\nand operates on JSON.\n```sh\n$ echo '{\"foo\":{\"bar\": 1337}}' | aq .foo\n```\n```json\n{\n  \"bar\": 1337\n}\n```\n\nBut it also accepts options to specify the input and output format. For example\nwith a TOML input and a JSON output:\n\n```sh\n$ echo '[foo]\\nbar = 1337' | aq -i toml -o json .foo\n```\n```json\n{\n  \"bar\": 1337\n}\n```\n\nIf not provided, the output format defaults to the input format. Additionally,\nyou can use `j` for JSON, `t` for TOML, and `y` for YAML for maximum brevity.\n```sh\n$ echo '[foo]\\nbar = 1337' | aq -it .foo\n```\n```toml\nbar = 1337\n```\n\n## License\n\nThis project is distributed under the terms of both the MIT license and the\nApache License (Version 2.0).\n\nSee [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Faq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossmacarthur%2Faq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Faq/lists"}