Skip to content

MartinLangbecker/mav.guru

 
 

Repository files navigation

mav.guru

This project aims to copy bahn.guru and adapt it to the price API of Magyar Államvasutak (MÁV, Hungarian State Railways).

ISC-licensed Contact me

Screenshot of bahn.guru:

bahn.guru

Installation

This project uses pnpm as a package manager. If you already have npm, you can install pnpm by running:

npm install -g pnpm

Then, in the root directory of this project, run:

pnpm install

// on Windws systems, run:
pnpm run build-windows

// otherwise, run:
pnpm run build

Usage

You can start the software by running:

// on Windws systems, run:
pnpm run start-windows

// otherwise, run:
pnpm run start

It will be served to localhost:3000 which you can open in your favorite browser.

TODOs

  • improve shop link
  • optimize search time by passing parameters for departure & arrival time & max. changes
  • add additional discount cards (see mav-prices)
  • fix formatting for start & end time (add colon if missing)
  • search form: show loading indicator on submit

See also

  • mav-prices – Find journey prices using the MAV API.
  • travel-price-map – Map of low-cost tickets ("Sparpreise") for several european cities

Contributing

If you found a bug or want to propose a feature, feel free to visit the issues page.

Languages

  • JavaScript 79.0%
  • CSS 20.6%
  • Dockerfile 0.4%