Back to projects
PM2 Waker Service
activeA lightweight Go service that manages PM2-driven apps, starting them on-demand and stopping after inactivity.
About
A very lightweight, self-contained Go service to automatically start and stop pm2-managed apps on-demand. Perfect for dev servers or when hosting several low-traffic sites, saving system resources by only running apps when accessed. Uses only ~10 MB compared to ~150 MB per running app!
Features
- On-demand app startup via Nginx integration
- Automatic shutdown after configurable inactivity period
- Minimal resource usage (~10 MB)
- Works with Nginx 502 error handling
- Activity ping system to reset timers
Tech Stack
Go PM2 Nginx