Developed by TheRealPourya Team
A modern, production-ready Windows desktop application for managing and running multiple bots (Python, Node.js, or any command-line based bots) from a beautiful web-based dashboard.
- π€ Manage Multiple Bots - Add, edit, delete, and organize unlimited bots
βΆοΈ Run in PowerShell - Execute bots in separate PowerShell windows- π Quick Folder Access - Open bot directories directly from the dashboard
- π Pin Important Bots - Keep frequently used bots at the top
- π Search & Filter - Quickly find bots by name, path, command, or notes
- π¨ Modern UI - Beautiful, responsive interface with dark/light theme
- π±οΈ Drag & Drop - Reorder bots with intuitive drag and drop
- πΎ Persistent Storage - All settings saved locally in JSON format
- π Run All Bots - Start multiple bots simultaneously with one click
- π Status Tracking - See which bots are running or stopped
- π― Zero Configuration - Works out of the box after installation
- Windows 10 or Windows 11
- Python 3.8 or higher (for running from source)
- PowerShell (pre-installed on Windows)
cd botManager
pip install -r requirements.txtOption A: Using Python directly
python app.pyOption B: Using the batch file
run.batThe dashboard will automatically open in your default web browser at http://127.0.0.1:5000
To create a single .exe file that can be distributed to end-users:
pip install pyinstallerOption A: Using the spec file (Recommended)
pyinstaller BotManager.specOption B: Using command line
pyinstaller --onefile --name BotManager --add-data "templates;templates" --add-data "static;static" --hidden-import flask --hidden-import flask_cors --console app.pyAfter building, find your executable at:
botManager\dist\BotManager.exe
You can now distribute BotManager.exe to any Windows 10/11 computer. No Python installation required on the target machine!
Note: The data folder will be automatically created at:
C:\Users\<USERNAME>\BotManager\data\
- Click the "Add Bot" button
- Fill in the required fields:
- Bot Name: A descriptive name for your bot
- Folder Path: Full path to the bot's directory (e.g.,
C:\Bots\MyBot) - Run Command: Command to execute (e.g.,
python main.py,node index.js,npm start) - Notes: Optional description or important information
- Pin: Check to keep this bot at the top
- Click "Add Bot" to save
- Single Bot: Click the green "Run" button on any bot card
- All Bots: Click the "Run All" button in the action bar
- Each bot opens in its own PowerShell window
- The bot status will update to show "Running"
- Edit: Click the yellow edit icon (βοΈ) to modify bot details
- Delete: Click the red trash icon (ποΈ) to remove a bot
- Open Folder: Click the blue folder icon (π) to open the bot's directory
- Pin/Unpin: Click the pin icon (π) to toggle pinned status
- Reorder: Drag and drop bot cards to rearrange them
Use the search bar to quickly find bots by:
- Bot name
- Folder path
- Run command
- Notes content
Toggle between light and dark mode using the sun/moon icon in the header.
botManager/
βββ app.py # Flask backend server
βββ requirements.txt # Python dependencies
βββ run.bat # Windows batch launcher
βββ BotManager.spec # PyInstaller configuration
βββ README.md # This file
βββ templates/
β βββ index.html # Main dashboard UI
βββ static/
β βββ css/ # (Reserved for custom CSS)
β βββ js/ # (Reserved for custom JS)
βββ data/
βββ bots.json # Bot configuration storage
Bot configurations are stored in:
C:\Users\<USERNAME>\BotManager\data\bots.json
The file is automatically created on first run with example bots. You can manually edit this JSON file if needed.
{
"id": "unique-uuid",
"name": "Bot Name",
"path": "C:\\Path\\To\\Bot",
"command": "python main.py",
"notes": "Optional description",
"pinned": false,
"order": 0
}Edit app.py, line at the bottom:
app.run(host="127.0.0.1", port=5000, debug=False)Change 5000 to your desired port.
Comment out or remove this line in app.py:
threading.Thread(target=open_browser, daemon=True).start()Make sure Python is installed and added to your system PATH:
- Download Python from python.org
- During installation, check "Add Python to PATH"
- Restart your terminal/command prompt
- Verify the Folder Path exists and is correct
- Check that the Run Command is valid for that directory
- Ensure necessary dependencies are installed in the bot's environment
- Check the PowerShell window for error messages
If port 5000 is occupied:
- Close the application using that port
- Or change the port in
app.py(see Configuration section)
- Ensure all dependencies are installed:
pip install -r requirements.txt - Try upgrading PyInstaller:
pip install --upgrade pyinstaller - Check that
templatesandstaticfolders exist
Manually navigate to: http://127.0.0.1:5000 in your web browser
- Backend: Python 3, Flask, Flask-CORS
- Frontend: HTML5, TailwindCSS, Alpine.js
- Drag & Drop: SortableJS
- Icons: Font Awesome 6
- Packaging: PyInstaller
To enable Flask debug mode, edit app.py:
app.run(host="127.0.0.1", port=5000, debug=True)Add CSS files to static/css/ and link them in templates/index.html
Add JS files to static/js/ and include them in templates/index.html
- This application is designed for local use only
- The Flask server binds to
127.0.0.1(localhost) by default - Do NOT expose this server to the internet without proper security measures
- Bot commands are executed directly in PowerShell - only add trusted bots
The dashboard uses the following REST API:
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/bots |
Get all bots |
| POST | /api/bots |
Add a new bot |
| PUT | /api/bots/:id |
Update a bot |
| DELETE | /api/bots/:id |
Delete a bot |
| POST | /api/bots/:id/run |
Run a specific bot |
| POST | /api/bots/:id/stop |
Stop a running bot |
| POST | /api/bots/:id/open-folder |
Open bot folder |
| POST | /api/bots/run-all |
Run all bots |
| POST | /api/bots/reorder |
Reorder bots |
This is a complete, production-ready application. Feel free to:
- Fork and modify for your needs
- Add new features
- Improve the UI/UX
- Submit pull requests
MIT License - Feel free to use, modify, and distribute.
TheRealPourya Team
Built with β€οΈ for the bot management community.
- β Initial release
- β Full CRUD operations for bots
- β PowerShell execution support
- β Dark/Light theme
- β Drag & drop reordering
- β Search and filter
- β Pin/Unpin functionality
- β Run all bots feature
- β Status tracking
- β Modern responsive UI
- Bot scheduling (run at specific times)
- Log viewer for bot output
- Custom bot icons
- Import/Export bot configurations
- Multi-language support
- System tray integration
- Auto-restart on crash
- Resource monitoring (CPU, RAM)
- Bot grouping/categories
Enjoy managing your bots! π€