Running, for me, has always been about balance. Time outside, some suffering uphill, nice views… and yes, enjoying life after the run as well. Somewhere between long climbs and sore legs, the question inevitably comes up:

“So… how many beers was this run worth?”

That simple question is how the #BeerCounter was born.


From Numbers to Motivation

Strava is great at telling us how many calories we’ve burned. Useful? Sure. Motivating? Meh.

Calories are abstract. Beer, on the other hand, is refreshingly concrete.

Instead of staring at calorie numbers, I started translating my activities into something far more relatable:

  • A short easy run → maybe one beer
  • A solid trail session → two or three beers
  • Long run with lots of vertical → officially a five‑beer workout

Suddenly, the effort felt more tangible — and a lot more fun.


The Strava Integration

The idea was simple: take data that Strava already provides and turn it into something different.

Using the Strava API, every activity can be analyzed after upload:

  • Distance
  • Elevation gain
  • Duration
  • Effort (or estimated calories)

From that, the BeerCounter calculates how many beers that effort “earned”. The result shows up directly with the activity, tagged with #BeerCounter, so it’s easy to spot later.

No claims of scientific accuracy here — this is not nutrition advice. It’s motivation, with a wink.


Yes, This Runs on a Raspberry Pi Under My Desk

For anyone wondering how overly serious this project is: the entire #BeerCounter runs on a humble Raspberry Pi that’s sitting under my desk. No cloud infrastructure, no Kubernetes cluster, no high availability setup — just a small board quietly humming away between cables, dust, and the occasional kicked power strip.

It fetches activities, does the math, and publishes the results while I’m out running or, more likely, thinking about running. Slightly absurd? Absolutely. But somehow very fitting for a project whose main job is converting effort into beer.


Why Beer (and Not Pizza)?

Because beer is universal in the endurance‑sports world.

Post‑run beers at races. Post‑ride beers at huts. Post‑anything beers with friends.

Beer here isn’t about excess — it’s about reward. It marks the end of the effort, the moment you sit down, take your shoes off, and say: “Yeah, that was worth it.”

And honestly: thinking “this climb equals another beer” has pushed me up more than one hill.


Trail Running, Numbers, and Keeping It Fun

Trail running already gives us enough metrics to obsess over: pace vs. elevation, vertical per kilometer, weekly mileage, training load.

The #BeerCounter is my small reminder to not take all of this too seriously.

Run first. Enjoy later. Count beers if you must.

If you see #BeerCounter pop up on one of my Strava activities, now you know what it’s about. And if you’re wondering whether your last run was a three‑beer or a five‑beer effort…

Well — you probably already know the answer. 🍻


See you on the trails.