mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-03-31 06:24:09 -04:00
3.6 KiB
3.6 KiB
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





