{"id":23693403,"url":"https://github.com/alyetama/rembg-online","last_synced_at":"2025-09-02T20:34:03.224Z","repository":{"id":40303563,"uuid":"492737599","full_name":"Alyetama/Rembg-Online","owner":"Alyetama","description":"Web app to remove images background","archived":false,"fork":false,"pushed_at":"2023-03-29T07:00:30.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-05-20T17:15:32.222Z","etag":null,"topics":["python","remove-background","streamlit","streamlit-application"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alyetama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-16T08:00:29.000Z","updated_at":"2023-05-20T15:55:58.000Z","dependencies_parsed_at":"2023-01-18T22:30:32.266Z","dependency_job_id":null,"html_url":"https://github.com/Alyetama/Rembg-Online","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FRembg-Online","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FRembg-Online/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FRembg-Online/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FRembg-Online/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alyetama","download_url":"https://codeload.github.com/Alyetama/Rembg-Online/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231810738,"owners_count":18430003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","remove-background","streamlit","streamlit-application"],"created_at":"2024-12-30T03:51:59.436Z","updated_at":"2024-12-30T03:52:02.486Z","avatar_url":"https://github.com/Alyetama.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rembg App\n\nWeb app to remove images background using [rembg](https://github.com/danielgatis/rembg).\n\n[![Docker Build](https://github.com/Alyetama/Rembg-Online/actions/workflows/docker-build.yml/badge.svg)](https://github.com/Alyetama/Rembg-Online/actions/workflows/docker-build.yml) [![pages-build-deployment](https://github.com/Alyetama/Remove-Background-Online/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/Alyetama/Remove-Background-Online/actions/workflows/pages/pages-build-deployment) [![Vercel deploy](https://github.com/Alyetama/Remove-Background-Online/actions/workflows/vercel-deploy.yml/badge.svg)](https://github.com/Alyetama/Remove-Background-Online/actions/workflows/vercel-deploy.yml) [![Docker Hub](https://badgen.net/badge/icon/Docker%20Hub?icon=docker\u0026label)](https://hub.docker.com/r/alyetama/rembg-app) [![Supported Python versions](https://img.shields.io/badge/Python-%3E=3.9-blue.svg)](https://www.python.org/downloads/) [![Streamlit](https://img.shields.io/badge/Streamlit-1.10.0-red)](https://github.com/streamlit/streamlit/releases/tag/1.10.0) [![PEP8](https://img.shields.io/badge/Code%20style-PEP%208-orange.svg)](https://www.python.org/dev/peps/pep-0008/)\n\n\n## Deployment\n\n```sh\ngit clone https://github.com/Alyetama/Rembg-Online.git\ncd Rembg-Online\n```\n\n### Option 1: Run locally\n\n```sh\npip install -r requirements.txt\nstreamlit run streamlit_app.py\n```\n\n### Option 2: Free cloud hosting on Streamlit Cloud\n\n- [Fork this repository](https://github.com/Alyetama/Rembg-App/fork).\n- Go to [this page]( https://share.streamlit.io/deploy), select your fork under `Repository`, then click `Deploy!`.\n\n![streamlit_cloud](https://i.imgur.com/STSB68n.png)\n\n### Option 3: Docker\n\n```\ndocker run \\\n    -p 8501:8501 \\\n    -v \"${PWD}/.streamlit:/home/app/.streamlit\" \\\n    alyetama/rembg-app:latest\n```\n\n#### Docker Compose\n\n```\ndocker-compose up -d\n```\n\n##### Updating\n```sh\ndocker pull alyetama/rembg-app:latest\n```\n\nIf you're using the pre-built docker image in docker-compose, you can update the image by running:\n```sh\ndocker-compose down\ndocker-compose pull\ndocker-compose up -d\n```\n\n## Configuration\n\n- To configure the streamlit application, edit `.streamlit/config.toml` ([configuration reference](https://docs.streamlit.io/library/advanced-features/configuration)).\n- To configure the maximum number of uploaded files (*default: 10*), set the environment variable `MAX_FILES`:\n    - Option 1: Export the variable.\n    ```sh\n    export MAX_FILES=20\n    ```\n    - Option 2: Edit the value of `MAX_FILES` in `.env`.\n    ```sh\n    mv .env.example .env\n    nano .env  # or any other text editor\n    ```\n    - On Streamlit Cloud: Go to the app settings -\u003e Secrets -\u003e `MAX_FILES = 20` -\u003e save.\n\n\n## Notes\n\n- The very first processed image after starting the app may take few minutes, because the backend model is being downloaded for the first time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyetama%2Frembg-online","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyetama%2Frembg-online","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyetama%2Frembg-online/lists"}