noVNC/core/wasm
Joel Martin 876a691d2a wasm: use port 7080, use kanaka/rust-wasm image 2018-07-31 11:02:37 -05:00
..
src wasm: simplify down to just use MODE 3 (draw3). 2018-07-26 16:05:55 +09:00
Cargo.toml wasm: hello world with rust, wasm-bindgen, webpack 2018-07-25 16:02:40 +09:00
Dockerfile wasm: hello world with rust, wasm-bindgen, webpack 2018-07-25 16:02:40 +09:00
README.md wasm: use port 7080, use kanaka/rust-wasm image 2018-07-31 11:02:37 -05:00
bootstrap.js wasm: tests/results for 3 modes. 2018-07-26 14:19:01 +09:00
index.html wasm: use requestAnimationFrame and report FPS. 2018-07-26 15:38:33 +09:00
index.js wasm: use port 7080, use kanaka/rust-wasm image 2018-07-31 11:02:37 -05:00
package.json wasm: use port 7080, use kanaka/rust-wasm image 2018-07-31 11:02:37 -05:00
webpack.config.js wasm: tests/results for 3 modes. 2018-07-26 14:19:01 +09:00

README.md

noVNC + wasm

This is a WebAssembly proof-of-concept.

It is based on information from the following sources:

Prep:

docker build -t kanaka/rust-wasm ./core/wasm
    # OR
docker pull kanaka/rust-wasm

docker run -it -v `pwd`:/novnc -w /novnc/core/wasm -p 7080:7080 kanaka/rust-wasm bash

npm install

Build:

Run the following inside the container:

npm run build-release  # or run build-debug (10x slower code)
npm run serve          # then visit localhost:7080 outside the container

Note that run server will automatically detect modification to index.js and reload the page.