rustup update
rustup target add wasm32-unknown-unknown
cargo install cargo-make
cargo install wasm-bindgen-cli
cargo install trunk
trunk serve
Open localhost:8080 in a browser.
Note: Auto-reload isn't implemented in Trunk (yet).
https://ivshti.github.io/stremio-kyuchek/manifest.json
Clone Stremio/stremio-server (if you have permissions)
Install deps and run node init.js
/.github/workflows_example/main.yml
trunk build --release
wasm-opt
command (until trunk
installs wasm-opt
automatically):cd dist
wasm-opt -Oz index-581317a2fdc60cc_bg.wasm -o index-581317a2fdc60cc_bg.wasm