feat: Background remover

オープン
#162 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react, typescript, vite

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
2
フォーク
1
平均マージ
2日 21時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ajithakdev/toolglass のほかの issue

ajithakdev/toolglass の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。