Fq: Jq for Binary Formats

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • fq

    jq for binary formats - tool, language and decoders for working with binary and text formats

  • Hi! yes it's kind of support but in a very go:ish at the moment. You can use 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.

  • faq

    Format Agnostic jQ -- process various formats with libjq

  • This related project, on the other hand, embraced it (for better or for worse):

    https://github.com/jzelinskie/faq

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Kaitai Struct

    Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby

  • HexFiend

    A fast and clever hex editor for macOS

  • binspector

    A binary format analysis tool

  • json-logs

    A tool to pretty-print JSON logs, like those from zap or logrus.

  • I wrote a small script to convert CSVs to JSON strictly to use jq on the output. Querying things like your GCP bill with jq is quite enjoyable.

    gojq is also nice. I work with a lot of structured logs and wrapped jq with a little bit of format-understanding and output sugar to make looking at and analyzing such logs an enjoyable experience: https://github.com/jrockway/json-logs

  • nq

    Unix command line queue utility

  • Interesting project. Unfortunate that its name conflicts with one of nq’s executables (https://github.com/leahneukirchen/nq), but I’m not sure anything can be done about it.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • fq

    F@#$*&%Q (Message queue that is fast, brokered, in C and gets out of your way) (by circonus-labs)

  • jq

    Discontinued Command-line JSON processor [Moved to: https://github.com/jqlang/jq] (by stedolan)

  • > I wrote a small script to convert CSVs to JSON strictly to use jq on the output

    Note that you can use jq to consume simple CSVs (and produce them) without anything else. There’s an entry in the cookbook wiki https://github.com/stedolan/jq/wiki/Cookbook#convert-a-csv-f... - I posted some usage examples a few months back https://news.ycombinator.com/item?id=27379423

  • miller

    Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

  • Miller Csv can process json in record format and has a much saner DSL in my experience.

    https://github.com/johnkerl/miller

  • binary-parsing

    A list of generic tools for parsing binary data structures, such as file formats, network protocols or bitstreams

  • Nice! Some other tools and parsers: https://github.com/dloss/binary-parsing

  • gojq

    Pure Go implementation of jq (by wader)

  • For query language i didn't prototype much, i know i really wanted jq as i had already used it extensively and know it was very powerful and had a terse syntax when working with structured data. I had some ideas of maybe using the C-version of jq via bindings or somehow let fq be tool that you used like this 'fq file | jq ... | fq' but it just felt strange and not very user friendly. Then i found gojq and i just felt that i have to make it work somehow, even if it would require lots of hard work and change to it (see https://github.com/wader/gojq/commits/fq, the JQValue change it probably to most interesting and support or custom iterators/functions that has been merged). And it turned out much better than i would expected, large parts becuse gojq's code is very nice and author has been very helpful.

  • json-toolkit

    "the best opensource converter I've found across the Internet" -- dene14

  • rasn

    A Safe #[no_std] ASN.1 Codec Framework

  • Shameless plug, but you may be interested in my library (which is MIT/Apache-2.0) that offers decoding from BER/DER/CER all from a single model in code, there's no UPER/APER support at the moment, but it's coming in the next few months. :)

    https://github.com/XAMPPRocky/rasn

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • jq 1.7 Released

    33 projects | news.ycombinator.com | 6 Sep 2023
  • How to troubleshoot yaml parsing error "did not find expected key"?

    2 projects | /r/kubernetes | 6 May 2023
  • Miller: Like Awk, sed, cut, join, and sort for CSV, TSV, and tabular JSON

    11 projects | news.ycombinator.com | 16 Mar 2023
  • Scraping weather info

    1 project | /r/bash | 24 Nov 2022
  • Transcribing Podcast Feeds From Your Terminal

    2 projects | dev.to | 26 Aug 2022