Build wasm/emscripten packages with conda/mamba/boa. This repository consists of recipes for conda packages for emscripten. Most of the recipes have been ported from pyodide.
While we already have a lot of packages built, this is still a big work in progress.
Note The recipes used in this repository follow the Boa recipe specification.
To add a new package to emscripten-forge, just create a Pull Request in this repository. This PR should add a new folder in the recipe_emscripten folder containing the recipe of your package. Good example recipes are:
- ipywidgets for a
setuptools
based build system - cffi_example for a
cffi
based package. - xeus-python for a package with a CMake-based build system
Once the PR is merged, the package is built and uploaded to https://beta.mamba.pm/channels/emscripten-forge
We are working on:
- Rust integration st. packages with Rust code (ie.
cryptography
) compile to towasm-32-emscripten-unknown
. This will be relatively simple since this has already been done by the awesome pyodide team! - MambaLite: A wasm compiled version of mamba st. we can install
emscripten-forge
packages at wasm-runtime. - Binderlite: A JupyterLite / emscripten-forge powered version of Binder.
This project would not have been possible without the pioneering work of the pyodide team. Many aspects of this project are heavily inspired by the pyodide project. This includes the build scripts and many of the patches which have been taken from the pyodide packages.