A simple wake on lan web app written with SvelteKit, Go and PocketBase
open sourceMITself-hostablefree
UpSnap is a self-hosted Wake-on-LAN dashboard: each device on your network gets a card you click to wake it with a magic packet, with its online status from a ping of any port you choose. Cron schedules wake or shut down devices automatically, and shutdown runs a command you set (such as net rpc for Windows or sshpass and SSH for Linux) from inside the container or on the host. An nmap scan finds devices to add, optional ARP scans keep each device's IP current, and users get per-device permissions to see, edit, wake or power off. It's a single Go binary built on PocketBase, whose REST API it extends with wake, sleep, reboot, shutdown and scan endpoints, and it ships for Linux, macOS, Windows and FreeBSD and as a Docker image, under the MIT licence.
Ways to install
On your own server
Problems it solves
- turn on my gaming PC from my phone's browser while I'm on the couch
- a web page with one button per computer to wake it up over the network
- wake my NAS every morning at 7 and shut it down again at midnight
- send Wake-on-LAN magic packets without installing an app on every phone
- see at a glance which of my home servers are powered on
- shut down a Windows PC remotely on a schedule from my home server
- power off Linux machines over SSH with one click when I'm done with them
- let my family wake the media PC without giving them access to everything else
- wake a whole group of machines at once before a backup runs
- find the computers on my LAN to add to a wake-up dashboard without typing MAC addresses
- keep track of a device's IP address when DHCP keeps changing it
- wake my workstation from a script, run rsync, then shut it down again
- self-hosted Wake-on-LAN web app in Docker for my Raspberry Pi
- check whether a service port on my server is answering, not just ping
- schedule my lab servers to switch off at night to save electricity
- a Wake-on-LAN tool with user accounts and per-device permissions for a small office
Features
- one-click Wake-on-LAN dashboard for every device
- cron schedules to wake and to shut down devices
- online status by pinging any port you choose
- shutdown with a custom shell command, with the device's IP and MAC substituted
- sleep through sleep-on-lan and reboot endpoints
- device groups woken together
- network scan with nmap to discover devices
- optional IP tracking per device through periodic ARP scans
- devices addressed by fully qualified domain name
- user accounts with per-device permissions to view, edit, delete and power devices
View 6 more
- OAuth2 sign-in providers through PocketBase
- superuser logs page
- REST API from PocketBase plus wake, wakegroup, sleep, reboot, shutdown and scan endpoints
- 35 themes and translations in 23 languages
- runs under a sub path behind a reverse proxy
- binaries for Linux, macOS, Windows and FreeBSD; Docker images for amd64, arm64, arm/v7 and arm/v6
Limitations
- Not meant to be exposed to the open internet: the maker recommends reaching it through a VPN such as WireGuard, since shutdown commands run in a shell, possibly as root3
Capabilities
| Has an API | plan not known |
|---|
Alternatives
The same job
These do what UpSnap does.
- WatchYourLAN Lightweight network IP scanner with web GUI
