Victor Østergaard Nielsen Visit project

BilligtFrem

Journey planner comparing train, coach, ferry and flight prices across Denmark.

2026-Now SvelteKitMapLibre GLDockerOpenTelemetry
BilligtFrem screenshot
BilligtFrem screenshot
BilligtFrem screenshot
BilligtFrem screenshot
BilligtFrem screenshot

BilligtFrem is a journey planner for travelers in Denmark. Getting around the country can mean choosing between a train, a coach, a ferry or a short domestic flight, each from a different operator with its own site and prices. Comparing them means searching each one, joining connections by hand and adding up the fees yourself.

One search on BilligtFrem checks up to ten providers, including walking and driving, combines them into door-to-door routes and ranks them as Cheapest, Best and Fastest on total price, including every mandatory charge it knows of. It’s VOA’s own product, which I build together with Aske Gudmand-Høyer. Aske owns the provider integrations, route engine and pricing.

What I did

  • Built the MapLibre route map, where each result draws itself leg by leg from origin to destination, estimated paths are dashed and flights show a plane on the line
  • Built most of the search and results UI, including a desktop redesign with filters, sort tabs and route pages
  • Set up self-hosted OSRM routing for Denmark in Docker, with PR preview deploys and OpenTelemetry tracing

Design choices

Flight paths from recorded flights. Flight legs on covered airport pairs approximately follow a real flight: the medoid per route and direction from ADS-B Exchange’s monthly sample data, simplified with Douglas–Peucker. The tracks are static, so a new city pair draws as a fallback arc until one is added.

One animation clock per route. Results stream in, so each route gets its own start time. Late arrivals animate in while routes already on the map stay put when the ranking or selection changes. Reduced motion skips the animation.

Routing graphs baked into images. The car, bicycle and foot graphs are prepared when the Docker image is built, so containers start serving at once and the healthcheck runs real routes on all three. The cost is that fresh OpenStreetMap data needs an image rebuild.

Only searched prices. Every price is the route total for all travelers, never a per-person figure multiplied up. Popular trips and other departures show no price until they’ve been searched.

SvelteKit TypeScript MapLibre GL Tailwind CSS Docker OSRM OpenTelemetry