MCPcopy Index your code
hub / github.com/Tjatse/pm2-gui

github.com/Tjatse/pm2-gui @v0.1.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.4 ↗ · + Follow
881 symbols 2,291 edges 31 files 95 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

pm2-gui NPM version Build Status

An elegant web & terminal interface for Unitech/PM2.

Compatible with PM2 v0.12.7+ If you wanna update to pm2-gui@latest, make sure you've read the change logs. You can track lifecycle by pm2-ant

image

Guide

image

Features

Cautions

  • Web Interface is wrote by CSS3 && HTML5, so view it with the latest version of the browser (WebGL, Animation, WebSocket supports), e.g. Chrome, Safari and Firefox.
  • I've never test it on Internet Explorer / Windows.

Installation

$ npm install pm2-gui -g
$ pm2-gui <cmd> [options]
# or
$ npm install pm2-gui --production
$ cd node_modules/pm2-gui
# or (recommends)
$ git clone https://github.com/Tjatse/pm2-gui.git
$ cd pm2-gui
$ npm install --production
# run monitor
$ ./pm2-gui <cmd> [options]

Usage

Run the following command to get usage helps:

$ pm2-gui

Directly:

$ node pm2-gui.js <cmd> [options]

Programmable:

var pm2GUI = require('pm2-gui');
pm2GUI.startWebServer([ini_config_file]);
pm2GUI.startAgent([ini_config_file]);
pm2GUI.dashboard([ini_config_file]);

Configuration

Edit the pm2-gui/pm2-gui.ini file or copy the config example to /etc/pm2-gui.ini (starting with pm2-gui start /etc/pm2-gui.ini):

UI/UX

  • Amazing and smooth animations.
  • High performance.

Curses-like dashboard:

image

Authorization

image

Home

image

Processes

image

Describe Complete Information

image

CPU && Memory Usage

image

Tail Logs

image

Serving apps locally with nginx and custom domain

Test

$ npm test

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Core symbols most depended-on inside this repo

debug
called by 65
web/public/js/socket.io.js
callback
called by 31
web/public/js/socket.io.js
abort
called by 18
web/public/js/socket.io.js
on
called by 9
web/public/js/socket.io.js
toPaddedString
called by 9
web/public/js/socket.io.js
lex
called by 8
web/public/js/socket.io.js
setFPEnable
called by 8
web/public/js/index.html.js
parse
called by 7
web/public/js/socket.io.js

Shape

Function 881

Languages

TypeScript100%

Modules by API surface

web/public/js/d3.min.js383 symbols
web/public/js/lodash.min.js156 symbols
web/public/js/socket.io.js102 symbols
web/public/js/jquery-1.11.1.min.js75 symbols
web/public/js/jquery.fullPage.min.js42 symbols
web/public/js/index.html.js42 symbols
web/public/js/fanavi.min.js15 symbols
pm2-gui.js10 symbols
lib/monitor.js9 symbols
web/public/js/bootstrap.min.js8 symbols
web/public/js/jquery.slimscroll.min.js6 symbols
lib/blessed-widget/widgets.js6 symbols

For agents

$ claude mcp add pm2-gui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact