You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Milan 8b370d277d add train type information to journeysView 4 months ago
client add train type information to journeysView 4 months ago
docker [docker] fix timezone in container and added docker-compose file 11 months ago
src add short train types 4 months ago
.gitignore new shitty design 7 months ago
LICENSE first public release 11 months ago
README.md first public release 11 months ago
default.nix add hydra ci 11 months ago
docker-compose.yml [docker] fix timezone in container and added docker-compose file 11 months ago
ds100.js new shitty design 7 months ago
ds100.json new shitty design 7 months ago
ds100reverse.json new shitty design 7 months ago
nim.cfg foo 6 months ago
oeffisearch.nimble first public release 11 months ago
package.json new shitty design 7 months ago
release.nix add hydra ci 11 months ago
shell.nix shell.nix: nimble -> nim 6 months ago
yarn.lock new shitty design 7 months ago

README.md

Öffisearch

Ö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.

Development

  • Install the nim compiler >=1.0.4 and nimble language package manager from your distribution's package repositories.
  • Run nimble run oeffisearch

Or nix-shell, to set up the Öffisearch development server using the Nix package manager.

Attribution

Thanks a lot to Jannis Redmann for his work on hafas-client. While Öffisearch does not use any code from hafas-client, it borrows a lot of the concepts and knowledge about the HAFAS APIs.