WoLAPI is a simple yet powerful Wake-on-LAN API.
1.7K
WoLAPI is a simple yet powerful Wake-on-LAN API, enabling remote wake-up of devices in local networks. This project is inspired by and based on Misterbabou's gptwol. It's designed for ease of use and integration into existing systems, offering a straightforward method for network device management.
version: '3.8'
services:
wolapi:
image: xfrenchgamer73/wolapi:latest
container_name: wolapi
network_mode: host
restart: unless-stopped
environment:
- FLASK_ENV=production
- TARGET_MAC= #ff:ff:ff:ff:ff:ff
- PORT= #5000
version: '3.8'
services:
wolapi:
image: xfrenchgamer73/wolapi:latest
container_name: wolapi
networks:
wolapi:
ipv4_address: #192.168.1.123
environment:
- FLASK_ENV=production
- PORT= #5000
- TARGET_MAC= #ff:ff:ff:ff:ff:ff
networks:
wolapi:
driver: macvlan
driver_opts:
parent: #eth0
ipam:
config:
- subnet: #192.168.1.0/24
The WoLAPI can be utilized in the following ways:
If a MAC address is specified in the configuration file:
You can wake a device by accessing the API at http://IP:PORT/wake. Replace IP and PORT with the actual IP address and port where WoLAPI is running (default: 5000).
If no MAC address is specified in the configuration file:
You can directly pass the MAC address in the API call: http://IP:PORT/wake?mac=ff:ff:ff:ff:ff:ff. Replace ff:ff:ff:ff:ff:ff with the actual MAC address of the device you want to wake.
Note: The MAC address provided via the API is prioritized over the one in the configuration file.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Discord : xfrg73
Project Link: https://github.com/xFrenchGamer73/WoLAPI
Content type
Image
Digest
sha256:30ab58d00…
Size
24.1 MB
Last updated
almost 3 years ago
docker pull xfrenchgamer73/wolapi