pm2-webui-next
v0.3.0
Published
A modern web-based dashboard for PM2 process manager
Downloads
352
Maintainers
Readme
pm2-webui-next
A modern web-based dashboard for PM2 process manager, built with Next.js, Hono, and Tailwind CSS.
Features
- Real-time process monitoring with CPU and memory charts
- Start, stop, restart, reload, and delete processes
- Live log streaming (stdout and stderr)
- System information overview (hostname, platform, uptime, etc.)
- Dark mode support
- Configurable settings (log rotation, daemon visibility)
Quick Start
Run directly without installing:
# Using npx
npx pm2-webui-next
# Using bunx
bunx pm2-webui-nextThen open http://localhost:3000 in your browser.
Note: PM2 must be installed and running on the host machine.
Installation
npm install -g pm2-webui-next
pm2-webui-nextEnvironment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| PORT | Port to listen on | 3000 |
| HOSTNAME | Host to bind to | 0.0.0.0 |
Configuration
Settings can be configured through the web UI at /settings:
| Option | Description | Default | |--------|-------------|---------| | Log Rotation | Maximum log lines displayed per process | 500 | | Exclude Daemon | Hide the PM2 WebUI daemon from process list | false |
Settings are persisted in a local data/settings.json file.
Development
# Install dependencies
npm install
# Start development server
npm run dev
# Lint
npm run lint
# Type check
npm run typecheck
# Build for production
npm run build
# Start production server
npm startPublishing
The npm package contains only the pre-built standalone server output (no source code).
npm publishThis runs prepublishOnly automatically, which builds the project and copies the standalone output into publishable directories.
Tech Stack
- Next.js 15 — React framework with standalone output
- Hono — API routing
- Tailwind CSS v4 — Styling
- Recharts — Charts
- Lucide React — Icons
- PM2 — Process manager client
License
MIT
