A minimal, interactive script that helps you launch local servers in seconds — without typing the same commands over and over.
This tool creates and runs simple startup scripts for different server types (Python, Node.js, ComfyUI, or custom). It remembers your last configuration, generates a ready-to-run script, and asks if you want to start the server immediately.
- Cross-platform: Works on Windows (
.bat) and macOS/Linux (.sh). - Interactive setup: Choose your server type, port, and directory.
- Persistent memory: Saves your last configuration for next time.
- One-click launch: Automatically generates
start_serverscript and runs it. - Custom command mode: For any other server type or startup command.
| Option | Server Type | Command Example |
|---|---|---|
| 1 | Python HTTP | python -m http.server 8000 |
| 2 | Node.js | node server.js --port 8000 |
| 3 | ComfyUI | python main.py --listen --port 8000 |
| 4 | Custom | Any command you type manually |
- Clone or download this repository.
- Open Command Prompt in the folder.
- Run:
run_server.bat run_server.bat
- Follow the on-screen prompts to:
Select server type
Set port and project directory
- (Optional) Start the server immediately
A file named start_server.bat will be generated inside your selected directory. Next time, you can run that file directly or re-run run_server.bat to modify options.
- Clone or download this repository.
- Make the script executable: chmod +x run_server.sh
- Run it: ./run_server.sh
- Follow the on-screen prompts to:
Select your server type
Set port and project directory
- (Optional) Start the server immediately
A file start_server.sh will be generated in your chosen folder.
After first run, the tool creates a file named last_config.txt, which stores:
- SERVER_TYPE=python
- PORT=8000
- DIR=/home/user/myproject
You can edit this manually or let the script reuse these values automatically.
Quickly spin up a local dev server without remembering commands. Manage multiple project environments easily. Launch ComfyUI, Node.js, or FastAPI servers with one click. Keep your workflow clean and consistent across platforms.
MIT License — free to use, modify, and share.
tags: server startup script, local server automation, python http server launcher, node server launcher, comfyui startup helper, developer workflow tool, cross-platform dev utility, bash automation script, windows batch tool, run server easily, fastapi local start, ai comfyui launcher, server start assistant, workflow automation tool