{"id":15722485,"url":"https://github.com/defold/extension-html5","last_synced_at":"2025-10-20T04:31:46.474Z","repository":{"id":146434992,"uuid":"92505605","full_name":"defold/extension-html5","owner":"defold","description":"Example showing how to create a native extension for HTML5","archived":false,"fork":false,"pushed_at":"2024-04-11T06:29:29.000Z","size":221,"stargazers_count":13,"open_issues_count":1,"forks_count":4,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-01-30T15:25:19.900Z","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/defold.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}},"created_at":"2017-05-26T11:47:22.000Z","updated_at":"2024-08-26T18:32:51.000Z","dependencies_parsed_at":"2024-02-27T09:32:45.707Z","dependency_job_id":"69bb881a-885e-4876-a5ef-0fed054974f4","html_url":"https://github.com/defold/extension-html5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-html5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-html5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-html5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-html5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defold","download_url":"https://codeload.github.com/defold/extension-html5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237267975,"owners_count":19282320,"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-03T22:08:04.038Z","updated_at":"2025-10-20T04:31:41.164Z","avatar_url":"https://github.com/defold.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML5 Native Extension\n\n\n## Features\n\nThis is a short example of what features the native extension brings for the HTML5 platform\n\n* C/C++ - Add pure C/C++ code or C/C++ libraries built with Emscripten\n\n* [EM_ASM](https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#interacting-with-code-call-javascript-from-native) - Add \"in place\" JavaScript code directly in your C/C++ code\n\n* JavaScript libraries - Add Emscripten JavaScript libraries. These are JavaScript files with special \"hooks\" that the Emscripten compiler will react to and merge with the final executable\n\n## Emscripten\n\n[Emscripten](https://kripken.github.io/emscripten-site/docs/) is a Clang based compiler that allows for compiling existing C/C++ code into JavaScript and WebAssembly.\n\n## Example app\n\nThe example app demonstrates these features, and also shows an example of how to pass information to the running game.\n\n![](main/images/example.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fextension-html5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefold%2Fextension-html5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fextension-html5/lists"}