No description
- Rust 68.7%
- HTML 18.8%
- Dockerfile 12.5%
| pub_html | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Cargo.toml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| hosts_example.json | ||
| LICENSE.md | ||
| README.md | ||
| Rocket.toml | ||
| rustfmt.toml | ||
wol-cp
A small Wake-on-Lan Webi, build in Rust
Install
- Download a binary from CI, or build it localy.
- Create a
hosts.jsonFile. This could contain hosts (example here) or just an empty array ([]) - Start it:
ROCKET_ADDRESS=0.0.0.0 ROCKET_PORT=6713 ./target/release/wol-cp
Server will listen on ::6713
host-names an host-macs are stored in a hosts.json file.
API
/api/add/<name>/<mac>adds a host/api/hostsreturns a JSON with all hosts (names, macs)/api/start/<mac>starts a host by given MAC
Docker-Image
registry.itbyhf.xyz/ha/wol-cp:latest