[SUPPORT] SeriousM4x - UpSnap


Recommended Posts

gopher.thumb.png.7ca4e3809e310e5a43056ab4aa6b6080.png

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.

Link to comment
  • 2 weeks later...

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 by pmcnano
Link to comment
  • 2 months later...
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.
 

  1. To add WebUI option for the container we can toggle Advanced View and add the following to the WebUI section
    http://[IP]:[PORT:8090]/
  2. 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
  3. 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
  4. 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:
    736587070_Screenshot2023-06-27200356.thumb.png.7a66d302935b4469316280843776c175.png
    690243983_Screenshot2023-06-27200412.thumb.png.912e8259953fa7573326a3c49d4f5b82.png
Link to comment
  • 2 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.