up
dive
Our great sponsors
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.
up
-
Fx – Terminal JSON Viewer
This fx rewrite is very exciting. I'll have to try it. I thought of fx as a wrapper around jq, that allowed quick iteration over building jq scripts. Sort of an Ultimate Plumber [1] but only for jq. It looks like it is now more like a JavaScript processor plus an interactive viewer.
Someone mention Visidata[2]? VisiData is also a TUI that is great on tabular data, and it can work with json. If your JSON is mostly tabular in nature, Visidata does a great job at showing that data and allowing you to explore it. A lot of json I deal with is tabular-like data. There is a great tutorial [3], that can help you get your bearings with Visidata. Once you understand those basics you might want to look at this thread [4] for what commands you can use with json.
[1] Ultimate Plumber: https://github.com/akavel/up
- Up: Plumber is a tool for writing Linux pipes with instant live preview
-
Show HN: LineSelect, shell utility to interactively select lines in a pipeline
Ultimate plumber can do this.
https://github.com/akavel/up
- Ultimate Plumber – a tool for writing Linux pipes with live preview
-
`jqp`, a TUI playground for `jq`
Been using up for years but this looks nice too
-
An interactive wrapper around `jq`
Fun. But I can achieve the same result (I think) with ultimate plumber and regular jq, but without being restricted just to jq. Feel free to correct me.
-
What are some useful cli tools that arent popular?
Up - The Ultimate Plumber makes the best pipes !
-
A list of new(ish) command line tools – Julia Evans
As an alternative allowing the use of any shell command/pipeline on the results interactively, see also: https://github.com/akavel/up
- RegExr: Learn, Build and Test Regex
-
Is there any command-line application that you wish existed but doesn't (or isn't as good as you wished)?
Would https://github.com/akavel/up solve your problem?
dive
-
Mastering Docker Image Optimization: 6 Key Strategies for building Lighter, Faster, and Safer images
Dive is an open-source tool that allows you to explore the various layers of a Docker image. It shows you the content of each layer and helps you identify voluminous or unnecessary parts.
- Optimisation des images Docker: 6 Stratégies clés pour des images plus légeres et plus performantes
-
I reduced the size of my Docker image by 40% – Dockerizing shell scripts
Dive is a great tool for debugging this. I like image reduction work just because it gives me a chance to play with Dive: https://github.com/wagoodman/dive
One easy low hanging fruit I see a LOT for ballooning image sizes is people including the kitchen sink SDK/CLI for their cloud provider (like AWS or GCP), when they really only need 1/100 of that. The full versions of both of these tools are several hundred mb each
- Dive: A tool for exploring a Docker image, layer contents and more
- Dive – A tool for exploring each layer in a Docker image
- FLaNK Stack Weekly for 12 September 2023
-
Dive Into Docker part 4: Inspecting Docker Image
This post is going to be shorter. I'd like to highlight a tool that I really enjoy working with called "Dive" It is an essential tool when working to build and optimize docker containers.
-
Top 10 CLI Tools for DevOps Teams
Whether you work with Docker regularly or even create your own Docker containers, Dive is a great tool for streamlining image sizes, potentially helping you save storage costs and speed up deployments.
- Dive – exploring a Docker image, layer contents, and shrinking a image size
- Dive: A tool for exploring a Docker image's layer contents
What are some alternatives?
nvim-jqx - Populate the quickfix with json entries
skopeo - Work with remote images registries - retrieving information, images, signing content
zsh-history-substring-search - 🐠 ZSH port of Fish history search (up arrow)
Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
fzf-tab - Replace zsh's default completion selection menu with fzf!
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
fx - Terminal JSON viewer & processor
lnav - Log file navigator
hurl - Hurl, run and test HTTP requests with plain text.
Whaler - Program to reverse Docker images into Dockerfiles
watchexec - Executes commands in response to file modifications
distroless - 🥑 Language focused docker images, minus the operating system.