Drewsif/PiShrink
Make your pi images smaller! observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 81
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 3795
- days_rel: 170
- days_push: 115
- n_releases_24m: 4
Adoption not part of the score
4102 stars · 696 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PiShrink is a bash script that automatically shrinks Raspberry Pi disk images so they flash faster and compress better. Shrunk images can optionally be compressed with gzip or xz, including parallel compression across multiple cores.
Use cases
- shrink a raspberry pi img file before flashing to sd card
- compress pi images with xz or gzip for distribution
- make raspberry pi backups smaller
- reduce sd card image write time
- shrink disk image last ext4 partition
- prepare pi image that auto-expands on first boot
When to choose
- you work with Raspberry Pi (or similar) .img files and want smaller, faster-to-flash images
- you need gzip/xz compression of disk images, optionally in parallel
- you want images that auto-resize the filesystem to fill the SD card on first boot
When to avoid
- the last partition of your image is not ext2/ext3/ext4
- you need to shrink images on Windows or macOS without a Linux environment
- your image's last partition is not the root filesystem and you rely on auto-resizing
Facets
cli-tool · maturity active
compression file-system cli developer-tools embedded-systems cli raspberry-pi sd-card disk-images shell-script image-shrinking command-line linux
1 source
- readme: https://github.com/Drewsif/PiShrink · fetched 2026-08-28 · 4359f55ab005
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Drewsif/PiShrink | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="Drewsif/PiShrink")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem