BetterBahn is a web app for finding the best train journeys in Germany. While split ticketing is supported to help save money, it is rather the exception. The app will be extended with many more features in the future.
This project uses the db-vendo-client for accessing Deutsche Bahn ticketing data, which is licensed under the ISC License.
This is not an official repository or project of Deutsche Bahn AG. It is an independent project and not affiliated with or endorsed by Deutsche Bahn. To use this code or the db-vendo-client permission from the Deutsche Bahn AG is necessary.
To run the project locally:
- Clone the repository
- Install dependencies with
npm install - Start the development server with
npm run dev
You can also build and run BetterBahn as a Docker container. A Dockerfile is included in the repository.
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International Public License (CC BY-NC 4.0). See the LICENSE file for details.
Join the Discord community to ask questions, share feedback, and connect with other users and contributors.
Want to contribute? Please read the Code of Conduct and see the Contributing Guide for details on how to get started.
BetterBahn searches for train journeys and can use split ticketing to help you find cheaper options—though this is usually the exception, not the rule. For a detailed explanation and demonstration, check out the YouTube video.
Created by Lukas Weihrauch.
If you like what I do, consider supporting me: ko-fi.com/lukasweihrauch
Made with ❤️ for train travelers in Germany.