❌

Reading view

SparkyFitness v1.10.0 - Supports Android watch App - A Self-Hosted alternative for MyFitnessPal, Flo, Hevy, Shotsy & more

SparkyFitness v1.10.0 - Supports Android watch App - A Self-Hosted alternative for MyFitnessPal, Flo, Hevy, Shotsy & more

We just crossed 6.5k+ stars in Github and have 150+ amazing developers contributing to the project. We are scaling faster than ever and estimated to 10k+ users who are using SparkyFitness. It could be even more as we don't collect anything and this count is based on active downloads in Github, Google & Apple app stores.

https://github.com/CodeWithCJ/SparkyFitness

I was also able to setup demo site so you can give it a try before you actually install it.

https://demo.sparkyfitness.com/

If you haven't tried SparkyFitness yet, I'd love for you to give it a spin and let us know what you think.

Core Features

  • Nutrition, hydration, fasting, barcode, snap picture to log etc.
  • Sleep, Mood, Symptom tracking
  • Exercise, Workout, GPS run/cycle mapping
    • New Updates
      • Train with run programs: Follow a zone 2 base plan with HR guidance, weekly distance goal etc.
      • Draw routes on map, snap them to roads, generate loops of set distance, follow a saved route on your apple watch.
      • Smart strength workout: Pin the set to do now, swap exercises in a tab, keep your sets when you replace an exercise and load the bar with plate calculator.
      • Heart rate zones: Set your own max and resting HR, zone method and analyze using detailed HR reports
  • Body measurement tracking
    • New Updates
      • Log your mood, measurements, progress photo in three quick steps using guided navigation
  • Period Cycle, Pregnancy, Medication & GLP1 tracking
  • Goal setting and daily check-ins
  • Interactive charts and long-term reports
    • New Updates
      • Mobile app includes many reporting in the dashboard view
  • Multiple user profiles and family access
  • AI Chatbot & MCP Server
  • Light and dark themes
  • Apple watch & Android companion Apps
  • OIDC, TOTP, Passkey, MFA etc.

Please thumbs up Github issues & enhancement request so we know which one to prioritize next. I would like explore following hardware integrations.

  • NFC tag for quick water log, food etc.
  • Direct integration with smart weight scale (starting with Etekcity) - This way you don't need to send your health details to cloud providers

Health & Device Integrations

SparkyFitness can sync data from multiple health and fitness platforms:

submitted by /u/ExceptionOccurred to r/selfhosted
[link] [comments]
  •  

Playmat: a self-hosted Magic: The Gathering server you can play from the browser (Docker Compose, ARM + x86)

Playmat: a self-hosted Magic: The Gathering server you can play from the browser (Docker Compose, ARM + x86)

https://preview.redd.it/gcfggqi90gyh1.png?width=2400&format=png&auto=webp&s=a67d4c34f20af5abd1554a7f22ad9e1782946528

I've been working on Playmat, a fork of XMage (the open-source MTG rules engine) with a browser client, and the main way to run it is self-hosted. It's built for a playgroup that wants its own server.

The stack: four containers from one compose file: the game server, Caddy with automatic HTTPS, a cache for card pictures from Scryfall, and a nightly backup. Images are published for x86 and ARM, so a Pi-class box or a free ARM VPS works. About 1 GB of RAM is enough for a group's evening; there's a small-VPS preset that lowers the limits.

Setup:

git clone https://github.com/arcanite24/playmat.git && cd playmat cp ops/web/.env.example ops/web/.env # set DOMAIN and the owner account docker compose -f ops/web/docker-compose.yml --env-file ops/web/.env up -d 

No domain? There's a LAN mode for a group on one home network. There are also desktop installers if you just want to host for friends on the same Wi-Fi.

Admin side: a web admin console with moderator/admin/owner roles: who's online, reports, the audit log, registration rules, scheduled maintenance with in-game warnings, and an optional one-button update and rollback. It can send Discord notifications and password-reset mail.

