{"id":50996423,"url":"https://github.com/kanywst/vscode-extensions","last_synced_at":"2026-06-20T10:01:26.788Z","repository":{"id":362282214,"uuid":"1258162859","full_name":"kanywst/vscode-extensions","owner":"kanywst","description":"Track your VS Code extensions in git and reinstall the same set on any machine.","archived":false,"fork":false,"pushed_at":"2026-06-03T11:41:06.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-03T13:20:27.247Z","etag":null,"topics":["bash","cli","developer-tools","dotfiles","extension-manager","sync","vscode","vscode-extensions"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/kanywst.png","metadata":{"files":{"readme":"README.ja.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-06-03T10:26:05.000Z","updated_at":"2026-06-03T11:41:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kanywst/vscode-extensions","commit_stats":null,"previous_names":["kanywst/vscode-extensions"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kanywst/vscode-extensions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanywst%2Fvscode-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanywst%2Fvscode-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanywst%2Fvscode-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanywst%2Fvscode-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanywst","download_url":"https://codeload.github.com/kanywst/vscode-extensions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanywst%2Fvscode-extensions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34565244,"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-20T02:00:06.407Z","response_time":98,"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":["bash","cli","developer-tools","dotfiles","extension-manager","sync","vscode","vscode-extensions"],"created_at":"2026-06-20T10:01:25.942Z","updated_at":"2026-06-20T10:01:26.777Z","avatar_url":"https://github.com/kanywst.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![vscode-extensions — track \u0026 reinstall your VS Code setup](assets/banner.png)\n\n_[English](README.md) | 日本語_\n\nVS Code の拡張機能リストを git で管理し、同じセットをどのマシンにも再現する。\n\n`extensions.list` が拡張機能ID を保持する。`bin/` のスクリプトがエディタから書き出し / リストからインストール / 差分確認を行う。\n\n## 使い方\n\n### 1. このマシンの状態を記録して push する\n\n`extensions.list` には既にこのマシンの拡張機能が入っている。commit して自分の remote へ push する。\n\n```bash\ngit remote add origin git@github.com:\u003cyou\u003e/vscode-extensions.git\ngit add -A\ngit commit -m \"init: track vscode extensions\"\ngit push -u origin main\n```\n\n### 2. 別のマシンで再現する\n\nclone してリストどおりにインストールする。再実行は安全で、入っている拡張機能はスキップされる。\n\n```bash\ngit clone git@github.com:\u003cyou\u003e/vscode-extensions.git ~/vscode-extensions\ncd ~/vscode-extensions\nbin/install.sh\n```\n\n### 3. 拡張機能を追加・削除したあと\n\nVS Code 上で入れたり消したりしたら、再書き出しして差分を commit する。\n\n```bash\nbin/export.sh\ngit add extensions.list\ngit commit -m \"chore: update extensions\"\n```\n\n### 差分を確認する\n\nインストール済みと `extensions.list` を比較する。差があれば非ゼロで終了するので、CI や pre-commit hook に組み込める。\n\n```bash\nbin/diff.sh\n```\n\n### 自動でリストを同期する\n\npre-commit hook を入れると、commit のたびに `extensions.list` が再書き出し＆ステージされる。インストール実態とリストがずれない。\n\n```bash\nln -s ../../bin/pre-commit .git/hooks/pre-commit\n```\n\n## 別エディタを使う場合\n\nCursor / VSCodium / Insiders など `code` 以外の CLI を使うときは `CODE_BIN` を指定する。\n\n```bash\nCODE_BIN=cursor bin/export.sh\nCODE_BIN=codium bin/install.sh\n```\n\n## 注意点\n\n- `code` コマンドが PATH に必要。コマンドパレットの `Shell Command: Install 'code' command in PATH` で追加する。\n- 管理対象は拡張機能ID (`publisher.name`) のみ。`settings.json` やキーバインドは対象外。\n- `bin/install.sh` は `code --install-extension --force` を実行するため、導入済みの拡張機能も最新版に更新される。\n- `extensions.list` は小文字化・ソート済みで書き出されるので diff が安定する。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanywst%2Fvscode-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanywst%2Fvscode-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanywst%2Fvscode-extensions/lists"}