vscode extensions download for offline installation
2.6K
This Rust program reads the recommendations array from an extensions.json file and downloads the corresponding VSIX packages for Visual Studio Code extensions.
This is an adaptation of the original vsixHarvester, it does not use the Visual Studio Code extensions.json file, but a custom one. The custom extensions.json file allows to specify the architecture for each extension.
extensions.json.cargo install vsixHarvester
vsixHarvester [OPTIONS]
-i, --input <INPUT>: Path to the extensions.json file. Default is ./extensions.json.-d, --destination <DESTINATION>: Destination folder to save the VSIX files. Default is ./extensions.--no-cache: Force re-download even if the extension file already exists.--proxy <PROXY>: Proxy URL to use for HTTP requests.-v, --verbose: Enable verbose output for detailed logging.-h, --help: Print help information.vsixHarvester \
--input ./your/path/to/extensions.json \
--destination ./your/path/to/extensions \
--no-cache \
--verbose
win32-x64win32-arm64darwin-x64darwin-arm64linux-x64linux-arm64The extensions.json file should have the following structure:
{
"universal": [
// "publisher.extensionName",
// "anotherPublisher.anotherExtensionName",
"GitHub.copilot",
"GitHub.copilot-chat",
"golang.Go",
"yzhang.markdown-all-in-one",
"eamodio.gitlens"
],
"linux_x64":[
"rust-lang.rust-analyzer",
"ms-python.python"
],
"linux_arm64":[
"rust-lang.rust-analyzer",
"ms-python.python"
]
}
Content type
Image
Digest
sha256:75a5eac30…
Size
31.4 MB
Last updated
3 months ago
docker pull sctg/vsixharvester