{"id":15790542,"url":"https://github.com/thangchung/wasi-wit-wasm-component-experiment","last_synced_at":"2026-04-24T16:37:19.014Z","repository":{"id":210944175,"uuid":"727812867","full_name":"thangchung/wasi-wit-wasm-component-experiment","owner":"thangchung","description":"Very early experiment on WASI, WIT, and Wasm Component Model with Rust and C#","archived":false,"fork":false,"pushed_at":"2023-12-05T17:00:24.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-11T22:16:24.095Z","etag":null,"topics":["component-model","wasi","wasm","webassembly","wit"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thangchung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-05T16:16:37.000Z","updated_at":"2023-12-08T09:07:50.000Z","dependencies_parsed_at":"2023-12-05T18:04:35.683Z","dependency_job_id":null,"html_url":"https://github.com/thangchung/wasi-wit-wasm-component-experiment","commit_stats":null,"previous_names":["thangchung/dotnet-wasm-component-experiment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thangchung/wasi-wit-wasm-component-experiment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Fwasi-wit-wasm-component-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Fwasi-wit-wasm-component-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Fwasi-wit-wasm-component-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Fwasi-wit-wasm-component-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thangchung","download_url":"https://codeload.github.com/thangchung/wasi-wit-wasm-component-experiment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Fwasi-wit-wasm-component-experiment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32231196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["component-model","wasi","wasm","webassembly","wit"],"created_at":"2024-10-04T22:21:48.849Z","updated_at":"2026-04-24T16:37:18.993Z","avatar_url":"https://github.com/thangchung.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add solution\n\nThis repository is for experiment [`wasm-component-sdk`](https://github.com/SteveSandersonMS/wasm-component-sdk).\n\n\u003e Run on Windows 11 only. It couldn't work on Ubuntu or MacOS 😂\n\n## wasm/wasi component with C#\n\n```sh\n\u003e dotnet new sln -n calculator\n\u003e dotnet sln calculator.sln add MyApp/MyApp.csproj \n\u003e dotnet sln calculator.sln add Adder/Adder.csproj\n```\n\n```sh\n\u003e cd Adder \n\u003e dotnet build\n```\n\nYou should see the wasm/wasi component at `bin\\Debug\\net8.0\\wasi-wasm\\native\\Adder.component.wasm`\n\n## wasm/wasi component with Spin (Rust)\n\n```sh\n\u003e cd rust-host\n\u003e spin build\n\u003e spin run\n\u003e curl http://127.0.0.1:3000/?\"x=10\u0026y=40\"\n```\n\n## wasm-tools (compose and run `Adder` on MyApp - C#)\n\n```sh\n\u003e wasm-tools component wit Adder\\bin\\Debug\\net8.0\\wasi-wasm\\native\\Adder.component.wasm\n```\n\n```sh\n\u003e wasm-tools compose -o composed.wasm MyApp\\bin\\Debug\\net8.0\\wasi-wasm\\native\\MyApp.component.wasm -d Adder\\bin\\Debug\\net8.0\\wasi-wasm\\native\\Adder.component.wasm\n\u003e wasmtime --wasm component-model composed.wasm\n```\n\n## Refs\n- https://devblogs.microsoft.com/dotnet/extending-web-assembly-to-the-cloud/ \n- https://learn.microsoft.com/en-us/windows/dev-environment/rust/setup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthangchung%2Fwasi-wit-wasm-component-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthangchung%2Fwasi-wit-wasm-component-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthangchung%2Fwasi-wit-wasm-component-experiment/lists"}