Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
AI Assistant that reduces the size of your application's Docker Image
| Date | Stars |
|---|---|
| 2026-07-31 | 418 |
| 2026-08-05 | 418 |
| 2026-08-06 | 418 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# DockerShrink [](https://github.com/sponsors/duaraghav8) [Talk to us on Slack](https://join.slack.com/t/dockershrink/shared_invite/zt-2vwkeqw0k-JXmHBNCQnG4X1BBf1t3xyg) **|** [Vote for Feature Requests](https://github.com/duaraghav8/dockershrink/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request) --- Dockershrink is an AI-powered Commandline Tool that helps you reduce the size of your Docker images  It combines the power of algorithmic analysis with Generative AI to apply state-of-the-art optimizations to your Image configurations :brain: Dockershrink can automatically apply techniques like Multi-Stage builds, switching to Lighter base images like alpine and running dependency checks. PLUS a lot more is on the roadmap :rocket: Currently, the tool only supports [NodeJS](https://nodejs.org/en) applications. It can: 1. **Generate** optimized Docker image defintions (Dockerfile and .dockerignore) for new projects 2. **Optimize** existing image definition by including best practices to avoid bloat > [!IMPORTANT] > Dockershrink is **BETA** software. > > You can provide your feedback by [creating an Issue](https://github.com/duaraghav8/dockershrink/issues) in this repository. ## Why does dockershrink exist? Every org using containers in development or production environments understands the pain of managing hundreds or even thousands of bloated Docker images in their infrastructure. High data storage and transfer costs, long build times, underprodctive developers - we've seen it all. The issue becomes even more painful and costly with interpreted languages such as Nodejs & Python. Apps written in these languages need to pack the interpreters and all their dependencies inside their container images, significantly increasing their size. But not everyone realizes that by just implementing some basic techniques, they can reduce the size of a 1GB Docker image down to **as little as 100 MB**! ([I also made a video on how to do this.](https://youtu.be/vHBHxQfK6cM)) Imagine the costs saved in storage & data transfer, decrease in build times AND the productivity gains for developers :exploding_head: Dockershrink aims to automatically apply advanced optimization techniques so engineers don't have to waste time on it and the organization still saves :moneybag:! You're welcome :wink: ## Installation Dockershrink is shipped as a stand-alone binary. You can either download it from the [Releases](https://github.com/duaraghav8/dockershrink/releases) Page or use [Homebrew](https://brew.sh/) to install it: ```bash $ brew install duaraghav8/tap/dockershrink ``` > [!IMPORTANT] > On MacOS, you will have to use homebrew because the compiled binary is not [Notarized](https://developer.apple.com/documentation/security/notarizing-macos-software-before-distribution). ## Usage Navigate into the root directory of your Node.js project and invoke dockershrink: ```bash # To optimize existing Docker-related files $ dockershrink optimize # To generate new Docker files $ export DOCKERSHRINK_API_KEY=... $ dockershrink generate ``` Dockershrink creates a new directory which contains the files produced by it. By default, this directory is `dockershrink.out`. For detailed information about a command, run ```bash $ dockershrink help optimize $ dockershrink help generate ``` You can also use the `--debug` option to get DEBUG logs. These are especially helpful during troubleshooting. ```bash $ dockershrink generate --debug ``` ### Using AI Features > [!NOTE] > Using AI features is optional for "optimize" (but highly recommended) and mandatory for "generate". Dockershrink can use **any OpenAI-compatible API endpoint** for its AI features. This includes OpenAI, Anthropic, and AWS Bedrock. If you want to enable AI, you must supply your API key and (opt
Excerpt of 6,709 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:61f8e63a63b112f3, llm:Repository description: 'AI Assistant that reduces the size of your application's Docker Image' and topics include ai, ai-agent, containers, docker, optimization, retrieval-augmented-generation.
matched fp:61f8e63a63b112f3, llm:Repository description: 'AI Assistant that reduces the size of your application's Docker Image' and topics include ai, ai-agent, containers, docker, optimization, retrieval-augmented-generation.
matched fp:61f8e63a63b112f3, llm:Repository description: 'AI Assistant that reduces the size of your application's Docker Image' and topics include ai, ai-agent, containers, docker, optimization, retrieval-augmented-generation.