Skip to content

Minarox/RaceCast

Repository files navigation

RaceCast

Website version  Project license  Code size  Website status

Web interface for the RaceCast project to broadcast live data from a rally car.
rallye.minarox.fr »


Table of Contents

About

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.

Build With

Getting Started

Prerequisites

  • NodeJS 20.x or higher
  • npm 7.x or higher

Installation

  1. Clone the project
  git clone https://github.com/Minarox/RaceCast
  cd RaceCast
  1. Install dependencies
  npm install
  1. 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"
  1. Start the server
  npm run dev

The development server should start on localhost:4321.

Deployment

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.

Author

@Minarox