What you get as a player: play vs AI or friends with invite links, drafts and sealed with AI filling empty seats, deck import from Moxfield/Archidekt, spectating and replays. Desktop browsers, tablets, and an Android app.

Docs: https://arcanite24.github.io/playmat/docs/server.html
Repo (MIT): https://github.com/arcanite24/playmat

It's a free fan project, not affiliated with Wizards. Feedback on the deployment side especially welcome: what would you want before running it for your group?

https://preview.redd.it/hsbkll9h0gyh1.png?width=1920&format=png&auto=webp&s=5e3d4e6423fb37b2d2cfa368e3db506d34646fe5

submitted by /u/arcanite24 to r/selfhosted
[link] [comments]
  •  

PSA: Synology NAS owners, there has been a recent uptick in C3RB3R Ransomware attacks

Greetings!,

For anyone running a Synology NAS, please read up on their latest security advisory Synology-SA-26:14 PHP2Shell.

There have been a considerable number of users reporting compromised NAS devices on r/synology over the past ~12 hours. It seems like most of the affected users were on outdated versions of DSM, not running updates on their packages, and/or being exposed to the open internet via QuickConnect, but I wanted to share here for the sake of visibility.

If you've already been impacted, search for "c3rb3r-rescue" on the open web and you should find a project that proports to help with this. I have not personally used it. (Auto-mod removed my last post where I submitted a hyperlink to it, because it incorrectly assumes it is project self-promotion and directed me to the weekly projects mega-thread.)

For the rest of Synology users who don't believe they've been impacted, you should take precautions IMMEDIATELY.

Combining the information some people have shared in r/synology, the following steps should help reduce your exposure:

  1. Update DSM and your installed packages. Some users have reported that DSM was not prompting them for updates. Go manually check.
  2. Remove packages you don't use.
  3. Review how your NAS is accessible from the internet. Port forwarding, UPnP, reverse proxies, etc. If you don't need external access, disable it. Ideally, you should be using something like Tailscale to access.
  4. Review your general security settings. Ensure MFA is enabled where supported, disable the default admin account, turn on immutable snapshots, and change default ports for anything that does need external access (Plex, for example). Ideally

Note to the security-conscious among us: It is true that one shouldn't have ports open, shouldn't have your NAS exposed to the internet, and should restrict external access to something like WireGuard or Tailscale... But Synology has marketed its products to general users as an easy-to-use solution, with features like QuickConnect, Photos, Drive, and other DSM applications making remote access relatively straightforward. I think this has given some users a false sense of security about what it actually means to have a NAS accessible outside their home network and needs to be called out for their sake.

submitted by /u/Toastiesyay to r/selfhosted
[link] [comments]
  •  

Does a good self hosted recipe manager app exist?

Tandoor, Mealie, Recipe Sage, Kitchen Owl all have borderline unusable UI's. Particularly with the recipe creation section. It seems a lot of people are happy with Mealie, I am assuming this is because most people import/scrape there recipes? Creating recipes by hand with any of these apps is incredibly clunky.

None of them have options for categorizing your recipes beyond tagging, ie a folder of pastry recipes. You can't really customize any of them at all, ie Tandoor & Mealie both assume youl be adding pictures to your recipes, so all of the tiles in the main home view are massive and doesn't look very good.

Cooklang could have been amazing, but there was this strange decision to make defining your ingredient list inline with the recipe steps, which seems very "simple" in the long run makes everything more complicated for a variety of reasons.

Right now I have several hundred recipes in a Google spreadsheet, which is as you can imagine pretty clunky, but I don't think its an exaggeration to say that it still beats out any of the options I've come across.

submitted by /u/fozz179 to r/selfhosted
[link] [comments]
  •  

Guide - Use docker to operate legacy scanner hardware on Windows 11

Guide - Use docker to operate legacy scanner hardware on Windows 11

So I have my fairly old Canon LiDE 60 flatbed scanner, which I need occasionally to scan documents.
This scanner is somewhat like 20 years old!
Despite its age, it's doing its job, and it's doing it quite well.

