rayylee / keypress

A Rust WebAssembly Website example for practising english for chinese.

Home Page:https://rayylee.github.io/keypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyPress

A Rust WebAssembly Websit example for practising english for chinese.

How to build

The KeyPress is built with trunk. You can install it with the following command:

# Install WebAssembly target
# The compilation target for browser-based WebAssembly is called "wasm32-unknown-unknown".
# The following command will add this target to your development environment.
rustup target add wasm32-unknown-unknown

# Install trunk and wasm-bindgen-cli
# At some point in the future, trunk will automatically download wasm-bindgen
cargo install trunk wasm-bindgen-cli

Build and run is as easy as running a single command:

# build
cargo build --release
# build and serve
trunk serve --release

Example

You can visit in the website https://rayylee.github.io/keypress

screenshot

Acknowledgments

About

A Rust WebAssembly Website example for practising english for chinese.

https://rayylee.github.io/keypress

License:GNU General Public License v3.0


Languages

Language:Rust 93.6%Language:SCSS 5.1%Language:HTML 1.2%