Applied energistics 2 viewer on a website
MPL-2.0 License
The goal of this project is to be able to see the contents of an Applied Energistics 2 (Minecraft mod) inventory through a website.
/iconexporter export
(in singleplayer, not on a physical server) to export the iconsinput
reorder.py <path_to_your_minecraft_folder>
script, which will organise the textures in the textures
folder.textures
folder to the server (hint: compress it for faster transfer)docker compose --profile app up
server.py
script (as a background program, with say tmux
or screen
) with gunicorn -b 0.0.0.0:5000 server:app
(Don't use the flask default development server, for me it caused memory leaks due to creating a thread per request for some reason){world}/serverconfig/computercraft-server.toml
, set enabled
to true
in the http
sectionhost = "$private"
. Click here for more info
screenshot from the modpack ATM9
{world}/computercraft/computer/{id}
or upload it on pastebin)flowchart TD
subgraph Server
webserver[Python webserver]
db[InfluxDB]
subgraph Minecraft
AE
CC[CC:Tweaked script]
CC -->|Requests data| AE
end
CC -->|Sends data| webserver
webserver -->|Sends data| db
grafana[Grafana]
grafana -->|Requests data| db
end
user[User]
user -->|Requests inventory HTML| webserver
user -->|Requests stats HTML| grafana
Legend: Arrows going from A to B (A->B) means that A sends a request to B. It sends nothing about which way the data transits, it could go from A to B or B to A
Because