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
- Host: GitHub
- URL: https://github.com/jcsalterego/jqq
- Owner: jcsalterego
- License: other
- Created: 2020-05-29T01:21:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T19:21:44.000Z (about 6 years ago)
- Last Synced: 2025-04-13T09:50:35.253Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 289 KB
- Stars: 314
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

## 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)