The biggest issue?
Getting it to work on Windows 11, without setting up a dedicated virtual machine with Windows XP just for this scanner.
I hesitate to get a replacement, because I hate throwing away perfectly working hardware and creating unnecessary e-waste, just because driver support dropped.

What I tried:
- VueScan: The trial version works like a charm. VueScan recognizes the LiDE 60 and the scan results are beautiful, the post-processing is good.
Unfortunately, the trial of VueScan prints a huge watermark overlay, making the scans unusable. I'm absolutely not willing to pay ~ 85 € for this

(heck, even the one-year license for about ~ 25 € is not barely worth it.
For 85 € I can get a new scanner, which is compatible with Windows 11, and for 25 € a used model).
The VueScan pricing is absolutely ridiculous, at least for a bog-standard flatbed scanner (I know they also support film scanners, which is a different story and probably worth the license fee, but absolutely not in my case).

And attempting to find a crack / patcher for VueScan is the best way to get some nice Malware on the machine. The search results are flooded with fakes and I'm not willing to spend my time and taking the risk to find a legit crack.

- Reusing the Windows 7 driver: Well. It used to work until some Windows 10 update. And I haven't managed to get it back it work since then, also not on Windows 11. According to a comment, it's supposed to work, but whatever 💁

- Virtual Machines with VirtualBox: Works with Windows XP as well as Ubuntu. But this solution is fairly slow and inconvenient. Also, wasting at least 20 GB of space for a VM, just as a scanner driver replacement, is crazy. I don't need the VM all the time on my machine, but every new VM setup takes up some time and is annoying.
So, the VM solution is somewhat ok. It does its job. But it feels clumsy and I don't like this approach.

VueScan is out of the game, as is the legacy Windows 7 driver. What is left? Virtualization!
But a VM is somewhat clumsy and heavyweight. I seek a more lightweight and elegant solution.
Like Docker containers.

Can we containerise Linux scanner drivers and expose scanning software through a web interface out of the container? Yes, we can!
And luckily, someone already wrote that software. And also provides a Docker container.
May I introduce scanservjs?

So we have a Docker container with all the required software stack. We just need to connect it wit our scanner and let's go.

Prerequisites / Installations:
- Docker is installed and the WSL 2 backend enabled (this is currently the default engine). Docker must also be running.
- usbpid-win must be installed.

One-time setup:
- Download the Docker container: docker pull sbs20/scanservjs
- Open a terminal with administrator privileges for usbipd.
- List the USB devices and find the busid of the scanner with usbipd list
(the busid is 6-3 of the CanoScan LiDE 60 in this example.
It will be different on your machine! Use the busid of your scanner)

Connected:
BUSID VID:PID DEVICE STATE

1-4 04f2:b71c Integrated Camera, Integrated IR Camera Not shared
3-1 0bda:9210 USB Mass Storage Device Not shared
3-3 27c6:6594 Goodix MOC Fingerprint Not shared
3-4 8087:0029 Intel(R) Wireless Bluetooth(R) Not shared
4-1 17ef:3062 Lenovo USB Ethernet Not shared
6-2 17ef:3060 Billboard Device, USB Input Device Not shared
6-3 04a9:221c CanoScan LiDE 60 Not shared
8-2 2c7c:0600 Quectel EM120R-GL, Quectel QMUX Interconnect Not shared

Persisted:
GUID DEVICE
5e1e689d-7ca1-49ff-926d-eebd377bd1a7 USB Serial Device (COM11)
cb0cb49e-40d6-4d3b-9483-0c1f3c175fbf USB Serial Device (COM12), USB Mass Storage Device

- Bind and attach the busid of the scanner to the WSL engine.
usbipd bind --busid 6-3
usbipd attach --wsl --busid 6-3

The output should be somewhat like that:
usbipd: info: Using WSL distribution 'Ubuntu-26.04' to attach; the device will be available in all WSL 2 distributions.
usbipd: info: Detected networking mode 'nat'.
usbipd: info: Using IP address 172.23.64.1 to reach the host.

