Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/julianoes/olms

My own Olten departure table in Elm
https://github.com/julianoes/olms

departure-board elm elm-lang kiosk kiosk-software raspberry-pi rpi trains

Last synced: about 1 month ago
JSON representation

My own Olten departure table in Elm

Awesome Lists containing this project

README

        

# olms

My own Olten departure table in Elm

Build it:
```
elm make src/Main.elm --output=main.js
```

Deploy it:
```
scp index.html styles.css main.js pi@:
```

Developed with elm 0.19.1.

The API used is: https://timetable.search.ch/api/help#stationboard

![Screenshot of departure table](screenshot.png)

## Kiosk mode for Raspberry Pi

Instructions to enable the kiosk mode on a Raspberry Pi using chromium.

1. Install requirements: `sudo apt-get install xdotool unclutter sed chromium-browser`.
2. Copy [kiosk.sh](kiosk/kiosk.sh) to `/home/pi/kiosk.sh`.
3. Copy [kiosk.service](kiosk/kiosk.service) to `/lib/systemd/system/kiosk.service`.
4. Start kiosk service: `sudo systemctl start kiosk.service`.
5. Enable kiosk service: `sudo systemctl enable kiosk.service`.