How charans1089-bit/ethanolfuelmixcalculator works
SCRK is a browser-based flex-fuel calculator and seasonal blend planner for the FA24 WRX. The main user workflow is to enter fuel and tank details, calculate an E85/93 blend, and save fill telemetry locally; the planner supports seasonal recommendations, calendar tracking, compliance, and achievements. The app also offers fuel/weather lookups, a synthesized sound experience, and data exports. Edges reflect README statements and shown source; the worker’s weather-provider details and some UI wiring were not sampled.
Main entry points: fuel-worker.js Fuel Proxy · app.js Blend Engine · index.html Calculator UI · blend-planner.html Planner UI
Components 14
Blend Calculator
- Calculator UI
index.html - Blend Engine
app.js - Fill Telemetry
app.js - Browser Storage
Seasonal Planner
- Planner UI
blend-planner.html - Planner Logic
blend-planner.js - Planner Exports
blend-planner-export.js
External Data
- Fuel Proxy
worker/fuel-worker.js - Weather API
- Fuel Price API
- NLR Stations
- Overpass Stations
Additional Features
- Sound Engine
sound-engine.js
Other components
- Driver
Connections 14
- Driver → Calculator UI: enters fuel data
README.md - Calculator UI → Blend Engine: uses calculator
README.md - Blend Engine → Fill Telemetry: saves fills
app.js - Blend Engine → Browser Storage: persists state
README.md - Driver → Planner UI: opens planner
README.md - Planner UI → Planner Logic: uses planner
blend-planner.js - Planner Logic → Browser Storage: stores planner data
blend-planner.js - Driver → Planner Exports: exports data
- Blend Engine → Fuel Proxy: requests live data
README.md - Fuel Proxy → Weather API: fetches weather
README.md - Fuel Proxy → Fuel Price API: fetches prices
README.md - Fuel Proxy → NLR Stations: queries stations
worker/fuel-worker.js - Fuel Proxy → Overpass Stations: queries stations
worker/fuel-worker.js - Driver → Sound Engine: plays synthesis