EggNet Monitor
Monitoring of the Chest Mimic familiar's DNA Lab contents in the MMORPG, Kingdom of Loathing. It was written by @Semenar and converted to TypeScript by @gausie.
Setup
Prerequisites
- Node.js 22+
- Postgres database
- Kingdom of Loathing account with a Chest Mimic
Installation
- Install dependencies:
- Copy the environment template and configure:
- Edit
.envfile with your credentials:KOL_USERNAMEandKOL_PASSWORDto login to the Kingdom of LoathingDATABASE_URLpointing to your Postgres databasePORT(optional, defaults to 3000)
Running
Development
Production
Updating Data
To fetch the latest egg donation data from Kingdom of Loathing:
This can be scheduled to run periodically using cron or similar.
API Endpoints
GET /- Main monitor pageGET /status- JSON API returning egg status data