Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 879 Bytes

File metadata and controls

26 lines (16 loc) · 879 Bytes

TKO-äly info screen

A simple info screen to show on student room's television.

Displays information about upcoming events as well as Unicafe menus.

Production version is live at https://info.tko-aly.fi.

Development

git clone https://github.com/TKOaly/info-screen.git
cd info-screen
npm install
npm run dev

To set up the correct environment variables, rename .env.example to .env and fill in your DIGITRANSIT_TOKEN. You can obtain a token by following this guide.

Project structure

Slides are defined as parallel routes in src/app/(infoscreen)/layout.tsx

Slides refetch intervals are defined in src/app/RefetchIntervals.tsx

Server side functions for fetching slide data are defined in src/server