mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-03-31 06:24:09 -04:00
0772eb3c392daab80f8e4e46a2904ddf006c4e46
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.
🔧 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
Languages
Go
48.1%
Svelte
46.9%
TypeScript
3.2%
JavaScript
0.9%
Dockerfile
0.4%
Other
0.4%





