Tool, language, and decoders for working with binary data. fq is inspired by the well-known jq tool and language and allows you to work with binary formats the same way you would using jq. In addition, it can also present data similar to a hex viewer, transform, slice, and concatenate binary data, supports nested formats, and has an interactive REPL with auto-completion. It was originally designed to query, inspect and debug codecs and metadata in media files and containers like mp4, FLAC, mp3, and jpeg. But has since been extended to support a variety of formats like executables, and packet captures including TCP reassembly and serialization formats like ASN1 BER, Avro, CBOR, protobuf, and a lot more. In summary, it aims to be something like jq, hexdump, dd and gdb combined into one. fq is still early in development so things might change, be broken, or do not make sense. That also means that there is a great opportunity to help out!

Features

  • Make binaries accessible, queryable and sliceable
  • Nested formats and bit-oriented decoding
  • Quick and comfortable CLI tool
  • Bits and bytes transformations
  • The "f" in fq originate from file(1) and format in FFmpeg terminology
  • Make sure you have go 1.17 or later installed

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow fq

fq Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fq!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Terminals

Registered

2022-05-16