Latest / Developer tools

gq

github.com · Open source · Quiet

jq-style query tool that uses Go instead of its own language

Visit github.com ↗Share

  • json query tool
  • jq alternative
  • go json cli
  • json filter command line
  • jq in go
Stars
261
Forks
4
Open issues
1
Last commit
Releases
2
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

gq is a command-line tool in the spirit of jq and zq, but its expressions are written in Go rather than a custom query language. It suits developers who already know Go and use this kind of tool only occasionally. The source is on GitHub.

Positioned as an alternative to jq, fq, zq.

Repository description on GitHub: “jq but using go instead”

What it does

  • Queries JSON with Go code instead of a custom query language
  • Filter and map JSON arrays with Go functions
  • Installable with go install

Good for

  • Pull a nested value out of JSON in the terminal
  • Filter and map a JSON array using Go code

Suits: Go developers who use JSON query tools occasionally.

Worth knowing: Its readme says gq is not optimized for speed

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw gq on , when errnil posted it to Show HN. The oldest published release on GitHub is v0.0.1, dated . Its first tagged release landed the same day it was found. 2 releases have been published in total; the latest is v0.0.3 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v0.0.3 (27 Apr 2022)
  • Show HN discussion at check time: 107 points, 71 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v0.0.3 (27 Apr 2022)
  • Show HN discussion at check time: 107 points, 71 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: hherman1/gq
  2. Release v0.0.1
  3. Found: errnil posted it to Show HN. Show HN
  4. Release v0.0.3
  5. Day-7 check recorded by Kip (details)
  6. Day-30 check recorded by Kip (details)

Quick answers

When was gq released?
Its first tagged release on GitHub is dated 27 Apr 2022. Kip found it on Show HN on 27 Apr 2022.
Is gq open source?
Its source is public on GitHub at hherman1/gq under the MIT licence.
What does gq run on?
Command line.
Is gq free?
It is open source, so the code is free to read and run; check the licence for terms.
Is gq still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryhherman1/gq
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-31181898. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.