Tracks the status of your AE2 system in real time.
- CPU crafting status
- Item/fluid history
Credit to Niels for some of the AE2 related OC code
Credit to DylanTaylor1 for the setup script
I haven't tested setting this up a second time, you will probably encounter issues following the setup, sorry
- Tier 3 Computer Case
- Tier 3 Hard Disk Drive
- Tier 2 CPU (MINIMUM)
- Tier 2 Memory (Recommended 2x Tier 3.5 Memory)
- Tier 1 Graphics Card
- Tier 1 Screen (MINIMUM)
- Inventory Controller Upgrade
- Keyboard
- Internet Card
- TPS Card
- EEPROM (Lua BIOS)
- OpenOS Floppy Disk
- 2 Adapter (maybe 1 is enough)
- Chest (Compressed chest is best)
All crafting CPUs must have a Crafting Monitor, or their craft information cannot be read.
- Create a new project on Supabase
- Copy the contents of
postgres.sql
into the SQL editor - Note the env variables: url, public key, service worker key
npm install
oryarn install
orpnpm install
orbun install
npm run dev
oryarn dev
orpnpm dev
orbun dev
- Copy .env.example to .env.local and fill in the details
NEXT_PUBLIC_SUPABASE_URL
is the url from the Supabase projectNEXT_PUBLIC_SUPABASE_ANON_KEY
is the public key from the Supabase projectSUPABASE_SERVICE_ROLE_KEY
is the service worker key from the Supabase projectSECRET
is a secret that should be set on the server and the OC script (see below) to prevent unauthorized access
- (optional) if OC is on a minecraft server (not your PC) then install
ngrok
and runngrok http 3000
to get a public url for testing
Open http://localhost:3000 with your browser to see the result.
- Build the computer with specs above
- Run
wget https://raw.githubusercontent.com/nzbasic/GTNH-AE2-OC-GOG/main/oc/main/setup.lua && setup
- Copy
env.example.lua
toenv.lua
and fill in the detailsserverUrl
is the url ofsecret
is the secret from the web server
- Place an adapter next to an ME Dual Interface on your AE2 network
- Place a chest ontop of an
Adapter
block with an Inventory Controller Upgrade in it- Any item you put in here (fluid drops for fluids) will be tracked
- Run
Run.lua
to start the program
- Go to vercel.com
- Setup a new project with this repo (or your cloned one)