| Crates.io | vsixHarvester |
| lib.rs | vsixHarvester |
| version | 0.1.9 |
| created_at | 2024-11-08 05:48:58.821737+00 |
| updated_at | 2025-05-11 04:28:06.355121+00 |
| description | A CLI tool to download VSCode extensions from extensions.json |
| homepage | https://github.com/ShortArrow/vsixHarvester |
| repository | https://github.com/ShortArrow/vsixHarvester |
| max_upload_size | |
| id | 1440862 |
| size | 141,847 |
This Rust program reads the recommendations array from an extensions.json file and downloads the corresponding VSIX packages for Visual Studio Code extensions.
extensions.json.cargo install vsixHarvester
vsixHarvester [OPTIONS]
-i, --input <INPUT>: Path to the extensions.json file. Default is ./.vscode/extensions.json.-d, --destination <DESTINATION>: Destination folder to save the VSIX files. Default is ./.vscode/extensions.-f, --force: 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.-a, --arch <ARCHITECTURE>: OS architecture to install the extensions for.-s, --single <EXTENSION_ID>: Download a single extension by its ID (e.g., publisher.extensionName). If this option is used, --input is ignored.vsixHarvester \
--input ./your/path/to/extensions.json \
--destination ./your/path/to/extensions \
--force \
--arch win32-x64 \
--verbose
To download a single extension:
vsixHarvester \
--single publisher.extensionName \
--force \
--arch win32-x64 \
--destination ./extensions \
--verbose
win32-x64win32-arm64darwin-x64darwin-arm64linux-x64linux-arm64alpine-x64alpine-arm64win32-ia32linux-armhfwebThe extensions.json file should have the following structure:
{
"recommendations": [
"publisher.extensionName",
"anotherPublisher.anotherExtensionName",
// Add more extensions as needed
]
}