shadowsocks-rust icon indicating copy to clipboard operation
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?

Open miniyarov opened this issue 3 years ago • 4 comments
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.

miniyarov avatar Feb 28 '22 23:02 miniyarov

Maybe. You could give a try.

zonyitoo avatar Mar 01 '22 00:03 zonyitoo

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 .

18o avatar Mar 01 '22 13:03 18o

There are some ways to use websockets as a TCP stream transport but still not much information on it I've found

miniyarov avatar Mar 02 '22 21:03 miniyarov

Do you have any updates on this? Were you able to compile it into WASM?

erikziyunchi avatar Jul 29 '23 17:07 erikziyunchi