gio-example
jq
| gio-example | jq | |
|---|---|---|
| 7 | 307 | |
| 157 | 25,063 | |
| 2.5% | - | |
| 3.3 | 0.0 | |
| 4 months ago | about 3 years ago | |
| Go | C | |
| GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
gio-example
- I wrote a lightweight markup language in Go (sorta like markdown; MIT)
- Is there something you always wanted to see implemented in Go?
- How do I build a text editor like notepad using wails
- I made a library to animate objects using verlet physics
-
Cryptgo: A TUI based application to monitor crypto currency prices and manage a crypto portfolio!
Code examples: https://github.com/gioui/gio-example
jq
-
Jqfmt like gofmt, but for jq
Oh, fantastic. jq has become an integral part of work for me.
I'll use this opportunity to plug the one-liner I use all the time, which summarizes the "structure" of a doc in a jq-able way: https://github.com/stedolan/jq/issues/243#issuecomment-48470... (I didn't write it, I'm just a happy user)
For example:
$ curl -s 'https://ip-ranges.amazonaws.com/ip-ranges.json' | jq -r '[path(..)|map(if type=="number" then "[]" else tostring end)|join(".")|split(".[]")|join("[]")]|unique|map("."+.)|.[]' -
GNU Parallel, where have you been all my life?
That should recursively list directories, counting only the files within each, and output² jsonl that can be further mangled within the shell². You could just as easily populate an associative array for further work, or $whatever. Unlike bash, zsh has reasonable behaviour around quoting and whitespace too.
¹ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht...
² https://github.com/jpmens/jo
³ https://github.com/stedolan/jq
- How do i edit reputation?
-
Jj: JSON Stream Editor
What I miss from jq and what is implemented but unreleased is platform independent line delimiters.
jq on Windows produces \r\n terminated lines which can be annoying when used with Cygwin / MSYS2 / WSL. The '--binary' option to not convert line delimiters is one of those pending improvements.
https://github.com/stedolan/jq/commit/0dab2b18d73e561f511801...
-
Building and deploying a web API powered by ChatGPT
If you have jq installed you can use it to make the output look nicer.
-
Search in your Jupyter notebooks from the CLI, fast.
It requires jq for JSON processing and GNU parallel for concurrent searches in the notebooks.
- Check the jq manual!
- mkv vs mp4 metadata
-
Amazon Begs Employees Not to Leak Corporate Secrets to ChatGPT
jq is your friend.
- Memes are all cool and all. But this is your daily remaining that 10000! =
What are some alternatives?
yaegi - Yaegi is Another Elegant Go Interpreter
gojq - Pure Go implementation of jq
json5 - JSON5 — JSON for Humans
grex - A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
nushell - A new type of shell