Remove image backgrounds in the terminal with BiRefNet
Cloud background removers eat your originals. Vision API and U²-Net erode product photos. peel runs BiRefNet-General locally and produces clean alpha cutouts — the same model rembg ships, wrapped in a single Go binary with no Python in sight.
brew install aayush9029/tap/peelpeel photo.jpg # writes ./photo.png
peel photo.jpg -o out.png # explicit name (overwrites)
peel *.webp # batch into cwd
peel *.webp -o out/ # batch into a directoryReads JPG, PNG, WEBP. Writes PNG with alpha. Model auto-downloads on first run into ~/.config/peel/models/. If ./photo.png already exists, the next run writes peel0123-photo.png instead of clobbering it.
MIT