Spaces:
Paused
Paused
Download entrypoint.sh from ChatMarkus1/Idk: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/spaces/ChatMarkus1/Idk/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/ChatMarkus1/Idk/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/ChatMarkus1/Idk/resolve/main/entrypoint.sh
498 Bytes
| # Start Virtual Display | |
| Xvfb :99 -screen 0 1280x720x16 & | |
| export DISPLAY=:99 | |
| # Start VNC Server (Broadcast only) | |
| # -viewonly prevents visitors from clicking or typing | |
| x11vnc -display :99 -viewonly -forever -shared -nopw & | |
| # Start noVNC bridge to port 7860 | |
| /usr/share/novnc/utils/launch.sh --vnc localhost:5900 --listen 7860 & | |
| # Launch an xterm window to show the AI's "Brain" logs to viewers | |
| xterm -geometry 80x24+0+0 -e "tail -f bot.log" & | |
| # Start the Bot | |
| node bot.js > bot.log 2>&1 |