Skip to content
Aayush9029Public

About

Remove image backgrounds in the terminal with BiRefNet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

peel

peel

Remove image backgrounds in the terminal with BiRefNet

Release License

Why

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.

Install

brew install aayush9029/tap/peel

Usage

peel 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 directory

Reads 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.

License

MIT

About

Remove image backgrounds in the terminal with BiRefNet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages