A modern, production-ready Windows desktop application for managing and running multiple bots from a beautiful web-based dashboard
Project description
BotManager
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.
Features
- Web-Based Dashboard: Beautiful, responsive interface accessible via browser
- Multi-Bot Management: Run multiple bots simultaneously
- PowerShell Integration: Non-blocking PowerShell execution for each bot
- Real-time Status: Track running/stopped status of all bots
- Drag & Drop: Reorder bots with intuitive drag-and-drop interface
- Dark/Light Theme: Toggle between themes with persistence
- Search & Filter: Quickly find specific bots
- Pin Important Bots: Keep frequently used bots at the top
- Open in Explorer: One-click access to bot folders
- Cross-Drive Support: Works with any Windows drive (C:, D:, G:, etc.)
- Empty Default State: Clean start - no example bots cluttering your dashboard
Installation
Via pip (Recommended)
pip install botmanager
From Source
git clone https://github.com/xPOURY4/Bot-Management-Dashboard.git
cd Bot-Management-Dashboard
pip install -e .
Usage
Quick Start
After installation, simply run:
botmanager
This will:
- Start the Flask server on
http://127.0.0.1:5000 - Open your default browser automatically
- Display the BotManager dashboard
Manual Start
You can also run the application directly:
python -m botmanager
How It Works
Adding Your First Bot
- Launch BotManager: Run
botmanagerfrom command line - Add Bot: Click the "Add Your First Bot" button
- Configure:
- Name: Descriptive name for your bot
- Path: Full folder path (e.g.,
G:\MyProject\Bot\MyBot) - Command: Run command (e.g.,
python main.py,node index.js,npm start) - Notes: Optional description
- Run: Click "Run" to start your bot in a new PowerShell window
Supported Bot Types
- Python:
python main.py,python bot.py, etc. - Node.js:
node index.js,node app.js, etc. - npm:
npm start,npm run dev, etc. - Any CLI: Any command-line application or script
Data Storage
All bot configurations are stored in:
C:\Users\<USERNAME>\BotManager\data\bots.json
Command Line Options
botmanager --help
Options:
--version: Show version information--host: Host to bind server to (default: 127.0.0.1)--port: Port to bind server to (default: 5000)
API Endpoints
The dashboard provides a RESTful API:
GET /api/bots- Get all botsPOST /api/bots- Add a new botPUT /api/bots/<id>- Update a botDELETE /api/bots/<id>- Delete a botPOST /api/bots/<id>/run- Run a botPOST /api/bots/<id>/stop- Stop a botPOST /api/bots/<id>/open-folder- Open bot folderPOST /api/bots/reorder- Reorder bots
Requirements
- Python: 3.8 or higher
- Operating System: Windows 10/11
- Dependencies:
- Flask >= 3.0.0
- Flask-CORS >= 4.0.0
- Werkzeug >= 3.0.1
Development
Project Structure
botmanager/
├── app.py # Main Flask application
├── cli.py # Command-line interface
├── templates/ # HTML templates
│ └── index.html # Main dashboard
├── static/ # Static assets
│ ├── css/ # CSS files
│ └── js/ # JavaScript files
└── icon/ # Application icons
└── icon.ico # Favicon
Building from Source
# Install dependencies
pip install -r requirements.txt
# Run development server
python -m botmanager
# Or run directly
python botmanager/app.py
Troubleshooting
Common Issues
- Port 5000 in use: Close other applications using port 5000
- Bot won't run: Verify the folder path exists and command is correct
- Python not found: Ensure Python is installed and in PATH
- PowerShell issues: Verify PowerShell is available on your system
Data Location
If you need to reset your bot configurations, delete:
C:\Users\<USERNAME>\BotManager\data\bots.json
License
MIT License - See LICENSE file for details
Support
- Issues: GitHub Issues
- Source: GitHub Repository
Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.
Developed by TheRealPourya Team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file botmanager-1.0.0.tar.gz.
File metadata
- Download URL: botmanager-1.0.0.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b57e3a3e8372790f95269d954bdfb61f30fa56fe9e5be0050bb1df7b415549f
|
|
| MD5 |
99285fd7fcd8bcdc1ed522953d5228cc
|
|
| BLAKE2b-256 |
fac9f02d4e8106336694c6b60664df148028db02298e07599eb500b3aac87094
|
File details
Details for the file botmanager-1.0.0-py3-none-any.whl.
File metadata
- Download URL: botmanager-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13efce5952bccb0a6843449d9e7e5648708a94fcb24c789d029613aef28698cc
|
|
| MD5 |
d779dc585bd4dd0e80b0b278b88f0b90
|
|
| BLAKE2b-256 |
c7f5cfa9cde891def1d35b350d277eb9777555516e21d87f9575dfac6126eb73
|