Make the repo work and read well for a stranger who clones it: - Add MIT LICENSE; drop package.json private/UNLICENSED - Default ngrok to disabled so a fresh clone serves on the LAN with no accounts; ngrok becomes an explicit opt-in - Replace the personal ngrok domain with a placeholder in defaults and example - Neutralize the default tmux session (swyd -> main) - Rewrite README around the browser/LAN happy path; mark the Android app and ngrok as optional, add a clients table and a 60-second quick start - Add INSTALLATION.md (prerequisites, ngrok setup, building the app) - Scrub user-facing "Swyd" wording from docs (auth migration shim kept)
2.2 KiB
Tesla Browser Findings
Measurements came from in-car Airc proof-of-concept tests in June 2026.
Network
Direct local hotspot access failed:
- laptop and phone could open
http://10.204.192.28:8080/ - Tesla could not open the same address
Likely cause: Tesla browser/network routing or policy around private local
addresses, especially 10.0.0.0/8.
Working public-tunnel options:
- Cloudflare TryCloudflare worked.
- ngrok worked and is preferred for now because the assigned free dev domain is reusable as a stable Tesla bookmark.
Browser Capabilities
Observed user agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7339.207 Safari/537.36
Observed normal viewport:
1180 x 919 CSS px
devicePixelRatio: 1
Fullscreen-stretched mode in Park:
1920 x 1089 CSS px
available screen: 1920 x 1200
This is not true fullscreen because the location bar remains visible.
Working APIs:
fetch- repeated HTTP polling
- WebSocket through ngrok
EventSourceexists- cookies
- localStorage
navigator.language was observed as fi.
Rendering
Do not trust system monospace fonts in Tesla.
Results:
- bundled Fira Code renders aligned
- generic
monospaceis not aligned Courier Newstack is not aligned
Therefore terminal text must use the bundled public/fonts/FiraCode-Regular.ttf
font served by Airc.
Confirmed In-Car Behavior
- The viewer stays live while driving.
- Latency is minor and acceptable.
- The CSS cursor is visible and correctly positioned.
- Pane switching from the top pane picker works well.
- A single tmux pane is already useful.
Fit/Sizing Notes
Text sizing is not fully solved.
Observed:
- a quarter-size Konsole window fit well
- a full half-window had too many columns/rows, causing auto-fit to shrink text too much
- raising Konsole font size helped because it reduced the pane's cols/rows
Important conclusion: the main lever is the source tmux pane dimensions, not only browser font scaling.
Candidate directions:
- keep using a deliberately narrow/tall tmux session
- cap target cols/rows
- enable
resizeToViewportafter more testing - add presets for Tesla normal viewport and Park viewport