A modern, high-performance hosting control panel built with Rust, HTMX, and Tailwind CSS. Designed for speed, security, and ease of use.
- Server Management - Full CRUD operations for physical servers
- Hetzner VPS Management - Create, manage, and monitor Hetzner Cloud VPS instances
- Power on/off/reboot control
- Real-time status synchronization
- Multiple server types (CX11-CX51, CPX, CCX)
- Multiple data center locations (Germany, Finland, USA)
- Cloud-init support for automated setup
- User Management - Role-based access control (Admin, Reseller, User)
- Real-time Monitoring - CPU, memory, disk, and network metrics
- Authentication - JWT-based auth with 2FA/TOTP support
- Dark/Light Theme - Smooth theme switching with persistent preferences
- Argon2id password hashing
- JWT token authentication
- Rate limiting on login attempts
- Audit logging for all critical actions
- SQL injection prevention (compile-time checked queries)
- XSS protection (auto-escaping templates)
- Bash Scripts - Server health checks, database backups
- Python Scripts - Metrics collection and monitoring
- Ansible Playbooks - Server provisioning and configuration
- n8n Workflows - Complex automation workflows
- Professional, polished design
- Smooth animations and transitions
- Glass morphism effects
- Responsive layout
- Loading states and skeleton screens
- HTMX for seamless interactivity (no page reloads)
| Component | Technology |
|---|---|
| Backend | Rust + Axum |
| Frontend | HTMX + Tailwind CSS + Alpine.js |
| Database | PostgreSQL + SQLx |
| Templating | Askama |
| Automation | Bash, Python, Ansible, n8n |
| Icons | Lucide Icons |
Primary Deployment Method: Systemd (Native Linux Integration) Alternative: Docker (Optional)
We strongly recommend systemd for production deployments as it provides:
- Native Linux integration
- Better resource management
- Automatic restarts and recovery
- Superior logging with journald
- No container overhead
- Easier debugging and monitoring
- Rust 1.75+ (Install Rust)
- PostgreSQL 15+ (Install PostgreSQL)
- Node.js 20+ (Install Node.js)
- Hetzner Cloud API Token (Get Token)
-
Clone the repository
git clone https://github.com/xerudro/unified-panel.git cd unified-panel -
Install dependencies
# Install frontend dependencies make frontend-install # Or manually: cd frontend && npm install
-
Set up the database
createdb unified_panel
-
Configure environment
cd backend cp .env.example .env nano .env # Edit with your configuration
Required Configuration:
DATABASE_URL=postgresql://postgres:password@localhost:5432/unified_panel JWT_SECRET=your-super-secret-jwt-key-change-this SESSION_SECRET=your-session-secret-key-change-this HETZNER_API_TOKEN=your-hetzner-cloud-api-token
-
Run migrations
cargo install sqlx-cli --no-default-features --features postgres sqlx migrate run
-
Build frontend assets
make frontend-build # Or manually: cd frontend && npm run build -
Start the development servers
Option 1: Using Make (recommended)
# Terminal 1: Frontend development (CSS watch) make frontend-dev # Terminal 2: Backend development make backend-dev
Option 2: Manual
# Terminal 1: Watch CSS changes cd frontend && npm run dev # Terminal 2: Run Rust backend cd backend && cargo run
-
Access the panel
http://localhost:3000
Email: admin@unified-panel.local
Password: admin123
unified-panel/
├── backend/ # Rust backend
│ ├── src/
│ │ ├── api/ # API routes
│ │ ├── models/ # Data models
│ │ ├── services/ # Business logic
│ │ ├── handlers/ # Request handlers
│ │ ├── middleware/ # Auth, CORS, logging
│ │ └── utils/ # Utilities
│ ├── templates/ # HTML templates
│ ├── static/ # Static assets
│ └── migrations/ # Database migrations
│
├── automation/ # Automation scripts
│ ├── scripts/
│ │ ├── bash/ # Bash scripts
│ │ └── python/ # Python scripts
│ ├── ansible/ # Ansible playbooks
│ └── n8n/ # n8n workflows
│
└── docs/ # Documentation
# Terminal 1: Run the backend with hot reload
cargo watch -x run
# Terminal 2: Watch Tailwind CSS changes (if needed)
npm run watch:csscargo test# Linting
cargo clippy
# Formatting
cargo fmtAll API endpoints (except /api/auth/*) require authentication via JWT token.
# Login
curl -X POST http://localhost:3000/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "password"}'
# Use token in subsequent requests
curl -H "Authorization: Bearer YOUR_JWT_TOKEN" \
http://localhost:3000/api/servers| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/login |
User login |
| POST | /api/auth/register |
User registration |
| GET | /api/servers |
List servers |
| POST | /api/servers |
Create server |
| GET | /api/servers/:id |
Get server details |
| PUT | /api/servers/:id |
Update server |
| DELETE | /api/servers/:id |
Delete server |
| GET | /api/servers/:id/metrics |
Get server metrics |
| GET | /api/users |
List users |
| POST | /api/users |
Create user |
Full API documentation: docs/API.md
Full production setup with systemd, PostgreSQL, and Nginx:
See the comprehensive Systemd Deployment Guide for complete instructions.
Quick systemd setup:
# Build release
cargo build --release
# Copy systemd service file
sudo cp unified-panel.service /etc/systemd/system/
# Enable and start
sudo systemctl enable unified-panel
sudo systemctl start unified-panel
# Check status
sudo systemctl status unified-panelDocker is provided as an alternative deployment option:
docker-compose up -dFor most production deployments, we recommend systemd for better performance and native integration.
# Health check
./automation/scripts/bash/server-health-check.sh
# Database backup
./automation/scripts/bash/backup-database.sh unified_panelcd automation/scripts/python
pip install -r requirements.txt
python monitor_metrics.pycd automation/ansible
ansible-playbook playbooks/setup-server.yml -i inventory/hosts.ymlImport workflows from automation/n8n/workflows/ into your n8n instance.
Modern, gradient-rich landing page with smooth animations.
Clean dashboard with real-time metrics and activity feed.
Fully functional dark mode with smooth transitions.
- VPS management (Hetzner Cloud) ✅
- Create/delete VPS instances
- Power management (on/off/reboot)
- Status synchronization
- Multiple server types and locations
- Snapshots management
- Backups management
- Floating IPs
- Volumes
- DNS management (PowerDNS integration)
- Email server management
- Website deployment automation
- Billing & invoicing
- Backup management UI
- File manager (web interface)
- SSH terminal (web-based with xterm.js)
- Mobile app (Flutter)
Contributions are welcome! Please read CONTRIBUTING.md for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs/
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Inspired by VIP Super Hosting
- Built with amazing open-source tools and libraries
- Icons by Lucide
Made with ❤️ using Rust, HTMX, and Tailwind CSS