Skip to content

Support browser/WebAssembly build #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jonnor opened this issue Apr 30, 2025 · 1 comment
Open

Support browser/WebAssembly build #41

jonnor opened this issue Apr 30, 2025 · 1 comment

Comments

@jonnor
Copy link
Contributor

jonnor commented Apr 30, 2025

MicroPython can run in the browser using the WebAssembly/WASM port. This would enable to use emlearn-micropython in the browser, be it for small demos, educational usage or providing "virtual" hardware emulator for an embedded device. Or it could actually be used emlearn to build a compact web application which incorporates machine learning (though that is perhaps better done with emlearn C library combined with JavaScript).

Now that we can support building as external C module (ref #18), this is at least theoretically possible.

@jonnor
Copy link
Contributor Author

jonnor commented Apr 30, 2025

Tulip Creative Computer is an embedded device made with MicroPython. It can be ran on the web using MicroPython WASM: https://tulip.computer/run/
Their build is open source, and might be relevant in how they achieved this. https://github.com/shorepine/tulipcc/blob/main/tulip/web/Makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant