Experimental mirror built with webAssembly, Rust and javascript
yarnto install dependenciesyarn buildto create dist folderyarn wasmto build the WASM file!yarn startto serve index.htmlyarn formatto 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
cdintoconvoluted-mirrorfolder - run the following commands:
yarnyarn wasmyarn start
bungcip.better-tomlfor the cargo generated .toml filesrust-lang.rustfor rust syntax highlightingdtsvet.vscode-wasmfor syntax highlighting and wasm binary view
Remember to run yarn wasm and yarn build to update app when running on live server.
