wader/fq
View on GitHub ↗ ★ 10,624 Go
fq - jq for binary formats. Tool, language and decoders for working with binary formats.
30 mentions on Hacker News by 13 people: 2 stories, 28 comments · first 2021-12-23 · latest 2026-08-24
20082026
-
https://github.com/wader/fq I have really liked fq for binary visualization.
comment by lbhdc · 2026-08-24 · in Visualizing Binary Files -
https://github.com/wader/fq is "jq for binary formats."
comment by jonathanberi · 2025-03-27 · in A love letter to the CSV format -
Nice haven't seen. Shameless plug fq support elf https://github.com/wader/fq and will have a look if i could lend some ideas from llvm-readelf
comment by wwader · 2024-09-12 · in Binsider – A TUI for analyzing Linux binaries -
…tools, for those interested. Apparently it's a hobby of mine: * fq - like jq for binary data: https://github.com/wader/fq * Kaitai Struct - https://kaitai.io/ * visualizer, for the above: https://github.com/kaitai-io/kaitai_struct_visualize…
comment by turtledragonfly · 2024-07-25 · in Veles: Open-source tool for binary data analysis -
…how (possibly large) binaries are represented as JSON you can use the bits_format options, see https://github.com/wader/fq/blob/master/doc/usage.md#options , so fq -o bits_format=md5 torepr ... I can highly recommend to learn jq, it's what…
comment by wwader · 2024-05-04 · in How to Use JSON Path -
…documents and it was a lot less intuitive than just using some dotted string paths with `jq`. https://github.com/wader/fq/
comment by crabmusket · 2024-05-03 · in How to Use JSON Path -
Hey! fq author here. I have a bunch of related tools in the readme https://github.com/wader/fq?tab=readme-ov-file#tools two suggestions: gnu poke and wireshark (can decode lots of more things then just network protocols)
comment by wwader · 2024-02-15 · in Reverse-engineering an encrypted IoT protocol -
…binary data" tools. Apparently I collect links to these (: * fq - like jq for binary data: https://github.com/wader/fq * Kaitai Struct - https://kaitai.io/ ** visualizer, for the above: https://github.com/kaitai-io/kaitai_struct_visualizer/…
comment by turtledragonfly · 2024-02-14 · in Reverse-engineering an encrypted IoT protocol -
Did someone say let's represent structured data as json? a bit of shameless plug: https://github.com/wader/fq :) It's using a fork of gojq btw!
comment by wwader · 2023-12-11 · in To a Man with `Jq`, Everything Looks Like JSON -
https://github.com/wader/fq has a REPL and can read JSON. Tip is to use "paste | from_json | repl" in a REPl to paste JSON into a sub-REPL, you can also use `<text here>` with fq which is a raw string literal
comment by wwader · 2023-11-29 · in Jaq – A jq clone focused on correctness, speed, and simplicity -
…JSON and tex (parse using jq functions). I also use it for exploring ane debug binary formats ( https://github.com/wader/fq ). Now a days i also use it for some adhoc programming and a calculator.
comment by wwader · 2023-11-29 · in Jaq – A jq clone focused on correctness, speed, and simplicity -
…on runtime kaitai support and have made good process but it's quite a big task. Keep an eye on https://github.com/wader/fq/issues/627 your interested.
comment by wwader · 2023-06-05 · in Fq: Jq for Binary Formats -
…be something like: fq -d format.ksy <query> file Subscribe or keep an eye on this issue for updates https://github.com/wader/fq/issues/627 And feel free to ask any questions!
comment by wwader · 2023-06-05 · in Fq: Jq for Binary Formats -
…pettiest gripes I have heard in a while. It's already built, you literally just extract and run: https://github.com/wader/fq/releases/tag/v0.6.0
comment by 2h · 2023-06-03 · in Fq: Jq for Binary Formats -
…If I wrote one for wii sound files, can I just submit a PR or is there some other process? EDIT: https://github.com/wader/fq/blob/master/doc/dev.md documents the development side of things. I’m more interested in the project itself — if…
comment by sillysaurusx · 2023-06-03 · in Fq: Jq for Binary Formats -
…But for those interested, here are some other tools in this vein: * fq - like jq for binary data: https://github.com/wader/fq * Kaitai Struct - https://kaitai.io/ ** visualizer, for the above: https://github.com/kaitai-io/kaitai_struct_visu…
comment by turtledragonfly · 2023-03-02 · in GNU poke: The extensible editor for structured binary data -
gojq ( https://github.com/itchyny/gojq ) and fq ( https://github.com/wader/fq ) can read YAML and output JSON. But that won't nescessarily help, because other parsers can intepreret that YAML differently.
comment by jwilk · 2023-01-13 · in The Yaml document from hell -
…<host>www.inkandswitch.com</host> <host>blog.google</host> <host>fly.io</host> ... </hosts> See https://github.com/wader/fq/blob/master/doc/formats.md#xml and https://github.com/wader/fq/blob/master/doc/formats.md#html for examples and…
comment by wwader · 2022-11-30 · in Pup: Parsing HTML at the command line -
fq has mp4 support https://github.com/wader/fq is quite visual but is a CLI tool (for now). It has a REPL and query language to poke around. Disclaimer: i'm the author. Other mp4 tools i use are https://gpac.github.io/mp4box.js/test/filerea…
comment by wwader · 2022-11-26 · in An MP4 file first draft -
…stating that the stream type is video and the object type is PNG. You can see a decode using fq ( https://github.com/wader/fq ) of the file used in the poster here https://twitter.com/mwader/status/1596219922304360448 Hope that was helpful
comment by wwader · 2022-11-26 · in An MP4 file first draft -
…it can be used for more things with other types then just JSON. If you interested have a look at https://github.com/wader/fq where i've tried to expand on it.
comment by wwader · 2022-11-26 · in Jqjq: Jq Implementation of Jq -
gron is great, i have this in my init.jq file for fq ( https://github.com/wader/fq ). Sadly jq lacks a path_to_expr function so a bit harder to do it with that. def gron: ( path(..) as $p | getpath($p) | scalars | "\($p | path_to_expr) =…
comment by wwader · 2022-11-25 · in Jqjq: Jq Implementation of Jq -
…fq as submodule, import/register your own format decoders and then run cli.Main. More or less what https://github.com/wader/fq/blob/master/fq.go does. I have private version of fq for work with some proprietary formats that does this and…
comment by wwader · 2021-12-23 · in Fq: Jq for Binary Formats -
Hi, here is issue related to this where i explain a bit what would be required https://github.com/wader/fq/issues/20 and how protobuf support currently works.
comment by wwader · 2021-12-23 · in Fq: Jq for Binary Formats -
Permanent link (press 'y' on any Github link): https://github.com/wader/fq/blob/eb4a6fdbd6ef3a09fc59802e96e...
comment by heinrich5991 · 2021-12-23 · in Fq: Jq for Binary Formats -
apparently they went ahead and implemented a bunch of them in Go: https://github.com/wader/fq/tree/master/format
comment by luto · 2021-12-23 · in Fq: Jq for Binary Formats -
Supported formats: https://github.com/wader/fq/blob/master/doc/formats.md They should probably make this a bit more prominent. It's an impressive list for a new project.
comment by kitd · 2021-12-23 · in Fq: Jq for Binary Formats