dcasado / wol-service

Sever and client to remote wake any device in your lan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wol-service

Sevice to remote wake any device in your lan. Inspired by https://github.com/sciguy14/Remote-Wake-Sleep-On-LAN-Server

The server is a simple Node application to handle the request made with Express.

Build the project

To build the project you will need nodejs and npm installed

  1. Change the config.js file with your data

  2. Change the computers.json file to add devices

  3. Open the terminal and go to the location of the project

  4. Install dependencies of the server:

    npm install

  5. Launch the service

    npm start

  6. Try it with Postman or some similar program

Use Docker

To use with Docker open the terminal and execute:

docker container run --name wol-service -e WAKE_PASSWORD_HASH=your-password -v /path-to-file/computers.json:/home/node/app/computers.json --net host davidcasado/wol-service

About

Sever and client to remote wake any device in your lan


Languages

Language:JavaScript 72.1%Language:Dockerfile 14.0%Language:Shell 13.9%