shadowsocks-rust
shadowsocks-rust copied to clipboard
Is there any possibility of compiling the ss-local as a wasm and use it inside the browser to connect to an ss-server?
trafficstars
I am working on a browser extension to connect to my remote server and wonder if I can use ss-local inside the browser instead of relying on socks5.
Maybe. You could give a try.
I think it couldn't work inside browser because no TCP or UDP support in browser. Also you need consider if Tokio can work in browser as it's based on mio which using epoll/iocp/kqueue .
There are some ways to use websockets as a TCP stream transport but still not much information on it I've found
Do you have any updates on this? Were you able to compile it into WASM?