{"id":17932236,"url":"https://github.com/jpmcb/sample-wasm-app","last_synced_at":"2025-07-15T09:03:33.426Z","repository":{"id":104968934,"uuid":"182328752","full_name":"jpmcb/Sample-WASM-App","owner":"jpmcb","description":"A simple WASM app served by through Go","archived":false,"fork":false,"pushed_at":"2019-08-02T17:45:08.000Z","size":347,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T18:08:01.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jpmcb.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":"2019-04-19T21:39:42.000Z","updated_at":"2019-08-02T17:45:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"89c309c9-8c22-434c-a589-c1827cb1e95a","html_url":"https://github.com/jpmcb/Sample-WASM-App","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpmcb/Sample-WASM-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2FSample-WASM-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2FSample-WASM-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2FSample-WASM-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2FSample-WASM-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpmcb","download_url":"https://codeload.github.com/jpmcb/Sample-WASM-App/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2FSample-WASM-App/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265424313,"owners_count":23762879,"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":"2024-10-28T21:25:57.730Z","updated_at":"2025-07-15T09:03:33.401Z","avatar_url":"https://github.com/jpmcb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample-WASM-App\nThis simple WASM app uses a C `.wasm` binary and some javascript injection to perform a basic math operation.\n\n## How to run:\n\nFrom the project's root directory\n```bash\nGOOS=js GOARCH=wasm go build -o public/main.wasm\n```\n\nEnsure that Go's `wasm_exec.js` file is also being served from the public folder.\nThis is a harness for the page's javascript to access the Go WASM binary.\nThis this javascript file may be copied from the GOROOT:\n\n```bash\ncp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" ./public\n```\n\n\n#### Reference:\nThe following hackaday article inspired this project\n- https://hackaday.com/2019/04/04/webassembly-what-is-it-and-why-should-you-care/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmcb%2Fsample-wasm-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpmcb%2Fsample-wasm-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmcb%2Fsample-wasm-app/lists"}