seriousm4x Posted April 2, 2023 Share Posted April 2, 2023 UpSnap A simple wake on lan web app written with SvelteKit, Go, PocketBase and nmap. Github: https://github.com/seriousm4x/UpSnap Ghcr.io: https://github.com/seriousm4x/UpSnap/pkgs/container/upsnap Screenshots: https://github.com/seriousm4x/UpSnap#-screenshots ✨ Features Dashboard to wake up devices with one click Set timed wake and shutdown events via cron Add custom ports to devices which will be pinged Discover devices by scanning network User/Password protected login Dark/light or system prefered color scheme Docker images for amd64, arm64, arm/v7, arm/v6 If you encounter any bugs or issues, please don't hesitate to ask for assistance here. If you have a Github account and are familiar with software development, you can also contribute by creating an issue or submitting a pull request. Quote Link to comment
pmcnano Posted April 14, 2023 Share Posted April 14, 2023 (edited) I was just looking for something like this. Thanks! That being said, your unraid template is missing somethings...I will try to fix it and submit a PR to your repo. Edit: It's actually all okay, the thing is, and I'm not sure how to fix, since the ports are not specified, the docker app doesn't offer to open the web gui. But just going to the port 8090 works fine. Probably worth allowing the user to specify which port is going to use. And I thiiink maybe the app icon has to be PNG but not entirely sure. Edit2: Seems like the database is reset after restarting the container? I assume is because it's not being stored in the appdata. Edit3: Sorry for all the edits. Added a path mapping, /app/pb_data to my appdata folder and the database is now persisted. Edited April 14, 2023 by pmcnano Quote Link to comment
SOULV1CE Posted June 28, 2023 Share Posted June 28, 2023 On 4/14/2023 at 5:07 PM, pmcnano said: I was just looking for something like this. Thanks! That being said, your unraid template is missing somethings...I will try to fix it and submit a PR to your repo. Edit: It's actually all okay, the thing is, and I'm not sure how to fix, since the ports are not specified, the docker app doesn't offer to open the web gui. But just going to the port 8090 works fine. Probably worth allowing the user to specify which port is going to use. And I thiiink maybe the app icon has to be PNG but not entirely sure. Edit2: Seems like the database is reset after restarting the container? I assume is because it's not being stored in the appdata. Edit3: Sorry for all the edits. Added a path mapping, /app/pb_data to my appdata folder and the database is now persisted. Thanks for this comment. I made some further progress and will share to make it more Unraid friendly. To add WebUI option for the container we can toggle Advanced View and add the following to the WebUI section http://[IP]:[PORT:8090]/ The icon URL can also be updated from the Advanced View, you are right that it wont display in the native format from Github (I think it was .svg or something). Instead I just updated used the icon from this page which is saved as .png. Also I enjoyed the little QR code Easter Egg from this one https://forums.unraid.net/uploads/monthly_2023_04/gopher.thumb.png.7ca4e3809e310e5a43056ab4aa6b6080.png I added the following to the Post Arguments for my system to redirect to the correct IP address for the PocketBase Admin UI. The default URL goes to 0.0.0.0. --http 10.0.0.100:8090 Along with your mention of adding a path mapping for database persistence, I also added the container port variable in case I need to change the host port, and also the timezone and IP scan range. These can be changed within the application as well I noticed afterwards, but I would rather have them set in the container. Here is a screenshot of my setup in case this will help anyone else in their configuration: Quote Link to comment
milfer322 Posted September 10, 2023 Share Posted September 10, 2023 Hello I installed this but the unraid template seems old, can update the template for use it more easy? Thanks so much! Quote Link to comment
seriousm4x Posted September 10, 2023 Author Share Posted September 10, 2023 Hey, sorry for not being very active here. I've made a couple of changes to the template (thanks @SOULV1CE): Added link to WebUI. It will automatically link to http://[IP]:[PORT:8090]/ Added PostArgs to make port change more easy Added default mountpoint "/mnt/user/appdata/upsnap/" Added Timezone environment variable Use a png as icon 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.