Skip to content

FrostWalk/Go-WoL-Bot

Repository files navigation

Wake-on-LAN Telegram Bot

A Golang Telegram bot that enables remote Wake-on-LAN functionality for devices on your local network.

Build for ARM 7 (armhf)

Make sure you have docker installed, then open a terminal and execute

./build-deb.sh

Installation

Copy the built debian file over your device using scp, then run

sudo dpkg -i wol-bot.deb

Configuration

Edit /etc/wol-bot/config.toml to configure the bot:

  • bot_token: Your Telegram bot token from @BotFather
  • allowed_user_ids: Array of authorized Telegram user IDs
  • data_file: Path to device storage JSON file
  • default_wake_timeout_seconds: Default wait time after WoL before checking status
  • ping_interval_seconds: Interval between ping checks
  • max_ping_attempts: Maximum ping attempts before giving up

Usage

Start a conversation with your bot on Telegram and use the menu buttons to:

  • List all devices and their status
  • Add new devices
  • Wake devices
  • Edit device settings (including per-device wake timeout)
  • Delete devices

About

A Golang Telegram bot that enables remote Wake-on-LAN functionality for devices on your local network.

Resources

License

Stars

Watchers

Forks

Contributors