No description
  • Rust 57.7%
  • Shell 26.4%
  • JavaScript 15.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Milton Lizardo b4d44bb7da carrera 0.1.6: restart when the page loaded without internet
Started before the network is up (first login after power-on, slow links) the page
loads without the vendor's scripts and styles and stays white for good. The shim now
reports the first vendor script or stylesheet that fails to load; a watchdog then
probes the vendor hosts and restarts the app as soon as they answer. Fallback: no
race requested for 10 minutes.
2026-11-23 10:09:11 -04:00
dist carrera 0.1.4: race TV screen on Tauri, with self-update and single instance 2026-11-17 20:49:25 -04:00
empaque carrera 0.1.5: complete package with the videos inside 2026-11-18 21:28:07 -04:00
icons carrera 0.1.4: race TV screen on Tauri, with self-update and single instance 2026-11-17 20:49:25 -04:00
src carrera 0.1.6: restart when the page loaded without internet 2026-11-23 10:09:11 -04:00
.gitignore carrera 0.1.4: race TV screen on Tauri, with self-update and single instance 2026-11-17 20:49:25 -04:00
build.rs carrera 0.1.4: race TV screen on Tauri, with self-update and single instance 2026-11-17 20:49:25 -04:00
Cargo.lock carrera 0.1.6: restart when the page loaded without internet 2026-11-23 10:09:11 -04:00
Cargo.toml carrera 0.1.6: restart when the page loaded without internet 2026-11-23 10:09:11 -04:00
README.md carrera 0.1.4: race TV screen on Tauri, with self-update and single instance 2026-11-17 20:49:25 -04:00
tauri.conf.json carrera 0.1.6: restart when the page loaded without internet 2026-11-23 10:09:11 -04:00

carrera

Race TV screen (dogs8 tripleta) on Tauri 2, Linux x86_64. The page and its logic load live from the game vendor; this program supplies a local server on 127.0.0.1:3000 with the race videos and a frameless fullscreen window.

Install

As the user that shows the screen, no sudo:

tar xzf carrera-<ver>-linux-x86_64.tar.gz
sh carrera/instalar.sh --datos DIR --autostart

--datos DIR copies the data folder (index.html + assets/, the race videos) once; it is not part of the package or of the updates. Dependencies: webkit2gtk-4.1 gtk3 gst-plugins-base gst-plugins-good.

Settings

~/.config/com.nativosoft.carrera/screenConfig.json, read at start:

{"screen": 1, "music": true, "sound": true}
  • screen: monitor number, from 1.
  • music: false silences the background music only.
  • sound: false silences everything.

Updates

~/.local/opt/carrera/actual/actualizar.sh follows the releases of this repo (SHA256 checked). The launcher runs it at every start and the app every 6 hours; the app restarts itself into a new version between two races. Only one instance runs per user.

Build

cargo test && ./empaque/empacar.sh     # target/empaque/carrera-<ver>-linux-x86_64.tar.gz + SHA256SUMS
./empaque/publicar.sh                  # release on Forgejo from that package