š This is very much a work in progress. Knowing me, I will probably start working on another side project and forget about this before long š¤·āāļø. (I have a bit more follow-through at work :|)
MVP Implementation path w/ progress:
Glues a lot of components together, particularly in the sveltekit/vite context:
In development, web workers will only work well/hot reload in chromium-based browsers! (Or, at least, firefox does not work.)
To get started:
git clone [email protected]:michaelwooley/pybros.github
cd pybros
npm i
npm run dev
Open localhost:3000.
cd src/lib/wasm
wasm-pack build --target web --dev
# To build
wasm-pack build --target web
# https://github.com/rustwasm/wasm-pack/issues/457#issuecomment-457024036
# cargo install cargo-watch
cargo watch -i .gitignore -i "pkg/*" -s "wasm-pack build --target web --dev"
ā IMPORTANT: Before going any further, run this command:
rustup update stable
This is really just a glue job. All of the magic here is due to these projects: