- Install dependencies:
npm install - Make sure
WS_ENDPOINTin.envpoints to your homectl server - Build the project with
npm run build
npm run dev
npm start
The HSL time schedule card contents are defined in the .env file.
To show multiple cards, separate the entries with a space .
To show multiple stops in a card, separate the stop ids with a comma ,.
Underscores (_) are mapped to empty values for the pattern variable. In these cases, all departures are shown for the given stop.
NEXT_PUBLIC_HSL_CARD_TITLES=Card1 Card2
NEXT_PUBLIC_HSL_STOPS=HSL:1020123,HSL:1020122 HSL:1020120
NEXT_PUBLIC_HSL_PATTERNS=_ HSL:1097N:0:02