| @echo off | |
| REM DuckAI Server Starter | |
| REM Starts the DuckAI OpenAI-compatible server on port 3265 | |
| echo Starting DuckAI Server... | |
| echo. | |
| REM Check if Node.js is installed | |
| where node >nul 2>nul | |
| if %ERRORLEVEL% neq 0 ( | |
| echo Node.js is not installed or not in PATH. | |
| echo Please install Node.js from https://nodejs.org/ | |
| pause | |
| exit /b 1 | |
| ) | |
| REM Change to DuckAI directory | |
| cd /d "%~dp0" | |
| REM Start DuckAI server | |
| echo Starting DuckAI OpenAI server on port 3265... | |
| echo Server will be available at: http://localhost:3265/v1 | |
| echo. | |
| REM Run the server with port 3265 | |
| set PORT=3265 | |
| npm start | |
| pause | |