Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

quiode/Stationboard

Repository files navigation

Stationboard

Custom SBB Stationboard using the search.ch API

Url Params

  • title
    • Optional, the title of the board
  • stationx
    • x is a number from 1-10, denoting the station

Example

http://localhost?title=Departure&station1=Bern&station2=Luzern

Startup command

firefox --kiosk --new-window "http://localhost:5173?station1=Zürich"

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build

Lint with ESLint

pnpm lint

About

Custom SBB Stationboard using the search.ch API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors