jqp

A TUI playground to experiment with jq

MIT License

Stars
2.2K
Committers
12

Bot releases are visible (Hide)

jqp - v0.7.0 Latest Release

Published by noahgorstein 4 months ago

Overview

Mostly small bug fixes and some performance improvements.

One new feature added is the ability to specify an optional query argument to jqp cli that it will execute on startup.

curl "https://api.github.com/repos/jqlang/jq/issues" | jqp '.[] | {"title": .title, "url": .url}'

https://github.com/noahgorstein/jqp/assets/23270779/735cf84a-dc6f-41e8-9659-5022a4937046

@EmilyGraceSeville7cf also added a JSON schema for jqp's config which should help users create and edit their config files.

What's Changed

New Contributors

Full Changelog: https://github.com/noahgorstein/jqp/compare/v0.6.0...v0.7.0

jqp - v0.6.0

Published by noahgorstein 6 months ago

Maybe the most notable update here is the support for newline-delimited JSON (also known as NDJSON or JSON-lines) as input to jqp.

Example input:

{"name": "Gilbert", "wins": [["straight", "7♣"], ["one pair", "10♥"]]}
{"name": "Alexa", "wins": [["two pair", "4♠"], ["two pair", "9♠"]]}
{"name": "May", "wins": []}
{"name": "Deloise", "wins": [["three of a kind", "5♣"]]}

jqp:

image

Also some new catppuccin 🎨 themes added by @noahmayr (see catppuccin-macchiato in use in above screenshot) and a nice way to save jqp output to the clipboard when no file is provided when saving the output @rvictorino.

What's Changed

New Contributors

Full Changelog: https://github.com/noahgorstein/jqp/compare/v0.5.0...v0.6.0

jqp - v0.5.0

Published by github-actions[bot] about 1 year ago

Highlights

Mostly a maintenance release but also adds support for overriding non-syntax highlighting elements of the theme. Thanks @mluna-again!

Details can be found here in the readme: https://github.com/noahgorstein/jqp#chroma-style-overrides

Changelog

  • 6ab4a43 chore: bump go version, bubbles, bubbletea, gojq, termenv (#42)
  • 4d8a6ed chore: prep v0.5.0 release (#44)
  • d1791f3 chore: update go releaser config and release gh action (#43)
  • fe7b5c2 docs(README): add keybindings for cycling through query history (#38)
  • 304eacc feat: custom themes (#40)
jqp - v0.4.0

Published by github-actions[bot] almost 2 years ago

Highlights

  • Add basic command history. Pressing / while the query section is active should cycle through your queries, similar to how one would cycle through past commands in you shell history.
  • Adds the ability to override specific parts of the Chroma themes available for use. See Available Configuration Options for additional details and an example.

Changelog

  • b73ad78 config: option for overrides to chroma styles (#32)
  • 968696b feat: add basic command history (#33)

Breaking Changes

  • Remove file option from config file options
  • Move theme option to theme.name in config file options
jqp - v0.3.0

Published by github-actions[bot] about 2 years ago

Highlights

  • Adds the ability for a user to configure jqp with a configuration file.
  • Introduces over 40+ light and dark themes for jqp.
  • Adds the ability to cancel a running query. Thanks @itchyny

Changelog

  • b58f98d README: fix the id of gojq author (#18)
  • ad42781 chore: refactor logic for resizing bubbles (#22)
  • e3f9f08 chore: refactor updating section border colors and help state (#20)
  • 8225e54 feat: add additional themes available in Chroma (#25)
  • fec34da feat: add support for aborting running query (#19)
  • 92ce6ee feat: add support for themes and specifying configuration via file (#21)
  • f3445e3 ui: put space in between input/output on odd terminal width (#23)
  • d028198 v0.3.0 (#26)
jqp - v0.2.0

Published by github-actions[bot] about 2 years ago

Small fixes and 2 new small features:

  1. shift+tab to cycle through sections in reverse order. Thanks @NiloCK
  2. ctrl+y to copy the query to system clipboard

Changelog

  • 95aac7d README: add MacPorts install info (#8)
  • 56f4278 Update README demo gif
  • 5e9141e add installation instructions to README
  • 52f893b chore: bump Bubbles version (#12)
  • 858ad66 feat: add support for copying query to system clipboard (#7)
  • 4519fd9 feat: shifttab to cycle through sections in reverse
  • 937b0ef fix: layout gets into messy state if help menu overflows to more than 1 line (#10)
  • 6defb0e fix: query input cursor not blinking when it should (#15)
  • 4539de2 v0.2.0 (#16)
jqp - v0.1.0

Published by github-actions[bot] about 2 years ago

Changelog

  • 07d4f27 add demo gif to readme
  • 64a7aad initial commit