This project enables real-time monitoring of Minecraft factories by combining ComputerCraft computers with a modern web stack. The system consists of three main components:
ComputerCraft computers are placed within your Minecraft factory to monitor various metrics such as item counts, energy levels, and machine status.
A Go server acts as a relay between the ComputerCraft computers and the web interface, handling real-time data transmission using WebSockets.
The Next.js frontend provides a real-time visualization of your factory metrics with charts, graphs, and status indicators.
The diagram above illustrates the system's data flow:
Ensure ComputerCraft or CC: Tweaked is installed in your Minecraft modpack.
Clone the repository and run the Go server on your machine or a hosted environment.
Place computers in your factory and upload the monitoring scripts. Configure the WebSocket endpoint in the Lua scripts.
Open the web dashboard and connect it to your relay server to start monitoring your factory in real-time.