yq
htmlq
Our great sponsors
yq | htmlq | |
---|---|---|
24 | 27 | |
2,461 | 6,920 | |
- | - | |
6.1 | 2.3 | |
8 days ago | 7 months ago | |
Python | Rust | |
Apache License 2.0 | 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.
yq
- Jaq – A jq clone focused on correctness, speed, and simplicity
- jq 1.7 Released
- Using XPath in 2023
-
How to troubleshoot yaml parsing error "did not find expected key"?
Install jq and yq, and wrap your commands with | yq -y ..
-
Memes are all cool and all. But this is your daily remaining that 10000! =
Confusingly there is another project called yq that does exactly what you're suggesting and it's a preprocessor that converts yaml to json and then used jq. https://github.com/kislyuk/yq
-
inhumane and error-prone
yq
-
Yq is a portable yq: command-line YAML, JSON, XML, CSV and properties processor
I personally find the yq tool from https://github.com/kislyuk/yq much more useful: it has all the same options and formats as `jq` (as it's really a wrapper around jq). Rather than the `yq` in the OP here where only partial functionality exists.
- The YAML Document from Hell
-
Scraping weather info
XML data from the API can be parsed and filtered with xq. There may be multiple ways to get it; first try the yq toolset which includes it.
-
Show HN: Xq – command-line XML and HTML beautifier and content extractor
There is also yq [1], which attempts the same for yaml, toml and xml. (And confusingly also contains a binary named "xq" for querying xml, however with a different syntax)
[1] https://github.com/kislyuk/yq
htmlq
- Htmlq: Like Jq, but for HTML
-
What monitoring tool do you use or recommend?
jq is pretty amazing. If you are comfortable with its jquery-like CSS selector syntax, then I should also mention a couple similar cli utilities that apply it to HTML: htmlp and pup.
- Yq is a portable yq: command-line YAML, JSON, XML, CSV and properties processor
- mgdm/htmlq: Like jq, but for HTML.
- hq: like jq, but for HTML
-
SQLite-HTML: A SQLite extension for querying, manipulating, and creating HTML
Hey, author here, happy to answer questions! A few other recent posts/tools that you may be interested in:
- sqlite-lines discussion from a few days ago: https://news.ycombinator.com/item?id=32288165
- htmlq, Rust CLI for (like jq but for html): https://github.com/mgdm/htmlq
- The Go library that sqlite-html uses for making runtime-loadable SQLite extensions https://github.com/riyaz-ali/sqlite
- sqlean, a ton of other helpful SQLite extensions (in C): https://github.com/nalgeon/sqlean
-
Any cool cURL/wget tools that you use?
thanks. that reminds me their's a jq for html: https://github.com/mgdm/htmlq
- A CLI to avoid remembering HTTP status codes
- A list of new(ish) command line tools – Julia Evans
- htmlq - like jq, but for HTML
What are some alternatives?
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
pup - Parsing HTML at the command line
yq - yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor
ht - Friendly and fast tool for sending HTTP requests
jq - Command-line JSON processor
tools - all-in collection of productivity scripts, CLI tools, utility libraries, fuse filesystems, and also some stuff
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
hq - lightweight command line HTML processor using CSS and XPath selectors
xmlq - filter xml in the command line with xpath
cascadia - Go cascadia package command line CSS selector
hn-search - Hacker News Search
jql - Easy JSON Query Processor with a Lispy syntax in Go