A single-page React aplication for locally viewing Aperture shader metrics in real-time.
Best for working on the metrics-viewer application directly. Starts a local webserver hosting the viewer application.
- Local: Connect to a running Minecraft + Aperture websocket for actual shader metrics.
- Simulated: Starts a new websocket for generating simulated shader metrics.
Run npm install once first if dependencies are not installed.
- Start Minecraft with Aperture and enable its metrics WebSocket (the default
listener is
ws://127.0.0.1:17866). - Open this directory in IDEA and select Metrics Viewer (Local) from the run-configuration selector. Click Run.
- IDEA starts Vite at
http://127.0.0.1:17868and opens it in your browser.
The shared run configuration runs npm run dev:local. If IDEA has not yet
installed dependencies, run npm install once (or use IDEA's npm tool window).
For a local UI walkthrough without Minecraft, run npm run dev:simulate.
This starts the same interface with a generated metrics stream. Simulation is
enabled only in Vite development mode on localhost and does not affect regular
dev, dev:local, production builds, or the live WebSocket connection. The
top bar labels the data source as SIMULATED.