How nin-jat/beans-wheels works
This repository combines a BeamNG wheel-data asset, a Node.js catalog post-processor, and a static browser catalog. The browser workflow loads its JSON catalog, then lets users browse wheels by brand or size, search names, and open wheel details with tire information. The ingest script parses game data and wheel images into a generated JSON structure, but its output is named output.json while the web app fetches web/wheels.json; the available evidence does not establish how those datasets are connected. The BeamNG and HTML files were not sampled, so their internal behavior is not inferred.
Main entry points: script.js Browse and details · ingest.js Catalog ingester · index.html Catalog page · wheels.json Browser catalog data
Components 9
Game assets
- Wheel definitions
beamng/wheels.lua
Catalog processing
- Catalog ingester
post-processor/ingest.js - Generated catalog
Wheel browser
- Browser catalog data
web/wheels.json - Catalog page
web/index.html - Browse and details
web/script.js - Wheel images
web/wheels
Other components
- Catalog visitor
- Game data and images
Connections 6
- Game data and images → Catalog ingester: reads data and images
post-processor/ingest.js - Catalog ingester → Generated catalog: writes JSON
post-processor/ingest.js - Catalog visitor → Browse and details: browses catalog
- Browse and details → Browser catalog data: fetches JSON
web/script.js - Browse and details → Wheel images: references images
web/script.js - Catalog page → Browse and details: provides page elements
web/script.js