Skip to content

A CLI-friendly, offline playground for jq and JMESPath, written in Go

License

Notifications You must be signed in to change notification settings

jittering/jqplay

 
 

Repository files navigation

jqplay-cli

jqplay-cli is a fork of the wonderful jqplay with a focus on local command line usage. Play with your JSON data without sending your private data to a third party server.

web-based

You can use the default web-based UI or a complete terminal-based UI, all without hitting the internet.

The web-based UI also has support for JMESPath expressions, making it a handy tool for exploring, in particular AWS APIs.

Quickstart

brew install jittering/kegs/jqplay-cli
curl -s https://jsonplaceholder.typicode.com/todos/1 | jqplay-cli

Installation

jqplay-cli is built as a single binary containing everything needed to run, including all static files for the web frontend. Simply download and install it with one of the following methods:

via homebrew (mac or linux):

brew install jittering/kegs/jqplay-cli

or manually:

Download a pre-built binary or build it from source:

# requires go, node, npm
git clone https://github.com/jittering/jqplay.git
cd jqplay
make deps
# binary will be written to bin/jqplay
make build

Usage

Usage of jqplay-cli:

  -cli
      CLI mode
  -no-open
      Do not open browser on startup
  -verbose
      Verbose output
  -web
      Web mode (default true)

License

jqplay-cli is released under the MIT license.

Based on jqplay, also under the MIT license.

About

A CLI-friendly, offline playground for jq and JMESPath, written in Go

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Go 50.2%
  • Svelte 21.6%
  • TypeScript 12.3%
  • JavaScript 10.9%
  • Makefile 1.7%
  • CSS 1.1%
  • Other 2.2%