@drocketxx/pm2me
v1.1.38
Published
PM2 Deployment and Management System — Web UI for PM2 process management
Maintainers
Readme
PM2Me 🚀
A self-hosted, premium web dashboard for deploying and managing Node.js applications via PM2.
PM2Me lets you deploy apps directly from a GitHub repository, manage PM2 processes, monitor your server in real-time, and receive webhook-triggered auto-deployments — all from a beautiful, dark-mode UI.

🚀 Recommended Installation
The standard way to use PM2Me is to install it globally via npm:
# Install globally
npm install -g @drocketxx/pm2me📋 Commands
Standard Execution
# Run the server in foreground
pm2me
# Run on a custom port
pm2me --port 8080Background Service (Recommended)
Manage PM2Me as a system service using these commands:
# Install & start as a background service (using PM2)
pm2me service install
# Uninstall/Remove the service
pm2me service uninstall
# Control the service
pm2me service start
pm2me service stop
pm2me service restartNote: The
service installcommand will register PM2Me aspm2me-serverin PM2 and attempt to set up system startup.
✨ Features
| Feature | Details |
|---|---|
| 🖥 Dashboard | View all PM2 apps with real-time status, CPU, memory, uptime |
| 🚀 Deploy from GitHub | Clone & deploy any GitHub repo with PAT authentication |
| 🔄 Auto-Sync via Webhook | Automatically re-deploy on git push using GitHub Webhooks |
| 📊 Server Monitor | Real-time CPU, RAM, Disk, Network, and System Uptime via Socket.IO |
| 📜 Live Logs | Stream PM2 app logs in the browser in real-time |
| 🔔 Notifications | Deployment alerts via Discord Webhook or Telegram Bot |
| 🔐 Admin Login | Secure JWT-based authentication with bcrypt hashed passwords |
| ⚙️ Settings Page | Manage GitHub accounts, webhook secrets, and notification integrations |
| 📋 Webhook History | Last 50 webhook events logged and updated in real-time |
| 🗑 Delete/Stop/Restart | Full PM2 lifecycle management with a premium custom UI |
🧱 Tech Stack
Backend
- Express.js — REST API server
- Socket.IO — Real-time log streaming & system stats
- PM2 — Process management (
pm2Node.js API) - LowDB — Lightweight JSON file database
- bcrypt — Password hashing
- jsonwebtoken — JWT Auth
- simple-git — Git operations
Frontend
- Vue 3 — Reactive UI
- Vite — Build tool
- Socket.IO Client — Real-time updates
🔐 Setup & Security
First Run
On your first run, PM2Me will guide you through a Setup Wizard to configure your apps storage path and set your admin password.
Data Storage
- Database: Stored in
~/.pm2me/database.json - Cloned Apps: Default to
~/.pm2me/apps/(User configurable)
GitHub Webhooks
- Go to your GitHub repository → Settings → Webhooks → Add webhook
- Set Payload URL to:
http://your-server-ip:12345/api/webhook - Set Content type to:
application/json⚠️ - Set Secret from the Settings page in PM2Me
- Select Just the push event
🛠️ Manual Installation (For Developers)
If you want to contribute or run from source:
# 1. Clone the repository
git clone https://github.com/drocketxx/PM2Me.git
cd PM2Me
# 2. Install all dependencies
npm run install:all
# 3. Build the frontend
npm run build
# 4. Start in development mode
npm run dev🛡 Security Notes
- Set a strong admin password during the setup wizard.
- Always use a Webhook Secret to prevent unauthorized deployment triggers.
- Consider putting PM2Me behind a reverse proxy (e.g., Nginx) with HTTPS in production.
📄 License
MIT
