{"id":41559848,"url":"https://github.com/tiborhercz/go-wasm-example","last_synced_at":"2026-01-24T05:42:44.302Z","repository":{"id":38888968,"uuid":"478895540","full_name":"tiborhercz/go-wasm-example","owner":"tiborhercz","description":"Simple Go WASM example","archived":false,"fork":false,"pushed_at":"2023-04-02T20:31:48.000Z","size":7,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-09T08:14:56.110Z","etag":null,"topics":["example","go","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://tiborhercz.com/golang-webassembly/","language":"HTML","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/tiborhercz.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":"2022-04-07T08:32:55.000Z","updated_at":"2024-01-04T15:55:39.000Z","dependencies_parsed_at":"2024-06-19T19:07:04.123Z","dependency_job_id":"502b521e-0cd4-4626-a91c-a8cd716e47cd","html_url":"https://github.com/tiborhercz/go-wasm-example","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"6024e4760b0ee6fcf992a44dcd73433a5759eb01"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiborhercz/go-wasm-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiborhercz%2Fgo-wasm-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiborhercz%2Fgo-wasm-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiborhercz%2Fgo-wasm-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiborhercz%2Fgo-wasm-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiborhercz","download_url":"https://codeload.github.com/tiborhercz/go-wasm-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiborhercz%2Fgo-wasm-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28714036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:28:26.568Z","status":"ssl_error","status_checked_at":"2026-01-24T05:28:10.840Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["example","go","wasm","webassembly"],"created_at":"2026-01-24T05:42:43.196Z","updated_at":"2026-01-24T05:42:44.297Z","avatar_url":"https://github.com/tiborhercz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go WebAssembly Example\n\nHere you will find a simple Go WebAssembly Example. Showing you how to use Go to compile a `.wasm` file and run Go functions in the browser. Do you want more detail [read my Blog here](https://tiborhercz.com/golang-webassembly/)\n\nIn this example a SHA512 hash is created with WebAssembly using the value from the input field found in the HTML.\n\n## How to run it\n\nCompile the `.wasm` file\n\n```shell\nGOOS=js GOARCH=wasm go build -o static/main.wasm cmd/wasm/main.go\n```\n\nCopy the supporting JavaScript file\n\n```shell\ncp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" ./static\n```\n\nStart the webserver\n\n```shell\ngo run ./cmd/webserver/main.go\n```\n\nNavigate to: [http://localhost:3000/index.html](http://localhost:3000/index.html)\n\nHere you will find an input field, which hashes the text with a SHA512 hash using the Go WebAssembly code. Found in `cmd/wasm/main.go`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiborhercz%2Fgo-wasm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiborhercz%2Fgo-wasm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiborhercz%2Fgo-wasm-example/lists"}