Skip to content
DKPLDownload CV
All projects

Personal project · web application (PWA)

VeloLog

Bike servicing for the whole family, training analysis and route planning with weather — one app, on phone and desktop, even offline.

automated tests
1,200+
automated tests
lines of Python
~20k
lines of Python
UI, PDFs, e-mails
PL / EN
UI, PDFs, e-mails
writes wait in a queue
offline
writes wait in a queue
A ride compared with the planned route on an OpenStreetMap map
A ride compared with the planned route on an OpenStreetMap map · Screenshots from the demo — sample data.

The problem

Several bikes in one family, parts wearing out at different rates, service “every X km or every Y days”, rides from several bike computers and an indoor trainer, plus route and training planning. No single app covered all of it — it ended up as a handful of tools and a spreadsheet.

The solution

One app for the whole family, installable on a phone like a native one (PWA):

  • Service and parts — “every X km or Y days” rules with an OK / soon / overdue status and a due date predicted from riding pace, push and e-mail reminders, a parts inventory, receipt reading (server-side OCR), a PDF bike report with a QR code.
  • Training — FIT, GPX and TCX import, intervals.icu sync, power and heart-rate zones, NP / IF / TSS, fitness and fatigue (CTL / ATL / TSB), recovery from HRV and sleep — based on explicit rules, no AI models.
  • Routes and weather — an OpenStreetMap route planner with an elevation profile, weather along the route at the time you ride it, a rain radar; a finished ride links itself to the plan.
  • Family — every family is a separate, isolated data space with roles; kids’ profiles without a login.

How I built it

Server-rendered pages in FastHTML, partial updates with HTMX — no SPA framework and no JavaScript build step. Domain logic (service status, predictions, training metrics) is kept apart from the views. Data lives in SQLite through SQLAlchemy 2 with Alembic migrations, background jobs run in APScheduler, and a Service Worker keeps pages and a write queue in IndexedDB, so the app works offline.

Delivery: GitLab CI runs the tests and builds a Docker image, the server pulls the tagged version, nginx with Let’s Encrypt sits in front. Every night a database backup with an automatic restore test, plus an encrypted off-site copy.

Security from day one: a strict Content-Security-Policy with no inline scripts, scrypt password hashes, login rate limiting, GPS stripped from photos, a non-root container, and tests for data isolation between families.

How I work

I run the project on my own, end to end: from requirements to maintenance. I develop it with an AI assistant (Claude Code) as a tool — decisions about features and architecture, the review of every change and testing on real devices (360, 430 and 1280 px, light and dark) stay with me.

Result: the app runs in production and is used every day.

From the app

A bike: odometer, service status and predicted due dates
A bike: odometer, service status and predicted due dates
Fitness, fatigue and recovery from watch data
Fitness, fatigue and recovery from watch data
Bike view on a phone
Bike view on a phone

Screenshots from the demo — sample data.

Next project

Budget