An encrypted proxy for browser javascript http://epoxy.r58playz.dev/
Find a file
2024-01-11 22:45:05 -08:00
client actual tests and wasm-opt 2024-01-11 22:45:05 -08:00
server initial multiplexor 2024-01-09 08:20:14 -08:00
.envrc nixification 2024-01-09 19:46:05 -08:00
.gitignore nixification 2024-01-09 19:46:05 -08:00
Cargo.lock redirects 2024-01-11 22:21:37 -08:00
Cargo.toml initial multiplexor 2024-01-09 08:20:14 -08:00
flake.lock nixification 2024-01-09 19:46:05 -08:00
flake.nix nixification 2024-01-09 19:46:05 -08:00
README.md actual tests and wasm-opt 2024-01-11 22:45:05 -08:00

wsproxy-rust

Building

Server

  1. Generate certs with mkcert and place the public certificate in ./server/src/pem.pem and private certificate in ./server/src/key.pem
  2. Run cargo r --bin wstcp-server, optionally with -r flag for release

Client

  1. Make sure you have the wasm32-unknown-unknown target installed, wasm-bindgen executable installed (and optionally wasm-opt), and bash, python3 packages (python3 is used for http.server module)
  2. Run bash build.sh to build without wasm-opt and start a webserver, add any argument to call wasm-opt