nowfound

Life & fun · April 27, 2022

GL

gq – like jq or zq, but you use Go

Hi HN. I've gotten pretty tired of needing to learn a custom programming language for a tool I use once a week or less. So I figured, it might be easier to pick up if `jq` used a programming language I already know. Voila, gq.

In plain words

gq is a JSON query tool similar to jq, but uses Go as its query language instead of jq's custom syntax. It lets users who already know Go query and transform JSON data without learning a separate language. The tool addresses the friction of occasionally using jq but rarely needing its specialized query syntax. It targets developers familiar with Go who want a more accessible alternative for JSON processing tasks.

written from the facts on this page · September 2026

Does the same job

all alternatives →
  • JQ
    JSON QueryOct 2025 · jsonquerylang.org · ▲154

    I'm working on a tool that will probably involve querying JSON documents and I'm asking myself how to expose that functionality to my users. I like the power of `jq` and the fact that LLMs are proficient at it, but I find it right out impossible to come up with the right `jq` incantations myself. Has anyone here been in a similar situation? Which tool / language did you end up exposing to your users?

  • PU
    PgJQ: Use Jq in Postgres2024 · github.com · ▲39
  • JE
  • JI
    jnv: interactive JSON filter using jq2024 · github.com · ▲373
  • JSON Query2015 · ▲152

    A tool to query JSON data structures

  • JL
    Jq-Like Tool for Markdown2025 · github.com · ▲325

    There have been a few times I wanted the ability to select some text out of a Markdown doc. For example, a GitHub CI check to ensure that PRs / issues / etc are properly formatted. This can be done to some extent with regex, but those expressions are brittle and hard to read or edit later. mdq uses a familiar pipe syntax to navigate the Markdown in a structured way. It's in 0.x because I don't want to fully commit to the syntax being stable, in case real-world testing shows that the syntax needs tweaking. But I think the project is in a pretty good spot overall, and would be…

More life & fun this month

the category →
  • TL

    Life & fun · 10d ago · louisabraham.github.io

  • Photosynthesis fires two of your iPhone

    Life & fun · 29d ago · photosynthesis.camera

  • SoloUno310

    Take control of hair pulling, nail biting & skin picking

    Life & fun · 28d ago · solouno.io

  • Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.

    Life & fun · 27d ago · everycube.alen.is

  • The Interactive 3D Encyclopedia

    Life & fun · 21d ago · expeditione.fun

  • Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…

    Life & fun · 27d ago · baselashraf81.github.io

Launched alongside, April 2022

the whole month →
  • WA

    Hi HN community, I’m Zach, founder and CEO of Warp, and am excited to show you Warp, a fast Rust-based terminal that’s easy to use and built for teams. As of today, Warp is in public beta and any Mac user can download it. It works with bash, zsh, and fish. The terminal’s teletype-like interface has made it hard for the CLI to thrive. After 20 years of programming, I still find it hard to copy a command’s output; I always forget how to use `tar`; and I always have to relearn how to move my cursor. To fix fundamental accessibility issues, I believe we need to start innovating on the terminal,…

    Dev tools · 2022 · warp.dev

  • SS
  • Reflect629

    Fast networked note-taking

    Work · 2022 · reflect.app

  • MY

    Implement scanyourpdf.com in JavaScript. No backend servers needed.

    Life & fun · 2022 · lookscanned.io

  • Everything you need to create amazing documentation

    Dev tools · 2022

  • ngrok545

    Serve local web apps with one command

    Dev tools · 2022