Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phx/rmbg
Bash wrapper and MacOS app for python rmbg command line tool
https://github.com/phx/rmbg
Last synced: about 1 month ago
JSON representation
Bash wrapper and MacOS app for python rmbg command line tool
- Host: GitHub
- URL: https://github.com/phx/rmbg
- Owner: phx
- Created: 2024-02-20T04:08:37.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-20T14:21:51.000Z (11 months ago)
- Last Synced: 2024-02-21T05:27:49.911Z (11 months ago)
- Language: Shell
- Size: 2.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![GhostBG](./icon.png?raw=true)
# GhostBG
`GhostBG` a.k.a. `rmbg` is just a Bash wrapper and MacOS app for the Python3 [`rembg`](https://pypi.org/project/rembg/) command line utility.
It does pretty much everything you need to remove the background from images in batches.
(installs all dependencies and runs in a virtualenv inside `~/.rmbg`)
`rmbg` is also cross-compatible with all versions of Linux.
**External dependencies:**
- `bash`
- `python3`
- `curl` (if `pip` is not installed)## Installation:
```
git clone https://github.com/phx/rmbg
cd rmbg
./rmbg /path/to/image
````rmbg` creates an alias in `/usr/local/bin`, so next time you should be able to simply run:
```
rmbg /path/to/image
```or
```
rmbg /path/to/folder/*
```## MacOS app:
```
mv GhostBG.app /Applications/
```You can double-click GhostBG from your Applications, or drag it to your dock and click it.
It will open a Finder prompt for you to select the images you wish to edit.
You can also use it as a droplet by simply selecting the images from Finder and dragging them onto the GhostBG application to start processing them immediately.
## Uninstall:
```
rm -rf ~/.rmbg
rm -rf /Application/GhostBG.app
rm -f /usr/local/bin/rmbg
```