{"id":26213435,"url":"https://github.com/sd2k/go-component-example","last_synced_at":"2026-04-21T17:36:45.667Z","repository":{"id":279466774,"uuid":"938660823","full_name":"sd2k/go-component-example","owner":"sd2k","description":"Example of a Wasm component written in Go, using net/http, running in Wasmtime","archived":false,"fork":false,"pushed_at":"2025-02-28T12:23:11.000Z","size":81,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T00:17:25.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Assembly","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/sd2k.png","metadata":{"files":{"readme":"README.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}},"created_at":"2025-02-25T09:55:50.000Z","updated_at":"2025-02-26T12:34:29.000Z","dependencies_parsed_at":"2025-02-25T18:50:11.040Z","dependency_job_id":null,"html_url":"https://github.com/sd2k/go-component-example","commit_stats":null,"previous_names":["sd2k/go-component-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sd2k%2Fgo-component-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sd2k%2Fgo-component-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sd2k%2Fgo-component-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sd2k%2Fgo-component-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sd2k","download_url":"https://codeload.github.com/sd2k/go-component-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188181,"owners_count":20250457,"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","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":"2025-03-12T09:19:27.869Z","updated_at":"2026-04-21T17:36:40.642Z","avatar_url":"https://github.com/sd2k.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go WebAssembly Component Example\n\nThis example demonstrates how to use [wit-bindgen-go] to generate Go bindings for a WebAssembly component,\n[tinygo] to build the component,\n[wkg] to manage the component's dependencies,\nand [wasmtime](https://github.com/bytecodealliance/wasmtime) to run the component.\n\n## Building\n\n### Dependencies\n\nThere are rather a lot of dependencies required for this:\n\n- [Rust][rust]\n- [wkg]\n- [tinygo]\n- [wit-bindgen-go]\n\nThere are two stages: building the component, then building (and running) the runtime.\n\n### Building the component\n\n```sh\njust build-component\n```\n\n### Running inside Wasmtime\n\n```sh\njust run-host\n```\n\n[rust]: https://rustup.rs\n[wkg]: https://github.com/bytecodealliance/wasm-pkg-tools\n[tinygo]: https://github.com/tinygo-org/tinygo\n[wit-bindgen-go]: https://github.com/bytecodealliance/go-modules\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsd2k%2Fgo-component-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsd2k%2Fgo-component-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsd2k%2Fgo-component-example/lists"}