feat: Background remover

Đang mở
#162 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript, vite
Lĩnh vực
frontend, machine-learning

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
2
Fork
1
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ajithakdev/toolglass

Tất cả issue của ajithakdev/toolglass

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.