- Check the binding with usbipd list. The scanner should be in the state Attached now.

Connected:
BUSID VID:PID DEVICE STATE

1-4 04f2:b71c Integrated Camera, Integrated IR Camera Not shared
3-1 0bda:9210 USB Mass Storage Device Not shared
3-3 27c6:6594 Goodix MOC Fingerprint Not shared
3-4 8087:0029 Intel(R) Wireless Bluetooth(R) Not shared
4-1 17ef:3062 Lenovo USB Ethernet Not shared
6-2 17ef:3060 Billboard Device, USB Input Device Not shared
6-3 04a9:221c CanoScan LiDE 60 Attached
8-2 2c7c:0600 Quectel EM120R-GL, Quectel QMUX Interconnect Not shared

Persisted:
GUID DEVICE
5e1e689d-7ca1-49ff-926d-eebd377bd1a7 USB Serial Device (COM11)
cb0cb49e-40d6-4d3b-9483-0c1f3c175fbf USB Serial Device (COM12), USB Mass Storage Device

Scanning:
- Run the Docker container: docker run -d -p 8080:8080 --privileged sbs20/scanservjs
- Open http://localhost:8080/ in your browser and enjoy using your old scanner. No need to throw away fully working hardware.

Scanned handwriting: Scanned on a Canon Lide 60 on Windows 11 with scanservjs and Docker

How does this work?
The foundation is the SANE driver for Linux. Your scanner must be supported by SANE, otherwise this whole setup won't work.
usbipd is used to redirect your USB device through USB/IP to the WSL 2 engine. The USB redirect is not just for your default WSL distribution, it's also available to all Docker containers. You can verify this by executing e.g. lsusb from within a Docker container.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 04a9:221c Canon, Inc. CanoScan LiDE 60
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Related Resources:
- https://www.geckoandfly.com/7569/canon-lide-scanner-and-printer-driver-for-microsoft-windows-7-64-bit/
- https://www.schraegstrichpunkt.de/canon-canoscan-lide-50-unter-windows-7-64-bit
- https://www.bachmann-lan.de/canon-lide-60-unter-windows-10/
- https://www.bentasker.co.uk/posts/blog/opinion/scanners-old-hardware-and-the-environment.html

submitted by /u/redderredred to r/selfhosted
[link] [comments]
  •  

Best self-hosted Spotify replacement with music discovery

I'm looking to replace Spotify with a self-hosted setup, especially its personalized recommendations, Daylist, Discover Weekly and Daily Mixes

I'd love to discover and listen to new music without permanently downloading everything, while keeping my favorites and automatically collecting releases from selected artists.

I already have Soulseek, Usenet and torrents available, as well as my exported Spotify listening history and playlists

I'm completely open to any software or combination of tools.

Has anyone built something that comes close to Spotify's discovery experience? What would you recommend?

submitted by /u/bka-informant to r/selfhosted
[link] [comments]
  •  

My journey after six months... and my thoughts..

My journey after six months... and my thoughts..

This has been quite the learning experience for me. I knew absolutely nothing at the start of this, although I had a pretty good background understanding of computers in general, but only with Windows machines. I just knew I wanted to take back control of my data.

I installed TrueNAS on an old i7 3770k system with 32GB of DDR3 RAM.

At first, I (heavily) used AI to help me with installing community apps, navigating the file system and permissions because I just didn't understand it. As I went, I learned more and more and went well beyond where I expected to stop.

Fast forward to now, I have a pretty good understanding of Linux and Docker in general. I ditched Windows on two other machines in favor of CachyOS and Ubuntu, and I am using those other two machines to run services complementing my server stack.

