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).
- Select a JSON file with the file input
- Compose your query
- You have the result on the right editor.
- Go 1.23
- Make
- go-licenses
go install github.com/google/go-licenses@latest
or
- Docker
Run
make build
Now you can either:
- serve the
front
directory with a web server, - or you can run the standalone server at
bin/file-server
by runningand you can change the port with the environment variablebin/file-server
PORT
PORT=7777 bin/file-server
Run
make docker
Now you can run the image with
docker run -p 8080:8080 -d ghcr.io/entrivax/gojq-web