MCPcopy Index your code
hub / github.com/ducan-ne/remove-bg

github.com/ducan-ne/remove-bg @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
6 symbols 30 edges 9 files 0 documented · 0% updated 22mo ago★ 4791 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Remove-BG

Remove background directly in your browser, powered by WebGPU



<a href="https://bannerify.co/tools/remove-bg"><strong>Learn more »</strong></a>






<a href="#introduction"><strong>Introduction</strong></a> ·
<a href="#tech-stack"><strong>Tech Stack</strong></a> ·

Twitter Hacker News

Introduction

Remove background directly in your browser, powered by WebGPU, we use RMBG V1.4 model from Hugging Face

Under the hood, it uses transformer.js to interact with the model

Tech Stack

  • Pnpm
  • Vite
  • Transformers.js
  • NextUI
  • React aria components
  • Tailwind
  • RMBG V1.4 model

Troubleshooting

Status "Error"

Try to put the flag "--enable-unsafe-webgpu --enable-features=Vulkan" to your Chrome flags, read more about it here

Crash the browser

Some people reported that the browser crashed when they try to remove the background. This is a known issue and we are working on a fix. In the mean time, you can try to disable "WebGPU" in the "Experimental features" section in your browser's settings and try again (this will make the tool use CPU instead)

Contributing

  • pnpm install
  • pnpm dev

That's it

Core symbols most depended-on inside this repo

onFiles
called by 5
src/RemoveBG.tsx
removeBg
called by 1
src/ai.ts
writeBundle
called by 0
vite.config.ts
Converter
called by 0
src/RemoveBG.tsx
handler
called by 0
src/RemoveBG.tsx
App
called by 0
src/App.tsx

Shape

Function 6

Languages

TypeScript100%

Modules by API surface

src/RemoveBG.tsx3 symbols
vite.config.ts1 symbols
src/ai.ts1 symbols
src/App.tsx1 symbols

For agents

$ claude mcp add remove-bg \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact