Go to file
2023-01-12 17:47:00 +01:00
client Update ds100 js 2023-01-12 17:47:00 +01:00
docker [docker] fix timezone in container and added docker-compose file 2020-02-11 18:23:45 +01:00
src rename hafas.nim depencency to nimhafas 2021-03-13 20:06:02 +01:00
.gitignore add flake.nix 2022-12-10 18:07:10 +01:00
default.nix add hydra ci 2020-02-20 00:27:52 +01:00
docker-compose.yml [docker] fix timezone in container and added docker-compose file 2020-02-11 18:23:45 +01:00
ds100.js new shitty design 2020-06-12 14:49:54 +00:00
ds100.json fix TS 2021-04-12 14:20:15 +02:00
ds100reverse.json fix TS 2021-04-12 14:20:15 +02:00
flake.lock add flake.nix 2022-12-10 18:07:10 +01:00
flake.nix update dependency: nimhafas 2023-01-11 22:37:54 +01:00
LICENSE first public release 2020-02-07 14:09:42 +01:00
nim.cfg foo 2020-07-11 15:26:11 +02:00
oeffisearch.nimble rename hafas.nim depencency to nimhafas 2021-03-13 20:06:02 +01:00
package.json new shitty design 2020-06-12 14:49:54 +00:00
README.md first public release 2020-02-07 14:09:42 +01:00
release.nix add hydra ci 2020-02-20 00:27:52 +01:00
shell.nix shell.nix: nimble -> nim 2020-07-20 21:27:48 +02:00
yarn.lock new shitty design 2020-06-12 14:49:54 +00:00

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