{"id":50979393,"url":"https://github.com/tkc/nextjs-annotator","last_synced_at":"2026-06-19T12:33:58.290Z","repository":{"id":338613127,"uuid":"1158454431","full_name":"tkc/nextjs-annotator","owner":"tkc","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-15T13:38:16.000Z","size":338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-15T18:27:59.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-15T11:59:10.000Z","updated_at":"2026-02-15T13:39:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tkc/nextjs-annotator","commit_stats":null,"previous_names":["tkc/nextjs-annotator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tkc/nextjs-annotator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fnextjs-annotator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fnextjs-annotator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fnextjs-annotator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fnextjs-annotator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkc","download_url":"https://codeload.github.com/tkc/nextjs-annotator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fnextjs-annotator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34532255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-19T12:33:56.911Z","updated_at":"2026-06-19T12:33:58.268Z","avatar_url":"https://github.com/tkc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Annotation Tool\n\nNext.js 16 + React 19 + react-konva で構築した ML 訓練データ作成用画像アノテーションツール。\nローカルディレクトリの画像に対して BBox / Polygon / Point のアノテーションを行い、COCO JSON / YOLO TXT でエクスポートする。\n\n## 必要環境\n\n- Node.js \u003e= 20\n- pnpm \u003e= 9\n\n\n### プロジェクト設定\n\n`annotation-config.json` でラベルと画像ディレクトリを設定する:\n\n```json\n{\n  \"imageDir\": \"./data/images\",\n  \"outputDir\": \"./data/annotations\",\n  \"labels\": [\"car\", \"person\", \"dog\", \"cat\", \"bicycle\"]\n}\n```\n\n## 起動\n\n```bash\n# 開発サーバー\npnpm dev\n```\n\nhttp://localhost:3000 でアクセス。\n\n## その他のコマンド\n\n```bash\npnpm build     # プロダクションビルド\npnpm start     # ビルド後のサーバー起動\npnpm lint      # Biome リントチェック\npnpm format    # Biome フォーマット\npnpm check     # Biome リント + フォーマット (自動修正)\n```\n\n## 操作方法\n\n### ツール\n\n| キー | ツール | 操作 |\n|------|--------|------|\n| V | Select | クリックで選択、ドラッグで移動・リサイズ |\n| B | BBox | ドラッグで矩形描画 |\n| P | Polygon | クリックで頂点追加、ダブルクリックで確定 |\n| . | Point | クリックで配置 |\n\n### その他のショートカット\n\n| キー | アクション |\n|------|-----------|\n| Delete / Backspace | 選択中のアノテーション削除 |\n| ← | 前の画像 |\n| → | 次の画像 |\n| マウスホイール | ズーム (0.1x - 10x) |\n\n### エクスポート\n\nヘッダーの「Export COCO」/「Export YOLO」ボタンからダウンロード。\n\n## Tech Stack\n\n| 技術 | 用途 |\n|------|------|\n| Next.js 16 (App Router) | フレームワーク |\n| React 19 | UI |\n| Konva + react-konva | Canvas 描画 |\n| Zustand | 状態管理 |\n| Zod | スキーマ検証 |\n| Tailwind CSS 4 + shadcn/ui | スタイリング |\n| Biome | リント + フォーマット |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkc%2Fnextjs-annotator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkc%2Fnextjs-annotator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkc%2Fnextjs-annotator/lists"}