https://github.com/huakunshen/wol
Golang and Python implementation of Wakeonlan.
https://github.com/huakunshen/wol
cli go golang python python3 wakeonlan wol
Last synced: 4 months ago
JSON representation
Golang and Python implementation of Wakeonlan.
- Host: GitHub
- URL: https://github.com/huakunshen/wol
- Owner: HuakunShen
- License: other
- Created: 2021-01-18T04:52:47.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T16:11:54.000Z (over 1 year ago)
- Last Synced: 2025-03-25T08:42:46.524Z (over 1 year ago)
- Topics: cli, go, golang, python, python3, wakeonlan, wol
- Language: Zig
- Homepage:
- Size: 3.41 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WOL
## Golang
```bash
go get github.com/HuakunShen/wol/wol-go
```
### Installation As Executable
```bash
go install github.com/HuakunShen/wol@latest
# make sure your $GOPATH/bin is in PATH, for me, the executable is installed in ~/go/bin/wol
~/go/bin/wol --help
wol --help
```
### Usage
```go
import {
wol "github.com/HuakunShen/wol/wol-go"
}
...
wol.WakeOnLan(mac, ip, port)
```
### CLI Demo
- [main.go](./main.go)
- executable: [wol](./wol)
## Python
- [wol.py](./wol-py/wol.py)