A project to turn on your PC using Telegram + Wake On Lan
This project runs a TelegramBot which will listen to a start
command on Telegram which will send a Wake-On-Lan Magic Packet to turn on a computer in the network identified by the MAC address.
All configs are set via environment variables (check .env.example
) and the MAC addresses (+ permissions) are set in a DynamoDB table called alan-wake
.
mac
which is the primary partition keyalias
users
.To run in dev mode: npm run dev
.
To run in prod mode: npm run build
and npm start
.
start.sh
file are available to allow starting the application on the startup, which will keep the application running after rebooting the host running this application.