{"id":19321853,"url":"https://github.com/pascalallen/wasm-go","last_synced_at":"2026-06-14T12:33:46.886Z","repository":{"id":178106535,"uuid":"661366935","full_name":"pascalallen/wasm-go","owner":"pascalallen","description":"wasm-go is a module that is designed to compile a WebAssembly module from Go. There is a publication for this repository which can be found at https://pascalallen.medium.com/how-to-compile-a-webassembly-module-from-go-a9ed5f831582.","archived":false,"fork":false,"pushed_at":"2023-12-01T14:06:22.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T11:45:55.877Z","etag":null,"topics":["go","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pascalallen.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":"2023-07-02T16:11:09.000Z","updated_at":"2024-02-08T06:36:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa017258-a4dd-45e3-9669-03cd8c64bb56","html_url":"https://github.com/pascalallen/wasm-go","commit_stats":null,"previous_names":["pascalallen/wasm-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pascalallen/wasm-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalallen%2Fwasm-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalallen%2Fwasm-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalallen%2Fwasm-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalallen%2Fwasm-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascalallen","download_url":"https://codeload.github.com/pascalallen/wasm-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalallen%2Fwasm-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34322073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":["go","webassembly"],"created_at":"2024-11-10T01:39:20.167Z","updated_at":"2026-06-14T12:33:46.870Z","avatar_url":"https://github.com/pascalallen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasm-go\n\nwasm-go is a module that is designed to compile a WebAssembly module from Go. There is a publication for this repository which can be found [here](https://pascalallen.medium.com/how-to-compile-a-webassembly-module-from-go-a9ed5f831582).\n\n## Prerequisites\n\n- [Go](https://go.dev/dl/)\n\n## WebAssembly Compilation Steps\n\n### Compile the project's Go module to WebAssembly\n\n```bash\ncd app/ \u0026\u0026 GOOS=js GOARCH=wasm go build -o ../public/app.wasm\n```\n\n### Copy the compiled JavaScript WebAssembly support file to the project\n\n```bash\ncp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" ../public/app.js\n```\n\n### Run the project's web server from project root\n\n```bash\ngo run webserver.go\n```\n\nNavigate to [http://localhost:9990/](http://localhost:9990/), open the JavaScript debug console, and you should\nsee the output. You can modify the program, rebuild `app.wasm`, and refresh to see new output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalallen%2Fwasm-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalallen%2Fwasm-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalallen%2Fwasm-go/lists"}