{"id":20805729,"url":"https://github.com/danbugs/wasi-wit-download","last_synced_at":"2026-02-06T09:06:59.826Z","repository":{"id":251271238,"uuid":"836911734","full_name":"danbugs/wasi-wit-download","owner":"danbugs","description":"A CLI tool to download and extract specific WIT dependencies from Wasmtime releases","archived":false,"fork":false,"pushed_at":"2024-08-01T20:21:33.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T09:58:05.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danbugs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2024-08-01T20:19:50.000Z","updated_at":"2024-08-01T20:21:35.000Z","dependencies_parsed_at":"2024-08-01T22:48:31.735Z","dependency_job_id":"7af19d0c-1353-401e-8394-f39c5bac9492","html_url":"https://github.com/danbugs/wasi-wit-download","commit_stats":null,"previous_names":["danbugs/wasi-wit-download"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danbugs/wasi-wit-download","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fwasi-wit-download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fwasi-wit-download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fwasi-wit-download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fwasi-wit-download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danbugs","download_url":"https://codeload.github.com/danbugs/wasi-wit-download/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fwasi-wit-download/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267399991,"owners_count":24081176,"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-07-27T02:00:11.917Z","response_time":82,"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":"2024-11-17T19:16:06.508Z","updated_at":"2026-02-06T09:06:59.757Z","avatar_url":"https://github.com/danbugs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `wasi-wit-download`\n\nCurrently, there's lots of Wasm projects that require manual setup from the user. Part of that manual setup commonly involves downloading WIT files from a specific Wasmtime release. This project aims to automate that process by providing a CLI tool that can download WIT files for a specific Wasmtime release.\n\n## How to install?\n\n```bash\ncargo install wasi-wit-download\n```\n\n## How to use?\n\n```bash\nwasi-wit-download \u003crelease\u003e \u003cwit-dep-1\u003e \u003cwit-dep-2\u003e ... \u003cwit-dep-n\u003e\n```\n\n## Example\n\n```bash\nwasi-wit-download 18 cli clocks\n```\n\nOutput:\n\n```text\nDownloading from Wasmtime version: 18\nWIT dependencies to download: [\"cli\", \"clocks\"]\nDownloaded: \"cli\"\nDownloaded: \"clocks\"\n```\n\nThis will download the WIT files for the `cli` and `clocks` dependencies from the Wasmtime release `18` to the current directory.\n\nIf you request a WIT dependency that doesn't exist, the tool will print an error message and exit.\n\n```bash\n$ wasi-wit-download 18 cli foo clocks\nDownloading from Wasmtime version: 18\nWIT dependencies to download: [\"cli\", \"foo\", \"clocks\"]\nDownloaded: \"cli\"\nDownloaded: \"clocks\"\nError: The following folders were not found in the archive: [\"foo\"]\nerror: process didn't exit successfully: `wasi-wit-download.exe 18 cli clocks foo` (exit code: 1)\n```\n\n\u003e Note: The WIT dependencies `cli` and `clocks` will still be downloaded.\n\n## Limitations\n\n- This only works for Wasmtime versions 10 and above because we hardcode WIT deps search from `wasmtime-{version}.0.0/crates/wasi/wit/deps` which only exists in versions 10 onwards.\n- There's no CI for testing. Only manual testing.\n- We only allow downloading WIT files from major Wasmtime releases (e.g., 10, 11, 12, etc.). We don't support downloading WIT files from minor releases (e.g., 10.1, 10.2, 10.3, etc.).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanbugs%2Fwasi-wit-download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanbugs%2Fwasi-wit-download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanbugs%2Fwasi-wit-download/lists"}