Small web server to send Wake-on-LAN requests to its local network
Go to file
2022-02-18 15:34:33 +01:00
config Complete rework using echo 2022-02-18 14:35:03 +01:00
example Basic documentation 2022-02-18 15:18:44 +01:00
lib MVP #1 2022-02-17 13:31:01 +01:00
web Better readme, proper gomod 2022-02-18 15:34:33 +01:00
.gitignore Better readme, proper gomod 2022-02-18 15:34:33 +01:00
go.mod Better readme, proper gomod 2022-02-18 15:34:33 +01:00
go.sum Complete rework using echo 2022-02-18 14:35:03 +01:00
LICENSE Initial commit 2022-02-11 14:27:40 +00:00
main.go Better readme, proper gomod 2022-02-18 15:34:33 +01:00
README.md Better readme, proper gomod 2022-02-18 15:34:33 +01:00

miniwol

Small web server to send Wake-on-LAN requests to its local network

Features

  • Fully static frontend without JS
  • Binary includes everything except config

Installation

Option 1: Run go build in this folder after cloning, resulting in a binary miniwol in the current directory.

Option 2: Run go get git.ulra.eu/adro/miniwol, resulting in a binary in TODO.

Put the resulting binary in a place like /usr/bin/miniwol if you wish to run it like any command,

Usage

Add an empty config, the program checks, in order of priority, for ./config.toml, ./config/config.toml and /etc/miniwol/config.toml. Make sure miniwol can write to it.

Set a password and write its hash to the config using miniwol setpass <password>. This will also add the other default fields to the config.

Configure the devices you want to be able to wake up as per the example.

Now you can run the webserver using miniwol or miniwol web .

Sessions are simply stored in memory. In case you need to, you can clear all sessions by just restarting the webserver.