Download Server Monitor(web-window)/run.bat from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/Server%20Monitor(web-window)/run.bat
- Command line
-
hf download 'hf://mchuca/ServerMonitor/Server Monitor(web-window)/run.bat'
-
curl -L -o run.bat 'https://huggingface.co/mchuca/ServerMonitor/resolve/main/Server%20Monitor(web-window)/run.bat'
296 Bytes
| @echo off | |
| rem Starts Server Monitor (web) and opens the page. Another port: set PORT=9000 before running. | |
| cd /d "%~dp0" | |
| if not defined PORT set PORT=8765 | |
| start "" /b powershell -NoProfile -Command "Start-Sleep 2; Start-Process http://127.0.0.1:%PORT%" | |
| node server.js | |
| if errorlevel 1 pause | |