Mithunjack / kiel-live

This app allows you to view live updates of bus arrivals.

Home Page:https://kiel-live.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kiel-live

This app allows you to view Kiels public transport (busses, bus-stops) in realtime.

Docker Build Linting Docker layers

Docker stats

Features

  • View realtime bus positions and bus-stops on map
  • Get realtime information (route, direction, eta) of bus arrivals of a specific bus-stop
  • Add bus-stops to favorites
  • View trip stops of a bus

Screenshots

Screenshot

Development

Structure

The project contains following parts:

  • app/: A PWA written with Vue3
  • android-app/: A native android app wrapper of the PWA
  • collectors/*: Multiple agents to scrape data from different apis
  • nats/: The NATS server used as message broker to stream data from collectors to the PWA clients

Gitpod

Open in Gitpod

PWA development

Copy the .env.sample file to .env. For the PWA development you only need to set VITE_NATS_URL. You can set it to wss://api.kiel-live.ju60.de/ to use the production server so you don't need to start your own backend (nats & collectors).

cd app/
pnpm install # install dependencies
pnpm start # start the PWA

Nats & collectors development

Nats is the message broker used to bring data from the collectors to the PWA clients.

To start Nats simply copy the .env.sample file to .env, adjust as needed and run docker-compose up -d.

About

This app allows you to view live updates of bus arrivals.

https://kiel-live.github.io

License:GNU Affero General Public License v3.0


Languages

Language:Vue 37.2%Language:Go 33.2%Language:TypeScript 14.1%Language:Java 7.8%Language:JavaScript 4.2%Language:HTML 3.0%Language:Dockerfile 0.3%Language:Shell 0.2%