An encrypted proxy for browser javascript http://epoxy.r58playz.dev/
Find a file
2024-01-13 22:17:19 -05:00
client support multiple headers with the same key 2024-01-13 22:17:19 -05: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 response body compression 2024-01-13 03:43:13 -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 various small changes, allow bundling the wasm in the js file 2024-01-13 04:40:01 -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 and wasm-opt executables installed, 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