add python wsproxy implementation

This commit is contained in:
ading2210 2024-01-10 20:42:58 -05:00
parent 1de7178523
commit 09ff32dcd3
6 changed files with 52 additions and 47 deletions

View file

@ -9,11 +9,8 @@ if [ ! -d ".venv" ]; then
fi
source .venv/bin/activate
if ! python3 -c "import asyncio_socks_server, websockify" 2> /dev/null; then
pip3 install asyncio-socks-server
git clone https://github.com/novnc/websockify -b master --depth=1
pip3 install ./websockify
rm -rf websockify
if ! python3 -c "import websockets" 2> /dev/null; then
pip3 install -r requirements.txt
fi
python3 main.py