This is a small website that displays data from the Farming Simulator mod in real-time.
server/: Node.js Express server with Socket.IO and file watcher.client/: React + Vite + TypeScript + Tailwind CSS frontend.
- Make sure you have Node.js installed.
- From the
dashboarddirectory, install dependencies:npm install cd client npm install - Run the dashboard (both server and client):
npm run dev
The server watches the examples/xml/combine.xml file (default) and emits the parsed JSON data over WebSockets whenever the file changes. The frontend connects to the WebSocket and updates the UI (gauges, bars, etc.) in real-time.