Please note: this project is no longer maintained
Öffisearch is a progressive web app for querying public transport information for the DB (and in the future BVG and nah.sh) networks. A hosted version of Öffisearch is available at oeffisear.ch.
This repository consists of multiple modules, which are more or less independent. The HAFAS backend
src/backend/hafas can be used to query the HAFAS mgate.exe endpoint directly. The cache and webserver modules allow serving an HTTP API. A unique id is generated for each request, so that the data can be requested again at a later time.
- Install the nim compiler >=1.0.4 and nimble language package manager from your distribution's package repositories.
nimble run oeffisearch
nix-shell, to set up the Öffisearch development server using the Nix package manager.