Small web server to send Wake-on-LAN requests to its local network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
adro 991306c726 Added title for logout 2 years ago
.vscode Icons, identify device by index, launch.json 2 years ago
config Added an option to disable https-only 2 years ago
example Added an option to disable https-only 2 years ago
lib MVP #1 2 years ago
web Added title for logout 2 years ago
.gitignore Icons, identify device by index, launch.json 2 years ago
LICENSE Initial commit 2 years ago
README.md Update 'README.md' 2 years ago
go.mod Better readme, proper gomod 2 years ago
go.sum Complete rework using echo 2 years ago
main.go Better readme, proper gomod 2 years ago

README.md

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

Run go install git.ulra.eu/adro/miniwol@latest, resulting in a binary ~/go/bin/miniwol. Move this binary to e.G. /usr/bin/miniwol to run it like any command.

Examples include a simple systemd service to have it start automatically.

Usage

Add an empty config. The program uses, in order of priority, ./config.toml, ./config/config.toml and /etc/miniwol/config.toml. Make sure miniwol can write to it as all persistant data is saved here.

Set a password using miniwol setpass <password>. This will also add any missing defaults to the config.

Run the webserver using miniwol or miniwol web .

Sessions are in-memory. Restarting the webserver clears all sessions.