feat: Background remover

Abierto
#162 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
react, typescript, vite

Línea de trabajo

Start with "Adding a tool" in docs/CODEMAP.md, then inspect src/tools/catalog.ts, src/tools/registry.tsx, and a similar tool under src/tools/. Before starting, follow the issue's AGENTS.md approval requirement and check the runtime and model size and licence. Done means the tool meets the listed browser, offline, layout, theme, and phone-width requirements, with logic in its own module and a Vitest test.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement later needs-dependency new tool

Why

remove.bg charges per HD image, and it is one of the most searched image tools. Small segmentation models can now run in the browser.

Replaces: remove.bg, Canva background remover (Pro).

Scope

  • Drop an image, remove the background, preview on a checkerboard, download a transparent PNG.
  • Replace with a solid colour or blur.
  • Model downloads once on first use (show its size up front) and is cached for offline use.

Dependency

This needs a new runtime dependency (an ONNX or transformers.js runtime plus a small segmentation model (for example RMBG or MODNet); the model download is large, so check size and licence first). Per AGENTS.md, get maintainer approval in this issue before starting. Load it lazily in the tool's own chunk, never in the main bundle.

Done when

  • Logic lives in src/tools/<slug>/<slug>.ts with a Vitest test; the component only renders it.
  • One entry in src/tools/catalog.ts (category, audience, keywords, replaces) and one in src/tools/registry.tsx. See "Adding a tool" in docs/CODEMAP.md.
  • Nothing leaves the browser. It works offline once the page has loaded.
  • Works in light and dark mode and at phone width, with no layout shift when its state changes.
Lenguaje dominante
TypeScript
Estrellas
2
Forks
1
Merge medio
2 d 21 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ajithakdev/toolglass

Todos los issues de ajithakdev/toolglass

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.