{"id":16352238,"url":"https://github.com/bugthesystem/wasm-emc2","last_synced_at":"2026-01-06T07:36:58.865Z","repository":{"id":149223212,"uuid":"110270457","full_name":"bugthesystem/wasm-emc2","owner":"bugthesystem","description":":rocket: C++ Webassembly experiments using Emscripten","archived":false,"fork":false,"pushed_at":"2024-09-22T12:21:15.000Z","size":829,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T13:56:38.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bugthesystem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-10T16:51:06.000Z","updated_at":"2024-09-22T12:21:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5656c20-1e82-46cb-b5f4-86dfbd47db6c","html_url":"https://github.com/bugthesystem/wasm-emc2","commit_stats":null,"previous_names":["bugthesystem/wasm-emc2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fwasm-emc2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fwasm-emc2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fwasm-emc2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fwasm-emc2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugthesystem","download_url":"https://codeload.github.com/bugthesystem/wasm-emc2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248630212,"owners_count":21136396,"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-11T01:25:27.286Z","updated_at":"2026-01-06T07:36:58.837Z","avatar_url":"https://github.com/bugthesystem.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WASM EMCC\n\n\u003e C++ \u0026 Webassembly experiments using Emscripten on OSX\n\n## Prerequisites\n\n```sh\nbrew install cmake\n```\n\n## Emscripten SDK\n\n```sh\ngit clone https://github.com/juj/emsdk.git\ncd emsdk\n\n./emsdk install --build=Release sdk-incoming-64bit binaryen-master-64bit\n./emsdk activate --global --build=Release sdk-incoming-64bit binaryen-master-64bit\n\nsource ./emsdk_env.sh\n```\n\n## Compile\n\n```sh\nemcc -o out/index.html main.c -O3 -s WASM=1 \\\n     --shell-file html_template/shell_minimal.html -s NO_EXIT_RUNTIME=1\n\nemcc main.cpp -s USE_SDL=2 -s WASM=1 -s ASYNCIFY -o out/index.html\n```\n\n## Preview\n\n```sh\n# install simple http server\nnpm install -g lite-server\n```\n\n```sh\nlite-server out/\n```\n\n|\u003e z i λ a s a l\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fwasm-emc2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugthesystem%2Fwasm-emc2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fwasm-emc2/lists"}