{"id":30730548,"url":"https://github.com/tanoshimaru/export-discogs-csv","last_synced_at":"2025-09-03T16:35:50.918Z","repository":{"id":312546185,"uuid":"1047850166","full_name":"tanoshimaru/export-discogs-csv","owner":"tanoshimaru","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-31T11:34:01.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-31T13:20:50.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/tanoshimaru.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":"2025-08-31T11:30:21.000Z","updated_at":"2025-08-31T11:34:04.000Z","dependencies_parsed_at":"2025-08-31T13:20:52.652Z","dependency_job_id":"6dc4eaa7-867e-46e2-939a-eb974f500387","html_url":"https://github.com/tanoshimaru/export-discogs-csv","commit_stats":null,"previous_names":["tanoshimaru/export-discogs-csv"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tanoshimaru/export-discogs-csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanoshimaru%2Fexport-discogs-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanoshimaru%2Fexport-discogs-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanoshimaru%2Fexport-discogs-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanoshimaru%2Fexport-discogs-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanoshimaru","download_url":"https://codeload.github.com/tanoshimaru/export-discogs-csv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanoshimaru%2Fexport-discogs-csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273473503,"owners_count":25112202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":"2025-09-03T16:35:46.141Z","updated_at":"2025-09-03T16:35:50.892Z","avatar_url":"https://github.com/tanoshimaru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Export Discogs Bookmarks to CSV\n\nChrome 拡張機能（Manifest V3）。ブックマーク内の Discogs リンク（release/master）を走査し、アーティストや年などの情報を Discogs API から取得して CSV に出力します。API トークン不要で動作します。\n\n## 特長\n\n- Discogs の `release` / `master` URL のみ対象\n- サブフォルダを含めた走査に対応（ON/OFF 切替）\n- 重複 URL を自動除外\n- 同時並列で API を呼び出し短時間で収集\n- CSV には UTF-8 BOM を付与（Excel で文字化けしにくい）\n\n## 収集して出力する列\n\n```\nartist, title, genre, style, year, url\n```\n\n## 動作要件\n\n- Google Chrome（または Chromium 系ブラウザ）\n- インターネット接続（`api.discogs.com` へのアクセス）\n\n## インストール（開発者モード）\n\n1. このリポジトリをローカルに取得\n2. Chrome の「拡張機能」ページを開く（`chrome://extensions/`）\n3. 右上で「デベロッパーモード」をオン\n4. 「パッケージ化されていない拡張機能を読み込む」をクリックし、本フォルダを選択\n\nインストール後、ツールバーの拡張機能アイコンからポップアップを開けます。\n\n## 使い方\n\n1. ポップアップにブックマークツリーが表示されます\n2. 対象フォルダ（📁）をクリックして選択\n   - 「サブフォルダも含める」のチェックで再帰的に走査するかを切替\n3. 必要に応じてファイル名を入力（空ならフォルダ名.csv）\n4. 「このフォルダをCSVにする」をクリック\n5. 保存ダイアログが開いたら保存先を選択\n\n## 権限について\n\n- `bookmarks`: ブックマークツリーの取得に使用\n- `downloads`: 生成した CSV の保存に使用\n- `host_permissions` (`https://*.discogs.com/*`): Discogs API へのアクセスに使用\n\nいずれも機能実現のために必要な最小限の権限です。トークンや個人情報の収集は行いません。\n\n## 対応 URL と注意点\n\n- 対象: `https://discogs.com/release/{id}` / `https://discogs.com/master/{id}`（サブドメインや `/ja/` 等のロケール付も可）\n- ページ URL にスラッグが付いていても ID 部分を抽出して処理します（例: `/release/12345-some-title` → `12345`）\n- 非対応 URL（アーティストページ等）はスキップされます\n\n## 制限・トラブルシューティング\n\n- API のレート制限により稀に待ち時間が発生します（429/5xx は自動リトライ）\n- CSV に行が出力されない場合は、対象フォルダ内の URL が Discogs の release/master であることを確認してください\n- ネットワークエラー時は再実行してください\n\n## 開発メモ\n\n- Manifest: `manifest.json`（V3）\n- UI: `popup.html`\n- ロジック: `popup.js`\n- 依存ビルドなし（そのまま読み込み可能）\n\n## ライセンス\n\nこのリポジトリのライセンスが明記されていない場合は、作者に確認してください。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanoshimaru%2Fexport-discogs-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanoshimaru%2Fexport-discogs-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanoshimaru%2Fexport-discogs-csv/lists"}