Skip to content

A NodeJS based express server that has support for WakeOnLan

License

Notifications You must be signed in to change notification settings

Joshua-Noakes1/Wol-NodeJS

Repository files navigation

Wol-NodeJS

A NodeJS based express server that sends Wake On Lan packets to a client.

Usage

POST /api/v1/wol - Wake On Lan

{
  "password": "Pa55Word!",
  "macAddress": "01:23:45:67:89:AB"
}

Install

Github Actions builds a docker image for Arm32, Arm64 and Amd64 from the latest node alpine image.

Docker Compose (recomended)

version: "3"
services:
  wol-nodejs:
    image: ghcr.io/joshua-noakes1/wol-nodejs
    container_name: Wol-NodeJS
    restart: unless-stopped
    environment:
      - KEY=Pa55Word!
      - PORT=3000
    network_mode: host

Docker run

    docker run -d --name Wol-NodeJS --restart=unless-stopped -e KEY=Pa55Word! -e PORT=3000 -network_node=host ghcr.io/joshua-noakes1/wol-nodejs

About

A NodeJS based express server that has support for WakeOnLan

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages