{"id":16813711,"url":"https://github.com/albertoimpl/wasm-boot-hello","last_synced_at":"2026-04-13T16:01:37.892Z","repository":{"id":86217020,"uuid":"456447142","full_name":"Albertoimpl/wasm-boot-hello","owner":"Albertoimpl","description":"Spring boot calling WASM","archived":false,"fork":false,"pushed_at":"2022-02-15T11:15:30.000Z","size":2326,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:50:51.756Z","etag":null,"topics":["spring","spring-boot","wasm","webassembly"],"latest_commit_sha":null,"homepage":"","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/Albertoimpl.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-02-07T09:56:23.000Z","updated_at":"2023-01-12T10:14:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f62e6cea-b991-4c27-afbc-b6a3654b0b3a","html_url":"https://github.com/Albertoimpl/wasm-boot-hello","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Albertoimpl/wasm-boot-hello","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fwasm-boot-hello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fwasm-boot-hello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fwasm-boot-hello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fwasm-boot-hello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albertoimpl","download_url":"https://codeload.github.com/Albertoimpl/wasm-boot-hello/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fwasm-boot-hello/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["spring","spring-boot","wasm","webassembly"],"created_at":"2024-10-13T10:27:39.442Z","updated_at":"2026-04-13T16:01:37.873Z","avatar_url":"https://github.com/Albertoimpl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring boot and WebAssembly\n\nCalling a simple sum function written in C from a .wasm file from a Spring Boot application using [wasmer-java](https://github.com/wasmerio/wasmer-java).\n\nTo run the project:\n```shell\n./gradlew bootRun\n```\n\nTo call the function:\n```shell\ncurl 'http://localhost:8080/sum?x=10\u0026y=25'\n```\n\n\nNote that this needed to be added in `build.gradle`\n```groovy\nbootRun {\n    jvmArgs = [\"-Dos.arch=amd64\"]\n}\n```\n\nTo compile the sum function\n\n```shell\ngit clone https://github.com/emscripten-core/emsdk.git\ncd emsdk\n./emsdk install latest\n./emsdk activate latest\nsource ./emsdk_env.sh\n```\n\n```shell\nemcc sum/sum.c -o sum/sum.js -s EXPORTED_FUNCTIONS='[\"_sum\"]'\n```\n\n```shell\ncp sum/sum.wasm src/main/resources/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fwasm-boot-hello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoimpl%2Fwasm-boot-hello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fwasm-boot-hello/lists"}