Power off or reboot your computer remotely. It is designed to support Windows, macOS, and Linux, but I tested on Windows and Linux.
This project originally developed for my home server. So there is no authentication or security functions. To be careful using this on public server.
- Install
pm2
npm install -g pm2@latest
- Run
pm2
pm2 start ecosystem.config.js
- Done!
- Access
http(s)://[YOUR DOMAIN]:[YOUR PORT]
. (Default port is3000
) - You can see this page
- First button is power off, and second is reboot. So you can power off or reboot your computer remotely using these buttons.
If you set up HTTPS, you can install this page as Progressive Web App.
All kind of contribution is welcome!
You can use this repository under MIT License.