Skip to content
A web interface for Zeerust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
static
.dockerignore
.gitignore
Cargo.lock
Cargo.toml
Dockerfile
LICENSE
README.md
Web.toml
ezeerust.conf

README.md

CircleCI

ezeerust

A web frontend to zeerust

Technologies

Try it out!

zeerust.stillinbeta.com

Local development

Cargo-web

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 `http://127.0.0.1:8000`.

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"!

Docker

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???
You can’t perform that action at this time.