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
-
Show HN: LineSelect, shell utility to interactively select lines in a pipeline
Ultimate plumber can do this.
-
`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
Also featured in that thread: https://github.com/akavel/up
For example:
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?
-
The Invisible JavaScript Backdoor
Do you have some tricks for how you handle filtering through logs? Or if there could be a tool thst could help you or mitigate your most critical issue[s]?
I found filtering through longs a major pain even for a fully sighted person like me, so I wrote a tool to help me with that, but it's fully in a "TUI" paradigm (i.e. curses-like), so I presume it wouldn't help you much (https://github.com/akavel/up). No promises, given that the tool as is scratched my itch, but I am honestly curious if something similar could reduce your PITA, including whether this specific tool could be made useful for you through some minimal effort on my side.
dive
-
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
- FLaNK Stack Weekly for 12 September 2023
-
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.
-
Any Way To See The Dockerfile Used To Make An Image On Dockerhub?
If youβre happy to pull the image, then sort of yes. You can either use docker inspect or a tool like dive (https://github.com/wagoodman/dive) to see how each layer was created. This will give you an idea of the Dockerfile.
-
Issues reducing Docker image size when using Gdal and Pycurl with a multistage build?
Also, check out dive. It is an amazing tool for examining containers and find your size issues.
Did you try using dive ? It allows you to see each layer, so you can see the files that are added
-
Tips for reducing Docker image size
I like this tool: https://github.com/wagoodman/dive
-
Nix Service - Using the shipyard private crate registry with Docker
Also do I get shiny flair for https://github.com/wagoodman/dive/pull/443? Perhaps "Void shouter"?
-
Docker image size problems. This is driving me insane.
This tool is really useful for showing the size of each layer, making it obvious which layer is blowing up your image size: https://github.com/wagoodman/dive
What are some alternatives?
skopeo - Work with remote images registries - retrieving information, images, signing content
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)
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
lnav - Log file navigator
Whaler - Program to reverse Docker images into Dockerfiles
distroless - π₯ Language focused docker images, minus the operating system.
viddy - π A modern watch command. Time machine and pager etc.
kaniko - Build Container Images In Kubernetes
emptty - Dead simple CLI Display Manager on TTY
crun - A fast and lightweight fully featured OCI runtime and C library for running containers
jib - π Build container images for your Java applications.
distribution-spec - OCI Distribution Specification