Vibe Coding Discover

AI Tools

Private, unlimited background removal that runs in your browser.

★ 30432 forksTypeScriptApache-2.0opencoredev

BG0 is an open-source background remover that runs fully in the browser using a BiRefNet ONNX model over WebGPU with a WASM fallback, so images never leave the device. It ships a TanStack Start web app plus a reusable @bg0/browser package with progress, cancellation, and transparent PNG output.

Use Cases

Remove image backgrounds entirely in the browser without uploading filesEmbed private background removal into another web app via @bg0/browserBatch/one-off transparent PNG creation for designersAdd client-side image cutout to privacy-sensitive productsOffline background removal after first model downloadLayout/regression testing of exporter UI with Playwright

Built With

Language
TypeScript
Frameworks
ONNX Runtime Web · TanStack Start · Blume · Turbo · Biome · Playwright · Bun

Tags

background-removal · browser-inference · webgpu · wasm · onnx · privacy-preserving · image-editing · local-first · npm-package · biRefNet · transparent-png · no-backend · typescript · monorepo · react