This is a simple Flask application for sending Wake-on-LAN (WOL) packets to wake up computers on your local network. I created this project to provide a web interface for waking up devices remotely.
- Send WOL packets to specified MAC addresses.
- Simple and user-friendly web interface.
- Dockerized for easy deployment.
- Python
- Flask
- Docker
-
Clone the repository:
git clone https://github.com/han-link/flask-wol-app.git
cd flask-wol-app
-
Create and activate a virtual environment:
python3 -m venv .venv
source venv/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
-
Configure your WOL settings in
config.py
. -
Run the application:
python run.py
To run the application using Docker:
-
Build the Docker image:
docker build -t flask-wol-app .
-
Run the Docker container:
docker run -d -p 5000:5000 flask-wol-app