|
1 year ago | |
---|---|---|
client | 1 year ago | |
docker | 2 years ago | |
src | 1 year ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
default.nix | 2 years ago | |
docker-compose.yml | 2 years ago | |
ds100.js | 2 years ago | |
ds100.json | 1 year ago | |
ds100reverse.json | 1 year ago | |
nim.cfg | 2 years ago | |
oeffisearch.nimble | 1 year ago | |
package.json | 2 years ago | |
release.nix | 2 years ago | |
shell.nix | 2 years ago | |
yarn.lock | 2 years 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.