# dflemstr/rq

Record Query - A tool for doing record analysis and transformation

Repository: https://github.com/dflemstr/rq
Canonical: https://ross.abutalabs.com/products/dflemstr-rq
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, protobuf, command-line-tool, json, avro, messagepack, yaml, toml, javascript, lodash
Last push: 2023-12-21T18:27:16+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3847, "days_push": 986, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2299, forks 59 (observed 2026-08-28T04:06:35.320307+00:00)

## What it is
rq (Record Query) is a Rust command-line tool for ad-hoc analysis and transformation of streams of structured records, similar to awk/sed but for record data instead of text. It reads and writes many formats including JSON, Avro, MessagePack, YAML, TOML, CSV, CBOR, and Protobuf, and ships as a dependency-free binary.

## Use cases
- convert  to yaml from the command line
- read avro files without hadoop
- transform messagepack data to
- inspect protobuf records in a stream
- convert csv to toml
- explore structured data files ad hoc
- pipe structured records between formats in shell scripts

## When to choose
- you need a fast, dependency-free binary for converting between structured data formats
- you want awk/sed-style ad-hoc exploration of record data in the terminal
- you work with formats like Avro, MessagePack, or Protobuf that common tools don't handle

## When to avoid
- you need built-in query/JavaScript evaluation, which was removed from the tool
- you need actively developed features or timely bug fixes
- you only need JSON processing, where jq is a more mature choice

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, serialization, data-science, etl, parser
- domain: developer-tools, files
- platform: windows, cross-platform, cli
- tags: record-query, data-transformation, structured-data, avro, protobuf, messagepack, jq-alternative, rust, command-line, data-engineering, linux, macos

## Member repositories
- dflemstr/rq (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.320307+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:40:16.194688+00:00, confidence not recorded.
  - readme: https://github.com/dflemstr/rq (fetched 2026-08-28T04:06:35.320307+00:00, sha b5882c79933d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
