jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
jless is a command-line JSON viewer. Use it as a replacement for whatever combination of less, jq, cat and your editor you currently use for viewing JSON files. It is written in Rust and can be installed as a single standalone binary. jless currently supports macOS and Linux.
mdi cli search
mdi cli search I use several tools using https://materialdesignicons.com. I love these icons, but the search is super slow, so i build this tool using fzf, jq and kitty to search and preview icons in the terminal.
3 shell scripts to improve your writing, or “My Ph.D. advisor rewrote himself in bash.”
The hardest part of advising Ph.D. students is teaching them how to write. Fortunately, I’ve seen patterns emerge over the past couple years.
Read XKCD in the terminal with some bash magic
XKCD is probably the most popular webcomic with Devs. It only seems right that you can read it from the comfort of your terminal via a xkcd command. How can we pull that off? I use Kitty as my terminal of choice. It is fast, feature-rich, and is cross-platform (Linux and macOS).
We can easily access the corresponding option or parameter through the variable $argc_
What’s so special about PS1? Fun with customizing Bash command prompts
Long ago, when I was still a console newbie, I copied my friend’s bash configuration file. It had all the necessary stuff already included – aliases, colors, and most importantly: a nice prompt setup. I used it on all machines I had access to due to all the extra context it provided.
Dasel (short for data-selector) allows you to query and modify data structures using selector strings. Comparable to jq / yq, but supports JSON, YAML, TOML, XML and CSV with zero runtime dependencies.
utt utt is the universal text transformer. utt is intended for converting between textual data representations. For example, utt can be used to convert from JSON to YAML: $ echo “[1, 2, 3]” | utt -i json -o yaml — – 1 – 2 – 3 $ Formats may be supported for input-only or output-only.
Ready-to-use loading animations in ASCII and UTF-8 for Bash scripts. Some of the animations have been adapted from https://github.com/sindresorhus/cli-spinners.
5 Modern Bash Scripting Techniques That Only A Few Programmers Know
Programmers often create shell scripts with the Bash command language to automate manual tasks. For example, they create Bash scripts for various configurations, file manipulations, generating build artifacts, and various DevOps-related activities.