Experimental mirror built with webAssembly, Rust and javascript
yarn
to install dependenciesyarn build
to create dist folderyarn wasm
to build the WASM file!yarn start
to serve index.htmlyarn format
to format your changes (needs ftm installed - runcargo fmt
)
- Install Rust: https://www.rust-lang.org/tools/install
- Install wasm-pack: https://rustwasm.github.io/wasm-pack/installer/
- Install cargo-generate:
cargo install cargo-generate
- Clone repo and
cd
intoconvoluted-mirror
folder - run the following commands:
yarn
yarn wasm
yarn start
bungcip.better-toml
for the cargo generated .toml filesrust-lang.rust
for rust syntax highlightingdtsvet.vscode-wasm
for syntax highlighting and wasm binary view
Remember to run yarn wasm and yarn build to update app when running on live server.