Hey everyone!

I recently got back into running and wanted to track my running stats without paying for a subscription service. The search for a self-hosted solution naturally led me here.

One recommendation I kept seeing was for the open-source project Runalyze forked by codeproducer198. From the repo’s description, it checked most of my boxes – supporting various types of workouts, importing GPX and FIT files, and having an API for easy data uploads.

Unfortunately, the project was lacking documentation for setting it up. But, with the help of codeproducer198’s Docker template and some brute forcing with ChatGPT, I managed to get a Docker container up and running.

For those looking to self-host Runalyze, I’ve put together a working container and slightly better instructions in my fork, which you can find here: chasx003/Runalyze-Tools: Docker sample/template for self-hosted RUNALYZE (github.com)

If you’re also interested in “auto-upload” from something like Apple Fitness, here’s my current process.

I have an Apple Shortcut triggering HealthFit to sync workouts to Dropbox. Then, Node-Red monitors Dropbox for new workout files and uses Runalyze’s API to import workouts. If you’re interested in this setup, I put the Node-Red flow in the repository.

Hopefully this is useful to someone else!

  • chasx003OPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I’m probably reading too much into the readme, but codeproducer198’s notes sort of implied it was a personal fork for him and wouldn’t accept a PR on the tools repo, as he’s referencing internal docker images in his fork