github-email
dot_files
github-email | dot_files | |
---|---|---|
1 | 1 | |
4 | 10 | |
- | - | |
0.0 | 1.8 | |
8 months ago | about 1 year ago | |
Shell | Shell | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
github-email
-
Extracting Objects Recursively with Jq
Fairly simple script showing the jq, REST, and JSON trinity:
https://github.com/DaveJarvis/github-email/blob/master/githu...
dot_files
-
Extracting Objects Recursively with Jq
I tend to use jq a lot. As others have said, sometimes jq can be hard to grasp. Often it requires multiple attempts to get the correct answer. To make it a little easier for me, I've written a helper function[0] that combines it with fzf[1] to run jq as a REPL on any json. It allows to incrementally alter your DSL without having to continually call jq. This is similar to jid/jiq but a little more powerful. It includes functions to change the preview to output raw, compact (or not), and some other things.
I didn't use jid/jiq because jid uses go-simplejson, which is nowhere near as powerful as jq, and jiq seemed very buggy when I used it and it felt like it was hacked together. Plus there was no where to change jq's arguments while running it.
I'm sure this function can be improved on, but this has been good enough for me so far.
Also, I run gojq[2] instead of jq. It is a drop-in replacement for jq but is written in Go, and has some improvements over jq such as bug fixes, support for yaml input, and it also provides more helpful error messages.
[0] https://github.com/hoshsadiq/dot_files/blob/master/zshrc.d/m...
What are some alternatives?
hackernews - Hacker News web site source code mirror.
gojq - Pure Go implementation of jq
jet - CLI to transform between JSON, EDN, YAML and Transit using Clojure
jfq - JSONata on the command line
fzf - :cherry_blossom: A command-line fuzzy finder
jq - Command-line JSON processor
counsel-jq - Traverse complex JSON and YAML structures with live feedback
setup - My config, system settings, utilities, etc.
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
Hacker News API - Documentation and Samples for the Official HN API