2022-01-12 19:45:20 +01:00
2021-10-01 01:07:35 +02:00
2021-09-30 15:22:49 +02:00
2021-09-20 02:24:36 +02:00
2021-09-30 22:07:26 +02:00
2021-10-01 19:57:05 +02:00

UpSnap

A simple wake on lan app written with Django, Django-Channels (websockets), Celery, Redis and nmap.

Features

  • Dashboard to wake up devices with 1 click
  • Set date and time to schedule a wake event
  • Open port scan for VNC, RDP and SSH
  • Visualization of incoming websocket messages
  • Notifications on status changes
  • Devices only get pinged when there are 1 or more visitors
  • Dark/light mode via preferes-color-scheme
  • Settings page to add/delete device and show system infos
  • Docker images for amd64, arm64, arm/v7

📸 Screenshots

Dark Light

🐳 Run your own instance

You can use the example docker-compose.yml file and just run docker-compose up -d.

The website will be available at localhost:8000. If you run it on a different pc, it will be http://<your-ip>:8000. You can change the port in the docker-compose file.

🔧 Available Env Vars

env var type info
DJANGO_SUPERUSER_USER Str Username for /admin backend
DJANGO_SUPERUSER_PASSWORD Str Password for /admin backend
DJANGO_SECRET_KEY Str You can create your own by running docker exec upsnap_django bash -c "python manage.py shell -c 'from django.core.management import utils; print(utils.get_random_secret_key())'"
DJANGO_DEBUG Bool Sets django to run in debug mode
DJANGO_LANGUAGE_CODE Str Language code in RFC 3066 (e.g. "en-us" or "de")
DJANGO_TIME_ZONE Str e.g. Europe/Berlin
DJANGO_PORT Int Web port
POSTGRES_USER Str Database user
POSTGRES_PASSWORD Str Database password
POSTGRES_DB Str Database name
PING_INTERVAL Int Time between pings
ENABLE_NOTIFICATIONS Bool Show notifications in the bottom right corner

📝 Other infos

  • The django container needs to run in host network mode to send the wakeonlan command on your local network. Therefore all other containers also need to run in host network mode. I don't like it but there is no way around.
  • Firefox 92 and below: The datetime picker for wake events will be available with version 93 and above. see here
Description
No description provided
Readme MIT 43 MiB
Languages
Go 48.1%
Svelte 46.9%
TypeScript 3.2%
JavaScript 0.9%
Dockerfile 0.4%
Other 0.4%