Author here. I built yqr to fix one specific annoyance in DevOps: editing YAML in a Kubernetes git repo without trashing the diff. The tool has not the surface of yq or jq (yet), but if you need byte-exact edits, and comments and ordering preserved, you might give it a try.
Repository
zoosky/yqr
yqr
A fidelity-first, jq-style CLI for YAML: query and surgically edit with comments, quoting, and formatting preserved byte-for-byte — clean diffs, or it refuses. No lossy JSON round-trip. Written in Rust.
5stars
zoosky/yqr
yqr
Fidelity-first, jq-style CLI tool for YAML that preserves comments, quoting, and formatting byte-for-byte.
Visit project- First shared
- Jul 11, 2026
- HN activity
- 11
Show HN@akapakaJul 11, 2026
Show HN: Yqr – jq-style YAML tool that preserves comments and formatting
Community