Skip to content


Repository files navigation



A web frontend to zeerust


Try it out!

Local development


You'll need to install cargo-web

Running the development server

$ cargo web start
   Compiling ezeerust v0.1.0 (/home/ellie/Projects/zeerust-web)
    Finished dev [unoptimized + debuginfo] target(s) in 0.95s
    Processing "ezeerust.wasm"...
    Finished processing of "ezeerust.wasm"!

If you need to serve any extra files put them in the 'static' directory
in the root of your crate; they will be served alongside your application.
You can also put a 'static' directory in your 'src' directory.

Your application is being served at '/ezeerust.js'. It will be automatically
rebuilt if you make any changes in your code.

You can access the web server at ``.

Building for deployment

$ cargo web deploy --release
   Compiling zeerust v0.2.0
   Compiling ezeerust v0.1.0 (/home/ellie/Projects/zeerust-web)
    Finished release [optimized] target(s) in 7.68s
    Processing "ezeerust.wasm"...
    Finished processing of "ezeerust.wasm"!
The `ezeerust` was deployed to "/home/ellie/Projects/zeerust-web/target/deploy"!


The included Dockerfile builds an nginx-based container that will serve the site on port 80.

$ docker build . -t ezeerust
Sending build context to Docker daemon  481.3MB
Step 1/3 : FROM nginx
 ---> 2bcb04bdb83f
Step 2/3 : COPY target/deploy /usr/share/nginx/html
 ---> 4f7f68f85a41
Step 3/3 : COPY ezeerust.conf /etc/nginx/conf.d/default.conf
 ---> 9078ab1b3a7c
Successfully built 9078ab1b3a7c
Successfully tagged ezeerust:latest
$ docker run -p 8080:80 ezeerust

You can then visit localhost:8080 to see the site.

Future expansion ideas

  • Show the Assembly source of a file
  • Allow users to upload their own binaries
  • Graphics???