{"id":38462572,"url":"https://github.com/stever/wasm-c-example","last_synced_at":"2026-01-17T05:00:18.874Z","repository":{"id":65403731,"uuid":"591669106","full_name":"stever/wasm-c-example","owner":"stever","description":"WebAssembly example using C.","archived":false,"fork":false,"pushed_at":"2023-01-21T21:06:33.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-21T04:35:31.648Z","etag":null,"topics":["c","example","wasm"],"latest_commit_sha":null,"homepage":"","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/stever.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}},"created_at":"2023-01-21T13:36:39.000Z","updated_at":"2023-01-21T16:55:32.000Z","dependencies_parsed_at":"2023-02-12T11:31:04.284Z","dependency_job_id":null,"html_url":"https://github.com/stever/wasm-c-example","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/stever/wasm-c-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stever%2Fwasm-c-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stever%2Fwasm-c-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stever%2Fwasm-c-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stever%2Fwasm-c-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stever","download_url":"https://codeload.github.com/stever/wasm-c-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stever%2Fwasm-c-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28497943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"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":["c","example","wasm"],"created_at":"2026-01-17T05:00:11.952Z","updated_at":"2026-01-17T05:00:18.588Z","avatar_url":"https://github.com/stever.png","language":"HTML","readme":"# wasm-c-example\n\nWebAssembly example using C using [Emscripten](https://emscripten.org/).\n\nActivate the Emscripten SDK:\n\n```bash\ngit clone https://github.com/emscripten-core/emsdk.git\ncd emsdk\n./emsdk install latest\n./emsdk activate latest\nsource ./emsdk_env.sh # emcc command now on path\n```\n\nRecompiling the `hello.wasm` file:\n\n```bash\nemcc hello.c -o hello.js\nnode hello.js\n```\n\nOptimise code, and emit HTML:\n\n```bash\nemcc hello.c -O3 -o hello.html\n```\n\nServe via HTTP:\n\n```bash\npython -m http.server 8000\n```\n\nView the output on http://127.0.0.1:8000/hello.html\n\nBased on example provided by Aaron Turner and licensed under the\n[Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstever%2Fwasm-c-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstever%2Fwasm-c-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstever%2Fwasm-c-example/lists"}