My thoughts:

  • Docker is amazing. I am in constant awe of the capabilities that Docker has and really how easy it is to use once you understand how it works.
  • Don't expose your services to the internet if you can help it. I have Ubiquiti hardware so everything is utilized via VPN when I am away from home.
  • Physical disks will fail. I lost two drives during this time. One showed bad sectors after maybe 3 months, and its replacement was DoA. Luckily, I did not lose any data, but I do offsite backups to Backblaze weekly, my app pool is mirrored to another disk inside the server as well as pushed via rsync weekly to my CachyOS and Ubuntu systems.
  • Learn how to use the shell and shell commands.
  • Problems with things are permissions related 99% of the time.
  • The "arr" stack is amazing. It's like magic.

Thanks for reading.

submitted by /u/rickymilby to r/selfhosted
[link] [comments]
  •  

Oh... I'm having a lot of fun lately

Oh... I'm having a lot of fun lately

My current setup... and I'm getting so much satisfaction out of it!

Everything is running smoothly, 3-2-1 backups are in place and working, remote monitoring is set up, and even my wife is happy with KitchenOwl for recipes and Watcharr! :)

It's honestly amazing how much fun self-hosting can be.

submitted by /u/metalogico to r/selfhosted
[link] [comments]
  •  

Sablier, 4 years later: start your apps on demand, now with Podman, Proxmox LXC, Nomad, ECS and more

Hey r/selfhosted,

About four years ago I posted Sablier v1.1.0 on r/Traefik. If you've never heard of it: Sablier starts your apps when someone actually visits them, and stops them after a while without traffic. While an app boots, your reverse proxy shows a waiting page or just holds the request until it's ready. It's made for the services you open twice a month but keep running 24/7.

I've just released v1.19.0, and a lot has changed since that post, so here's a catch-up.

It's not just Docker anymore

  • Providers: Docker, Docker Swarm, Kubernetes, Podman, Proxmox LXC, systemd, Nomad and AWS ECS
  • Reverse proxies: plugins for Traefik and Caddy, plus Nginx, Envoy, Istio and Apache APISIX through a proxy-wasm plugin

Scale instead of stop
Cold starts are the main complaint about this kind of tool. With scale mode, Sablier doesn't have to stop an idle app. It can keep it running with throttled CPU, memory or disk I/O, and give it its full resources back when someone shows up.

Webhooks and observability

  • Webhooks when an instance starts or stops, so you can plug Sablier into your notifications or monitoring
  • A Prometheus /metrics endpoint
  • OpenTelemetry tracing

A few smaller ones I like

  • Running hours: keep something up during set hours, whatever the traffic
  • Anti-affinity: make an app back off while another group is in use, e.g. free the GPU from Nextcloud while your streaming stack is running
  • Groups, optional instances, and themes for the waiting page

The maintainer side

This part is more personal. For most of its life, Sablier was mostly me, on evenings and weekends, because I enjoyed it. Outside contributions were rare. After a while that gets heavy: issues pile up, every feature takes weeks, and the project lives in the back of your head as a to-do list.

This year changed that, and AI is a big part of why. I know it's a touchy subject here, so I'd rather say it upfront. On my side, I can turn an idea into a working feature in days instead of months. It comes with tests and docs, and I still review every line. Contributions came back too: 13 people besides me have contributed so far this year, about twice as many as in any previous year. I was honestly expecting a wave of AI slop. I didn't get any, just really nice PRs.

The result is that I don't carry the project around in my head anymore, and maintaining it is fun again.

If you already use Sablier, I'd really like to hear from you

I know very little about who actually runs Sablier. I see the stars, the issues and the occasional PR, but most people who use it never say anything. That's fine, but it means I'm guessing a lot when I decide what to work on next.

So if you use it, I'd love a comment, even a short one:

  • Is it for your homelab, for work, or both?
  • What do you put behind it, and why? Saving RAM or power, a small VPS, GPU sharing, or something else?
  • Is it really useful to you day to day, or more of a nice-to-have?
  • What's annoying, missing, or confusing?

Negative feedback is just as welcome. If you tried it and dropped it, I want to know why too.

submitted by /u/zittoone to r/selfhosted
[link] [comments]
  •  
❌