pinky/pinky-web
2023-03-12 01:21:05 +09:00
..
src Add workspace and #[no_std] support 2023-03-12 01:21:05 +09:00
static pinky-web: Pixelate the canvas 2018-01-01 23:37:07 +01:00
Cargo.toml pinky-web: Update to stdweb 0.4 2018-06-24 22:16:29 +02:00
README.md Fix a typo in README (#7) 2018-03-11 20:41:41 +01:00
Web.toml pinky-web: Set default target to wasm32-unknown-unknown 2018-02-12 21:22:12 +01:00

This is the Web frontend for Pinky.

It's mostly meant as a demo for Rust's WebAssembly capabilities and the stdweb project.

Become a patron

See it in action

Building (using Rust's native WebAssembly backend)

  1. Install newest Rust:

    $ curl https://sh.rustup.rs -sSf | sh
    
  2. Install nightly:

    $ rustup install nightly
    $ rustup default nightly
    
  3. Install cargo-web:

    $ cargo install -f cargo-web
    
  4. Build it:

    $ cargo web start --release
    
  5. Visit http://localhost:8000 with your browser.

Building for other backends

You can add --target=asmjs-unknown-emscripten or --target=wasm32-unknown-emscripten argument to build it using another backend.