qmetrics.net

fq

jq-style CLI for querying binary file formats

fq screenshot

fq is a command-line tool and query language for inspecting and decoding binary data. It reuses jq’s expression syntax and adds decoders for many media, network, and filesystem formats.

Overview

fq treats binary files like structured documents: you run queries similar to jq to display decoded trees, hex views, or JSON representations. Basic invocations include displaying a file, probing formats, or evaluating expressions against inputs without extra boilerplate.

The tool bundles decoders for hundreds of named formats spanning audio, video, images, TLS, PCAP, archives, cryptocurrencies, and more, plus helpers for hex, base64, PEM, and URLs. It supports nested format decoding, slicing and concatenating byte ranges, bit-level reads, and an interactive REPL with completion.

Expressions extend jq with arbitrary-precision integers, raw backtick strings, binary value types, and additional functions for diffs, bit operations, and structured display options. Configuration covers color, truncation limits, decode forcing, and init files per operating system for custom functions.

Pre-built releases exist for macOS, Linux, and Windows, with package managers such as Homebrew, MacPorts, scoop, pacman, and emerge among the supported install paths. The manual is available as man fq and longer AsciiDoc documentation.

Key features

  • jq-compatible query expressions
  • Structural hex display modes
  • Large catalog of format decoders
  • Nested decoding and binary slicing
  • Interactive REPL with auto-completion
  • JSON, YAML, XML, and CSV transforms
  • Configurable display and color options
  • Bit-level decode and arithmetic helpers

Use cases

  • Inspecting MP4 or PCAP structure
  • Scripted extraction from binary logs
  • Interactive exploration in the REPL
  • Comparing decoded values between files
  • Probing unknown files for format matches

Tags

Similar software

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

TypeScript

Typed JavaScript language with compile-time checks

TypeScript adds optional static types to JavaScript and compiles to standard JavaScript. It targets application-scale code on browsers, Node.js, and other JavaScript runtimes.

★ 111.9k⟳ yesterdayApache-2.0

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app