Sign inSign up

heathcliff26/go-wol

By heathcliff26

Updated 3 days ago

Wake on Lan utility. https://github.com/heathcliff26/go-wol

Image
Networking
Web servers
0

7.0K

heathcliff26/go-wol repository overview

CI Coverage Status Editorconfig Check Generate go test cover report Renovate

go-wol

This is a simple utility for sending Wake-On-Lan magic packet to clients in the local network. It can be used directly via the cli, or remotely via a web interface.

Table of Contents

Usage

CLI Args
$ go-wol help
go-wol power on other devices on the network via Wake-on-Lan

Usage:
  go-wol [flags]
  go-wol [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  server      Serve a frontend via gui
  version     Print version information and exit
  wol         Send a magic packet to the given mac address

Flags:
  -h, --help   help for go-wol

Use "go-wol [command] --help" for more information about a command.
Using the image

When using the container image, please note that the server needs to run with --net host to send the magic packets.

$ podman run -d -net host -v /path/to/config.yaml:/config/config.yaml ghcr.io/heathcliff26/go-wol:latest
Image location
Container RegistryImage
Github Containerghcr.io/heathcliff26/go-wol
Docker Hubdocker.io/heathcliff26/go-wol
Tags

There are different flavors of the image:

Tag(s)Description
latestLast released version of the image
rollingRolling update of the image, always build from main branch.
vX.Y.ZReleased version of the image

Configuration

An example configuration with comments and default values for the server can be found here.

The default paths for the configuration file are: - standalone: /etc/go-wol/config.yaml - in container: /config/config.yaml

Development

When changing the frontend, use the original bootstrap file static/bootstrap/bootstrap.css and not the trimmed version static/css/bootstrap.css

Credit

For CSS bootrap is used: Website | Github | Documentation To trim the bootstrap file purgecss is used: Website | Github | Documentation

Tag summary

Content type

Image

Digest

sha256:26c90dd2e

Size

6 MB

Last updated

3 days ago

docker pull heathcliff26/go-wol