An open API service indexing awesome lists of open source software.

https://github.com/jcsalterego/jqq

jq Querier: an interactive wrapper around jq
https://github.com/jcsalterego/jqq

Last synced: 9 months ago
JSON representation

jq Querier: an interactive wrapper around jq

Awesome Lists containing this project

README

          

# jqq

jq Querier: an interactive wrapper around `jq`

## Requirements

* [jq](https://github.com/stedolan/jq)
* Modern-ish Ruby and [Bundler](https://bundler.io)

## Installation

* Clone this repository
* `bundle install`
* Optionally: add a nice alias to your `~/.profile` or equivalent:

```
alias jqq="/path/to/jqq.rb"
```

## Usage

```
Usage: jqq
```

## Demo

![](demo.gif)

## Keybindings

jqq uses readline-like keybindings:

| Keybinding | Action |
| ---------- | ------ |
| Enter | re-evaluate expression |
| `ctrl-a` | goto beginning of line |
| `ctrl-e` | goto end of line |
| `ctrl-k` | kill line (delete to end of line) |
| `ctrl-d` | delete next character |

## Future Work

* smart window resize support (re-run only if needed)
* stdin support
* rewrite in another language
* colors!

## License

[BSD](LICENSE)