# BetterBahn/betterbahn

BetterBahn is an open-source project that aims to improve the train travel experience in germany. The current focus is on split-ticketing. However, further functions are planned to follow in the future.

Repository: https://github.com/BetterBahn/betterbahn
Canonical: https://ross.abutalabs.com/products/betterbahn
Homepage: https://betterbahn.de
Language: TypeScript
License: AGPL-3.0
License Family: copyleft
Topics: deutsche-bahn, open-source, railway
Last push: 2026-08-21T09:53:09+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 27
- inputs: {"age_days": 383, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2529, forks 186 (observed 2026-08-28T04:06:58.747124+00:00)

## What it is
BetterBahn is an open-source Next.js web app for finding train journeys in Germany, with a focus on split-ticketing to help users save money on Deutsche Bahn fares. It uses the db-vendo-client to access Deutsche Bahn ticketing data and is designed to be self-hosted locally.

## Use cases
- find cheaper train tickets in germany via split ticketing
- search deutsche bahn journeys from home server
- self-host a train journey planner
- save money on german rail travel
- compare split ticket prices for bahn routes

## When to choose
- you want to reduce Deutsche Bahn ticket costs with split-ticketing
- you can run the app locally on a residential IP to avoid API blocking
- you prefer an open-source, self-hosted journey planner

## When to avoid
- you need a hosted public website (none is officially available due to API blocking and legal concerns)
- you plan to serve many simultaneous users from cloud IPs, which Deutsche Bahn blocks
- you need features beyond journey search and split-ticketing, which are still planned

## Facets
- artifact type: application
- maturity: active
- function: web-framework, web-scraping, search-engine, self-hosted
- domain: travel, web-development
- platform: self-hosted, cross-platform
- tags: split-ticketing, deutsche-bahn, train-travel, journey-planner, nextjs, ticket-savings, germany, automation, nodejs, docker, web-server

## Member repositories
- BetterBahn/betterbahn (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.747124+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:21.723162+00:00, confidence not recorded.
  - readme: https://github.com/BetterBahn/betterbahn (fetched 2026-08-28T04:06:58.747124+00:00, sha 198dc138e9bd)
  - homepage: https://betterbahn.de (fetched 2026-08-29T10:07:58.451101+00:00, sha f7bd9f743d4b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
