Switch branches/tags
Nothing to show
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src Add initial (inaccurate) support for emphasis flags Nov 24, 2018
static pinky-web: Pixelate the canvas Jan 1, 2018
Cargo.toml pinky-web: Update to `stdweb` 0.4 Jun 24, 2018
README.md Fix a typo in README (#7) Mar 11, 2018
Web.toml pinky-web: Set default target to `wasm32-unknown-unknown` Feb 12, 2018

README.md

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.