Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/julianoes/olms
- Owner: julianoes
- License: apache-2.0
- Created: 2019-11-10T11:24:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-19T07:49:42.000Z (about 4 years ago)
- Last Synced: 2024-10-30T02:43:05.426Z (3 months ago)
- Topics: departure-board, elm, elm-lang, kiosk, kiosk-software, raspberry-pi, rpi, trains
- Language: Elm
- Size: 159 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.