Coder Social home page Coder Social logo

jfryy / qq Goto Github PK

View Code? Open in Web Editor NEW
476.0 5.0 1.0 77 KB

jq inspired (and gojq dependent) interoperable config format transcoder with interactive querying.

License: MIT License

Dockerfile 0.86% Makefile 0.94% Go 77.82% HCL 3.96% Shell 7.24% HTML 9.18%
config csv go golang hcl ini jq json terraform toml transcoding yaml

qq's People

Stargazers

wrmsr avatar Oliver Schneider avatar Renee Undrits avatar Testare avatar Alejandro Lazaro avatar Melwin Kieffer avatar Sam Foreman avatar batman avatar  avatar Jakub Narębski avatar Rituraj avatar Loïc Roux avatar Hashem avatar drakkai avatar Mateo Misas avatar Marcus Ekelund avatar Casper S avatar Kam7il avatar Gokdag Goktepe avatar  avatar Alex Avilov avatar Chad Mayfield avatar Greg Martenson avatar Mauricio Quezada avatar Luke Goertzen avatar Andrew Mohnkern avatar Chris Atkins avatar  avatar Farzad Majidfayyaz avatar Park Sang kil avatar 王雪松 avatar Tsubasa Ogawa avatar Michał Martyniak avatar wolfi3 avatar  avatar Dimitris Moraitidis avatar tosh shimayama (satake) avatar Ɲ I 彡 L ک avatar  avatar Dawid avatar Javier Tia avatar Keedosn avatar Leonardo Biffi avatar  avatar Mariusz Korzekwa avatar  avatar Piotr Falkowski avatar Michał Kutzner avatar  avatar Neal Fultz avatar Maxim avatar Noah Halstead avatar Chris avatar Quentin BERTRAND avatar Martin avatar Nehal Kamat avatar Tertius Stander avatar Hugo Posca avatar Lucas de Souza avatar Oleksandr avatar  avatar Whyman@10xBanking avatar Takafumi Miyanaga avatar  avatar Sebastián Estrella avatar Kristoffer Ahl avatar Anton Babenko avatar Robert Juergens avatar Nathaniel Varona avatar Aécio Pires avatar Dixon Chacón avatar Bruno Ferreira avatar Zach Lanier avatar Atsuki Nohira avatar Isaac Mecchi avatar Andhi Jeannot avatar Danilo Figueiredo Rocha avatar Anthony Hatch avatar sponge avatar Tim O'Guin avatar Anders K. Pettersen avatar Gabriel ANDREI avatar Steven Nemetz avatar  avatar Alex Kesling avatar Neos21 avatar  avatar Valentin Ivanov avatar Piotr Icikowski avatar 黒猫 avatar  avatar  avatar Alex Fong  avatar Sean Payne avatar Yuto Tanaka(Work) avatar  avatar Akira Tanaka avatar N.Shibata avatar Masaya Takeda avatar sisisin avatar

Watchers

Abhik Khanra avatar Lucian avatar timelyportfolio avatar Aécio Pires avatar JFry avatar

Forkers

thomascherickal

qq's Issues

Make Docker Build Multi Arch

Can you please build docker image for Mac M1 so the example can run:

$ echo '{"foo":"bar"}' | docker run -i jfryy/qq '.foo = "bazz"' -o tf
Unable to find image 'jfryy/qq:latest' locally
docker: Error response from daemon: no match for platform in manifest: not found.
See 'docker run --help'.

`brew install qq` takes forever to get to just `0.03%`

I tried installing it with brew. The formula tries to download https://dldir1.qq.com/qqfile/qq/QQNT/Mac/QQ_6.9.38_240617_01.dmg and it takes forever to get to just 0.03%.

I've never seen this on a homebrew install before. It also makes me nervous that it is installing from a close-source website rather than from a public repo on github or a vetted cached artifact hosted by homebrew. (I'm no expert on homebrew. It's just how I'd expect it to work.

Make Gron Input -> QQ Idempotent with Array Values

The gron unmarshaller (gron input) when evaluating json paths with arrays interprets arrays as literally strings in the lookup for the hashtable, let's not do this and fix it so this can be idempotent in it's entirety. Let's make the input parser pick this up so it can be entirely interchange-able with other formtats.

Can't go install because of `replace directives`?

$ go install github.com/JFryy/qq@latest
go: github.com/JFryy/qq@latest (in github.com/JFryy/[email protected]):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

Refine and Enhance TUI Functionality

qq needs to refine its a tui. To keep this short, a few things could be implemented to get a lot more value from a tui on a general transcoder/interface. This is not my strong suit for guidance of this tool, so I could very much use some help. If there is a developer who'd like to contribute, here are a few ideas I've been wanting to implement, some of which I can and want to do, some of which I might not be the greatest at, e.g. anything regarding TUI placement/Aesthetics.

  • Truncate Text for large files and position user input statically on changes of filters.
  • Swap between marshall formats, or enable alternative marshal formats, so the editor can see their queries show the format they want - use chroma or whatever colorizer is in use currently similar to the current JSON mode.
  • Support Gron-Style grepping of content in the TUI (this aligns with some support of the -G --grep flag but is is honestly debatable whether a regex engine should be generally included, maybe grepping should be strictly modular)
  • Make things A E S T H E T I C
  • ctrl+direction jump support for space delimiters
  • drop down snippet for autocompletion with up,down navigating along with with tab cycling
  • autocompletion based on search of most relevant JSON path based on query rather than cycle through splatted grons.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.