Skip to content

Simple Czech public transport system departures dashboard

Notifications You must be signed in to change notification settings

chinese-soup/idos-dashboard

Repository files navigation

idos-dashboard

What

Simple web app showing depeartures for your favourite public transport routes.

I've made this specifically to have departures on a Kindle e-ink display, hence the black and white scheme of it, as visible on this screenshot:

Screenshot of the web app

How

The API uses is the CRWS API, more info can be found here: https://crws.docs.apiary.io/

Unfortunately, since 2019 the CRWS API is no longer free for trial inside the Prague transit system, so you will need a valid userID from the API's owners to use this.

This app uses my idospy WIP wrapper as a submodule.

The backend uses Flask and simple HTML template with jinja2 as the templating system.

For the current weather, it uses the OpenWeatherMap API.

Requirements

  • Flask, jinja2 (and their respective requirements)
  • requests
  • idospy
    • the idospy submodule additionally requires dataclass-wizard

Usage

  1. Start from the example configuration file:
$ cp config.example.py config.py
  1. Edit the config file to suit your favourite connections and add a valid userID to the Configuration class of config.py
  2. Run the app
    • using your favourite WSGI-capable HTTP server.
    • alternatively, use the python3 app.py to run it using the development server

About

Simple Czech public transport system departures dashboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published