Skip to content

Entrivax/gojq-web

Repository files navigation

GOJQ-web

It is a simple wrapper around itchyny/gojq, compiled to WASM, with a simple web UI for live edits. Its main goal is to test your queries before using them with gojq or jq (be warned of the differences).

Screenshot

Web UI screenshot

How to use

  • Select a JSON file with the file input
  • Compose your query
  • You have the result on the right editor.

How to build

Requirements

  • Go 1.26
  • Make
  • go-licenses go install github.com/google/go-licenses@latest
  • Docker or a static web server

Build for a static web server

Run

make build-gojq

Then you can copy the front folder to your static web server to serve it.

Build with Docker

Run

make docker

Now you can run the image with

docker run -p 8080:80 -d ghcr.io/entrivax/gojq-web

About

A gojq playground in a web UI for writing and testing jq queries live

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors