Skip to content

NizarMasadeh/PM2-NG

Repository files navigation

PM2 Monitor

A modern web-based monitoring dashboard for PM2 process manager with dark/light theme support.

Angular NestJS

Features

  • Process Monitoring: Real-time monitoring of all PM2 processes
  • Process Management: Start, stop, restart, and reload processes
  • Detailed Process Information: View CPU usage, memory consumption, uptime, and more
  • Environment Variables: Inspect environment variables for each process
  • Log Viewing: Access standard and error logs with auto-refresh capability
  • Authentication: Secure login system to protect your process management
  • Theme Toggle: Switch between dark and light modes for comfortable viewing
  • Responsive Design: Works on desktop and mobile devices

Screenshots

Authentication

Login Screen

Process List

Process List

Process Details

Process Details

Log Viewer

Log Viewer

Dark Theme

Dark Theme

Installation

Prerequisites

  • Node.js (v18 or higher)
  • PM2 installed globally (npm install pm2 -g)

Setup

  1. Clone the repository:

    git clone https://github.com/NizarMasadeh/PM2-NG.git
    cd PM2-NG
  2. Install frontend dependencies:

    npm i
  3. Install backend dependencies:

    cd backend
    npm i
  4. Create an .env file in the backend directory:

    cp .env.example .env
    • Open .env and update the JWT_SECRET as needed.
  5. Navigate back to the root directory:

    cd ..
  6. Start the development server:

    npm run dev
  7. Access the application:

    • Frontend: localhost:4141
    • Backend: Runs automatically on port 3000

About

PM2 Monitor is a modern web-based dashboard for monitoring and managing PM2 processes with real-time insights. It offers process control, log viewing, environment variable inspection, authentication, and a dark/light theme. Designed for ease of use, it works seamlessly across desktop and mobile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors