Lightweight, modern, realtime Linux server control panel β a blend of aaPanel, Portainer, CasaOS, and Cockpit, but far lighter.
- π Multi-Factor Authentication (MFA / 2FA) β Access token, refresh token, TOTP (Google Authenticator/Authy) session management
- π₯ Dynamic RBAC β Super Admin, Admin, Operator, Read Only with per-resource permissions
- π Realtime Dashboard β CPU, RAM, Disk, Temperature, Network via Socket.IO + Chart.js, featuring a Real-Time Process Inspector (sort by CPU/Memory)
- π Monitoring β Historical metrics, disk health, network interfaces (with IP mapping), alert thresholds
- π₯οΈ Web Terminal β xterm.js + node-pty, multi-tab, bash/zsh/fish
- π File Manager β Browse, upload, download, edit, zip/unzip, rename, delete, search
- π‘οΈ Security & SSH Key Manager β Dedicated UI to manage SSH keys (
authorized_keys), SSH port, Password Authentication toggle, and live Fail2Ban intrusion logs dashboard - π Tailscale VPN Integration β Optional client-side status dashboard, automatic installation scripts, one-click connection/disconnection controls, and web browser or auth key configuration to securely access the panel privately
- π Plugin Marketplace & SDK β Install/uninstall extensions dynamically with hot route mounting
- π PHP Manager Plugin β Complete control panel for multiple PHP versions (8.1 - 8.4) with FPM service actions and custom
php.iniconfig values - π³ Docker & Compose Engine β Start, stop, monitor telemetry, and deploy compose stacks (with automatic fallback to standalone
docker-compose) - π Let's Encrypt Auto-Renewal β Automatic SSL certificate request and renewal scheduler built into the panel health system
- βοΈ Distro-Aware Auto-Updates β Dynamically writes daily update/upgrade cron scripts tailored to native package managers (APT, DNF, Pacman, Emerge)
- π± Responsive Design β Fully mobile-friendly layout with a frosted-glass Burger Sidebar Drawer offcanvas navigation menu
- π‘ Built-in Plugins β DB Web Admin (phpMyAdmin, pgAdmin, Adminer), Smart Home Manager (Home Assistant, Mosquitto, Zigbee2MQTT), Media & Cloud Services (Jellyfin, qBottorrent), Realtime Log Analyzer, OpenClaw AI, WireGuard VPN, Fail2ban Admin, PM2 Manager, S3/Rclone Backups, Redis, Nextcloud, AdGuard Home, MinIO S3 Server, Uptime Kuma, and Rclone Manager (featuring host-level dependencies auto-installers)
- π Security Hardened (v1.8.0) β Shell injection prevention via
execFile(), Zip Slip protection, upload extension blocking (18 dangerous types), WAL-safe graceful shutdown, EISDIR crash guard, storage permission hardening (750), and path traversal validation on rename
- Node.js 20+
- SQLite 3 (embedded, zero-configuration required)
- Redis 7 (optional, for background jobs and message queues)
- Linux (Debian/Ubuntu/Fedora/Arch/Gentoo) for full terminal/PTY and service management features
cp .env.example .env
# Edit .env and set secure secrets.
docker compose up -dOpen: http://localhost:23456
Login: admin / Admin@123456 (change this immediately!)
# Pull the latest image from Docker Hub
docker pull mastarom/panelku:latest
# Run the container
docker run -d -p 23456:3000 --name panelku \
-v $(pwd)/storage:/app/storage \
mastarom/panelku:latest# Install dependencies
npm install
# Copy and configure environment
cp .env.example .env
# Start development server
npm run dev
# Or production with PM2
pm2 start ecosystem.config.cjssudo bash scripts/install.shsrc/
βββ app.js # Express factory
βββ server.js # HTTP + Socket.IO entry
βββ bootstrap.js # DB, Redis, WS, jobs, plugins
βββ config/ # App, DB, Redis, Socket, Logger configs
βββ core/
β βββ db/ # SQLite Singleton and Schema definitions
β βββ events/ # EventBus (pub/sub)
β βββ scheduler/ # Background job scheduler
β βββ permissions/ # Dynamic RBAC engine
β βββ plugin-loader/ # Plugin SDK
βββ middleware/ # Auth, RBAC, rate limit, error handler
βββ models/ # Mongoose-compatible SQLite models
βββ repositories/ # Data access layer
βββ helpers/ # Response, crypto, system, validation
βββ modules/ # Feature modules (auth, users, dashboard, etc.)
βββ websocket/ # Socket.IO namespaces
βββ jobs/ # Background jobs
βββ public/ # Static assets (CSS, JS)
βββ views/ # HTML pages
| Username | Password | Role |
|---|---|---|
| admin | Admin@123456 | Super Admin |
β οΈ Change the default password immediately after first login!
| Phase | Status | Features |
|---|---|---|
| Phase 1 | β Done | Auth, RBAC, Dashboard, Monitor, Terminal, File Manager |
| Phase 2 | β Done | Docker, Websites, Domains, SSL |
| Phase 3 | β Done | Database Management, Backup, Cron |
| Phase 4 | β Done | Firewall, WAF, Security, Notifications |
| Phase 5 | β Done | Git Deploy, Auto Update, Plugin Marketplace, WireGuard VPN, Fail2ban, PM2, Rclone, OpenClaw AI, DB Web Admin, Smart Home, Media Services, Log Analyzer |
| Phase 6 (v1.6.0) | β Done | Multi-Node Cluster, SQLite Auto-Backups, PTY Terminal Command Audit Log, GitHub Actions Docker Hub Integration |
| Phase 7 (v1.7.0) | β Done | OpenClaw AI Copilot Floating Assistant, Nginx Reverse Proxy Docker Mapper, PHP Pool Configuration Manager, Database Visual Explorer/Console, WhatsApp Alerting, Service Watchdog Auto-Healer, Visual Audit Log Dashboard, Security Advisor (One-Click Fix), Multi-Cloud S3 Backup, Terminal AI Suggestions, Git Webhook Auto-Build, Tailscale VPN Integration |
| Phase 8 (v1.8.0) | β Done | Security Patch β Shell injection fix (execFile), Zip Slip protection, upload extension filter, graceful shutdown WAL-safe, EISDIR crash guard, install dir fix (/opt/panelku), storage permission hardening (750β), multi-distro install.sh rewrite |
| Phase 9 (v1.9.0) | β Done | Runtime Managers β Node.js version management (nvm/nodenv), Python virtual environments (pyenv), Gunicorn/Uvicorn setup, MongoDB Manager, Redis Manager, Apache Manager |
| Phase 10 (v1.9.0) | β Done | Backup & Disaster Recovery β Rclone + S3 automated backups, scheduled snapshots, retention policies, one-click restore |
| Phase 11 (v1.9.0) | β Done | Analytics & Monitoring β Metrics & Logs Analytics Dashboard, historical trend analysis, log aggregation, Prometheus-style visualization |
| Phase 12 (v1.9.0) | β Done | Multi-User RBAC + SSO/LDAP β LDAP authentication, SAML/OpenID Connect SSO, fine-grained permissions, group-based role mapping |
| Phase 13 (v1.9.0) | β Done | Service Mesh & Auto-Healing β systemd health checks, auto-restart, alerting, service dependency management |
| Phase 14 (v1.9.0) | β Done | Auto-Updater & Rollback β One-click git update, pre-update health check, automatic rollback on failure, update history |
| Phase 15 (v1.9.0) | β Done | Caddy Server Manager β Full Caddyfile editor, automatic HTTPS, reverse proxy, static file serving |
| Phase 16 (v1.9.0) | β Done | AI Auto-Repair β GPT-powered log analysis, auto-fix suggestions, predictive alerts, self-healing engine |
| Phase 17 (v1.9.0) | β Done | Enhanced Database Explorer β 5-tab explorer (Browse/Structure/Query/Export/History), pagination, sorting, export/import JSON/CSV/SQL |
| Phase 18 (v1.9.0) | β Done | GPU Manager β NVIDIA GPU monitoring (nvidia-smi), CUDA/CUDNN detection, process management, power limit control |
| Phase 19 (v1.9.0) | β Done | Power Manager β CPU governor control, power profiles, suspend/hibernate, thermal zones, fan monitoring |
| Phase 20 (v1.9.0) | β Done | Mail Server Manager β Postfix/Dovecot/SpamAssassin, email accounts, mail queue, spam config, SSL certs |
| Phase 21 (v1.9.0) | β Done | CDN & Cache Manager β Cloudflare API, Varnish cache, Redis cache, Full Page Cache (Nginx FPC) |
| Phase 22 (v1.9.0) | β Done | IoT & Edge Device Manager β Mosquitto MQTT, Home Assistant, Node-RED, device discovery, MQTT metrics |
| Phase 23 (v2.0.0) | β Done | Password Policy Engine & History β Password complexity rules, expiration job, force change prompt on login, policy history & JSON import/export |
| Phase 24 (v2.0.0) | β Done | Split-View File Manager & CodeMirror β Tree + CodeMirror editor split view, light/dark themes, media previewer (image zoom/audio/video/PDF), tree-to-editor drag & drop, CSP nonces, rate limiters, 0-vulnerability audit |
Password Policy Engine, Split-View File Manager with CodeMirror & Media Previews, CSP Security Hardening, and 0-Vulnerability Dependency Audit.
π New Features & Enhancements
- Password Policy Engine & Expiry Reminder: Configurable password complexity rules, automated password expiration reminder background job, forced password change on login (
mustChangePassword), policy history audit trail, and JSON import/export. - Split-View File Manager: Dual-pane file manager with side-by-side file tree and editor, smooth draggable divider, and full-width responsive flex container.
- Self-Hosted CodeMirror Integration: CodeMirror text editor with syntax highlighting, active line highlighting, match brackets, auto-close brackets, line numbers, and instant light/dark theme switcher.
- Media & Document Previewer: Inline file previewer for images (with zoom in/out, fit-to-width, fit-to-page controls & mouse wheel zoom), audio player, video player, and PDF reader iframe inside the split view.
- Tree-to-Editor Drag & Drop: Drag files or folders from the file explorer tree directly into the editor to insert relative/absolute paths at cursor position.
- CSP Nonce Security Hardening: Automated Content Security Policy nonce injection for all inline scripts & style blocks across EJS views.
- Optimized Rate Limiting: Smart API & Download Token rate limiters with loopback/auth exemptions to prevent false-positive
429 Too Many Requestsduring active session management. - 0-Vulnerability NPM Audit: Resolved 100% of high-severity npm vulnerabilities via package overrides (
brace-expansion 5.0.8).
12 new modules added β GPU management, power management, mail server, CDN/cache, IoT device manager, enhanced database explorer, runtime managers, and more.
π New Modules
- GPU Manager β Full NVIDIA GPU monitoring via nvidia-smi, CUDA/CUDNN detection, per-GPU utilization (GPU/Memory/Power), temperature, fan, clocks, process management with kill capability, power limit control
- Power Manager β CPU frequency scaling & governor control, power profiles (Performance/Balanced/Power-Saver), suspend/hibernate/hybrid-sleep, thermal zone monitoring with threshold alerts, fan RPM monitoring
- Mail Server Manager β Postfix/Dovecot/SpamAssassin: install/uninstall, domain management, email accounts (SHA512-CRYPT), mail queue view/flush/delete, SpamAssassin config, SSL viewer, journalctl logs
- CDN & Cache Manager β Cloudflare API (zone list, cache purge, analytics), Varnish (status, VCL editor, cache purge), Redis cache stats/flush, Full Page Cache
- IoT & Edge Device Manager β Mosquitto MQTT broker (config/users/ACL/publish QoS), Home Assistant & Node-RED Docker deploy, nmap device discovery, MQTT metrics
- Enhanced Database Explorer β 5-tab explorer: Browse (paginated, sortable), Structure (columns/keys/FK), Query (SQL console with Ctrl+Enter), Export (JSON/CSV/SQL), Import (CSV/SQL), History (last 100 queries)
- Runtime Managers β Node.js version management (nvm/nodenv), Python virtual environments (pyenv/Gunicorn/Uvicorn), MongoDB full management, Redis dashboard with keyspace monitor, Apache virtual host manager
- Caddy Server Manager β Full Caddyfile editor, automatic HTTPS, reverse proxy config, import management
- AI Auto-Repair β GPT-powered log analysis, intelligent fix suggestions with one-click apply, predictive alerting, trend analysis
- Auto-Updater & Rollback β One-click git update with pre-update health check, automatic rollback on failure
- Multi-User RBAC + SSO/LDAP β LDAP integration, SAML/OpenID Connect SSO, fine-grained permissions, group-based mapping
- Service Mesh & Auto-Healing β systemd health checks, auto-restart, alerting on repeated failures
- Backup & Disaster Recovery β Rclone + S3 automated backups with retention policies
- Analytics Dashboard β Historical metrics with time-range selectors, log aggregation, trend charts
- Comprehensive Swagger API Docs β OpenAPI 3.0 documentation for all modules with interactive Try-It-Out
π΄ Critical: Shell injection fix (execFile), Zip Slip protection, upload filter (18 types), graceful shutdown WAL-safe, EISDIR crash guard, install dir fix (/opt/panelku), storage 750, install.sh multi-distro rewrite.
OpenClaw AI Copilot, Nginx Reverse Proxy Docker Mapper, PHP Pool Manager, Database Visual Explorer, WhatsApp Alerting, Service Watchdog, Audit Log Dashboard, Security Advisor, Multi-Cloud S3 Backup, Terminal AI, Git Webhooks, Tailscale VPN.
Multi-Node Cluster Manager, SQLite Auto-Backups, Terminal Audit Logs, GitHub Actions CI/CD.
PHP Manager, 2FA/MFA, SSH Key Manager, Let's Encrypt Auto-Renewal, Fail2Ban logs, distro-aware auto-updates.
MIT