PM2 Web Manager ๐
February 22, 2026 ยท View on GitHub
A light weight web manager for all your PM2 processes
Screenshots in site:
โจ Features
- ๐ High Security: Password hashing with Argon2id.
- ๐ก๏ธ Two-Factor Auth (2FA): Support for TOTP (Google Authenticator, Authy, etc.).
- ๐ Real-time Monitoring: CPU, memory, and uptime tracking for all processes.
- ๐ Log Explorer: Live terminal logs with "Load More" pagination and separate Standard/Error streams.
- ๐พ Persistent Sessions: SQLite-backed session storage that survives server restarts.
- ๐ ๏ธ Remote Control: Start, stop, restart, and add processes directly from the UI.
๐ ๏ธ Installation
1. Prerequisites
- Node.js (v18 or higher recommended)
- PM2 installed globally:
npm install -g pm2
2. Setup
Clone the repository and install dependencies:
git clone https://github.com/leodenglovescode/pm2-webmanager.git
cd pm2-webmanager
npm install
3. Start the Manager
You can run it directly with NPX without even installing:
npx pm2-webmanager
Or (Recommended) deploy it as a PM2 service for 24/7 uptime:
pm2 start server.js --name "pm2-webmanager" && pm2 save
Or install it globally and use the command:
npm install -g pm2-webmanager
pm2-webmanager
๐ Usage
- Open your browser and navigate to http://localhost:3434.
- First Run: You will be prompted to create an Administrator account. This is a one-time registration.
- 2FA Setup: Go to the Settings tab to enable Two-Factor Authentication for maximum security.
- Manage: Click any process in the list to view its real-time logs and detailed statistics.
๐ฆ Dependencies
- Express: Web framework.
- PM2: Programmatic control of process list.
- Argon2: Secure password hashing.
- Otplib & QRCode: TOTP-based 2FA.
- Connect-SQLite3: Persistent session store.
- Tailwind CSS: Modern UI styling.
Coding Guide
- Framework and prompt by @leodenglovescode
- Code generated by Github Copilot