no_color
jello
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.
no_color
- Starship.rs: minimal, fast prompt for any shell
-
Unix Structured Concurrency
This sounds like a really good pattern, and something that deserves to become a modern standard (like https://no-color.org/).
I feel like this should be made opt in somehow. If you are a noninteractive process and stdin is a tty then you probably shouldn't be swallowing input. I frequently blind-type the next command while a long running command is active, because well behaved noninteractive programs don't swallow input from stdin.
- Command-line software which adds ANSI color to its output by default should check for a NO_COLOR environment variable that, when present and not an empty string (regardless of its value), prevents the addition of ANSI color.
- No_color
-
Announcing erdtree 3.0.0: A multi-threaded general purpose disk-usage and filesystem utility
Does this support the environment variable for NO_COLOR too? https://no-color.org/
- How and Why You Should Add Color to Your Scripts
-
Fulfilling a reader's request for my โdot filesโ
Some of us prefer tools which work best without them.
Allow me to repeat my plea for CLI developers to take a little time to read https://no-color.org and ensure their programs honor things like NO_COLOR, npm config set color false, TERM=dumb, INSIDE_EMACS etc.
https://news.ycombinator.com/item?id=35017940
-
OpenLoco Release v23.04
Change: [#1908] Detects if terminal is VT100 capable and uses colors for the output, can be disabled using NO_COLOR.
-
tint: ๐ slog.Handler that writes tinted logs
Why not let termenv do the hard part of making this portable across terminals? It also supports lesser-known conventions like NO_COLOR.
jello
-
jq 1.7 Released
Jello letโs you use python syntax with dot notation without the stdin/stdout/json.loads boilerplate.
https://github.com/kellyjonbrazil/jello
- the case for bash
-
Simple Apache Log Parser
Yep, you can create a filter in jq to do that. Alternatively, if you prefer Python syntax you could try jello, which works like jq but is really Python under the hood. (I am also the author of jello)
- I'm developing a new command line tool for querying and transforming JSON files , called ~Q (pronounced "unquery"). My design goal is to create a tool that is powerful yet easy to use (aim to be more intuitive for users than existing tools such as jq). Let me know your thoughts and suggestions.
-
An introduction to the magic of jq - Understanding the basics of jq with a realistic example
I'm no expert in any of these tools, but here are some yamlpath and jello examples to match:
-
Show HN: gq โ like jq or zq, but you use Go
Similar in concept to jello[0] which works like jq but uses python syntax.
[0] https://github.com/kellyjonbrazil/jello
- Parsing Complex JSON
-
Searching for a value in json with jq
jello:
-
Anyone have a resource to filter out information from complex json outputs? In the example, I am trying to get the "state": "succeeded" information for each entry in the resource array.
Or, if you prefer python list comprehension syntax, you could use Jello:
- Ask HN: Local Tools for Viewing JSON
What are some alternatives?
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
jellex - TUI to filter JSON and JSON Lines data with Python syntax
Clipboard - ๐๐๏ธ๐ฌ Your new, ๐ง๐๐๐ค๐ฃ๐ ๐ช๐ก๐๐๐๐ค๐ช๐จ๐ก๐ฎ smart clipboard manager
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.
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
no-ansi - A single-function CLI tool to strip escape codes from input
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
gofx - ๐พ fx-like command-line JSON processing tool
jsonslicer - Stream JSON parser for Python
grc - generic colouriser
jmespath.py - JMESPath is a query language for JSON.