Skip to content

RivMt/server_remote

Repository files navigation

Server Remote

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.

How to set up

  1. Install pm2
npm install -g pm2@latest
  1. Run pm2
pm2 start ecosystem.config.js
  1. Done!

How to use

  1. Access http(s)://[YOUR DOMAIN]:[YOUR PORT]. (Default port is 3000)
  2. You can see this page Main page
  3. 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.

Contribution

All kind of contribution is welcome!

License

You can use this repository under MIT License.