v3 is here! 🤩
For UpSnap 3 the backend was completely rewritten with Go. Also the frontend was changed to SvelteKit, updated to Bootstrap 5.3.0-alpha and now uses much less RAM and disk space than v2. Also, the Docker image has moved to ghcr.io.
Changelog
- ⚙️ Backend: rewritten in Go
- ⚙️ Backend: Support for different databases dropped. Backend now uses PocketBase which is based on SQLite
- ⚙️ Backend: Added the option to use passwords for wake events. If your network card supports it, you can find it in your BIOS called "SecureOn" or smiliar.
- ⚙️ Backend: PocketBase offers an API. You can log in to localhost:8090/_/ and click "'API View" in the top right corner
- 🎨 Frontend: converted from Svelte to SvelteKit and also almost rewritten everything
- 🎨 Frontend: Got rid of modals. Pages should be more user friendly
- 🎨 Frontend: Better badges on device card to show cron events and password protection
- General: Drastically reduced resource requirements
- General: Single binary to run everything!
- General: No more custom routes necessary for reverse proxy
Resource improvements compared to v2
Version | RAM | Storage |
---|---|---|
v2 | ~550-650 MB | ~600 MB (Docker) |
v3 | ~27 MB | ~43 MB (Binary), ~159MB (Docker) |
How to upgrade to v3
- ⚠️ If you had UpSnap v2 before, make sure to upgrade to v2.3.2 or higher first, as it fixes an issue with json exports ⚠️
- Click top right "More"
- Then click the button "Export .json"
- Update your docker-compose.yml to the newest version (or just download the binary)
- Head over to localhost:8090 (or whatever url you've set)
- Go to the settings page at the top
- Use the file upload at the very bottom and select the .json you just downloaded
- (If you were using a reverse proxy like caddy or nginx-proxy-manager before, you don't need to add custom routes anymore. Just use localhost:8090)
Backup
You can't download json files anymore. The recommended way is to backup the pb_data
directory.
Issues?
You found bugs that I didn't find? Please create an issue here.