A Rust CLI that evaluates CEL expressions over JSON, JSON5, YAML, TOML, XML or NDJSON input, or over typed arguments alone, with compact output, gron-style greppable output and parallel NDJSON. The same expressions run in cel-go, cel-python and other CEL engines.
Trade-offs
- Input is parsed eagerly into memory before evaluation, which keeps the code simple at a cost in memory and speed; with no benchmarks yet, it should be assumed slower than jq.
- It builds on cel-rust, a community implementation of CEL rather than the official Go one, so edge cases may differ; such issues are triaged before going upstream.
- JSON first: YAML is best-effort, working when it maps to JSON, because the YAML spec has too many edge cases to support fully.
Q&A4
CEL is a small, constrained language with C-like syntax and implementations in Go, Java, C++, Python, Rust and more, so a snippet written for the command line can be reused in services. It does less than jqlang on purpose.
CEL was designed for safe evaluation, and celq makes no network calls of its own; it reads its input and the files it is given.
It reads JSON5, YAML and TOML, can process JSON Lines in parallel, and is memory-safe. jq supports more formats on output and is likely faster.
Many commits were co-authored by LLMs, each guided and reviewed by a person; the manual is written by hand.
Links
Built by
Reviews
Loading reviews
More in JSON
See all 5 →
PandiaDesktop JSON editor for multi-gigabyte files, with the document held in Rust
jc-rsjc rewritten as one static binary that turns command output into JSON
JDFDocument format in plain JSON that renders like a PDF and diffs in git- headsonhead and tail for structured data, within a strict byte budget
TwigExplorer for JSON, YAML and HAR files in the terminal and the browser
More in CLI tools
See all 74 →- ZeroboxDeny-by-default process sandbox with per-host secret injection
blitcpFile copier that reads in disk order, dedupes and streams over raw SSH- pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
haxMinimalist terminal coding agent written in C
roam-codeLocal code index and checks that coding agents can query
More in Rust
See all 146 →
PaganelData migration engine that verifies the destination down to the row
FeOxDBEmbedded key-value store in Rust with write-behind durability
AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
AntirionAI gateway in one Rust binary, with the admin console built in
OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS