Skip to content
프로젝트

소개

BetterBahn은 독일의 기차 여행 경험을 개선하는 것을 목표로 하는 오픈 소스 프로젝트입니다. 현재는 분할 승차권 구매에 중점을 두고 있으며, 앞으로 더 많은 기능을 추가할 예정입니다.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+10
in 15 days
+8
in 1 month
+8

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

BetterBahn

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. You can find out more about the project on our website.

[!WARNING] It seems like Deutsche Bahn has introduced a change that prevents Betterbahn from working. This causes the error ENOTFOUND app.vendo.noncd.db.de. See https://github.com/BetterBahn/betterbahn/issues/225 for more details.

Technology

This project uses the db-vendo-client for accessing Deutsche Bahn ticketing data, which is licensed under the ISC License.

Legal Notice

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.

Getting Started

Prerequisites

To run the project locally

  1. Clone the repository and navigate to the folder

    git clone https://github.com/l2xu/betterbahn.git
    cd betterbahn
    
  2. Install dependencies with pnpm install

    You can install pnpm via corepack (included with Node.js):

    corepack enable
    corepack prepare pnpm@latest --activate
    

    or via npm:

    npm install -g pnpm@latest-10
    

    then run pnpm install in the project directory.

  3. Start the development server with pnpm run dev and navigate to http://localhost:3000 in your browser.

Docker

You can also build and run BetterBahn as a Docker container. A Dockerfile is included in the repository.

Docker Compose

You can run the app with docker compose:

Default/Development

docker compose -f docker-compose/docker-compose.yaml --project-directory=./ up -d

http://localhost:3000

Installation Guides

For detailed installation instructions on different platforms please refer to the Wiki

License

This project is licensed under the AGPL-3.0-only. See the LICENSE file for details.

Community and Contribution

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.

How it works

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.

About the Author

Created by Lukas Weihrauch.


Made with ❤️ for train travelers in Germany.

관련 프로젝트 살펴보기

불러오는 중…