Web interface for the RaceCast project to broadcast live data from a rally car.
rallye.minarox.fr »
Table of Contents
The RaceCast project is a set of hardware and software solutions enabling a multitude of useful data to be broadcast live to spectators following the race.
This repository contains the Web interface that receives and displays data transmitted from the car, such as the audio/video stream from the onboard camera, and telemetry and GPS data.
- NodeJS 20.x or higher
- npm 7.x or higher
- Clone the project
git clone https://github.com/Minarox/RaceCast
cd RaceCast
- Install dependencies
npm install
- Create
.env
file at the root of the project with these variables:
PUBLIC_LIVEKIT_WS_URL="wss://example.com"
LIVEKIT_KEY="key"
LIVEKIT_SECRET="secret"
LIVEKIT_ROOM="room"
- Start the server
npm run dev
The development server should start on localhost:4321.
The project is configured to be automatically deployed on Cloudflare Pages.
To compile the project locally, run the following command:
npm run build
A new dist
folder will appear containing the entire compiled website.