SELF-HOST EDITION · VERSION 0.0.3AT
Run ARK Bot on your own server
Run ARK Bot with your own Discord application, database and optional AI provider. Your server settings remain under your control.
Compiled · Node.js >=22.0.0 · one dependency install
Full TypeScript source · build locally with Node.js >=22.0.0
Requirements
- Node.js >=22.0.0, npm and a reachable MongoDB service.
- A Discord application, bot token and client ID, configured by the operator.
- Outbound HTTPS access when using optional AI features.
Run the ready-to-run archive
- Extract
tar -xzf ARK-Bot-selfhost-0.0.3AT.tar.gzcd ark-bot-selfhost - Install runtime dependencies
npm ci --omit=devAlready compiled: no TypeScript build step, no dev dependencies.
- Configure
cp .env.example .envSet Discord and MongoDB credentials in your local environment file.
- Register commands
npm run deploy:commandsRegisters commands for your Discord application.
- Run
npm startUse
/settingsin your Discord server to configure modules.
Build the source archive
- Extract
tar -xzf ARK-Bot-source-0.0.3AT.tar.gzcd ARK-Bot/bot - Install and compile
npm cinpm run typechecknpm run build - Configure
cp .env.example .env - Register and run
npm run deploy:commandsnpm start
From a full source checkout you can also run ./scripts/buildStart.sh in the repository root instead of doing the install, build and run steps by hand: it builds and then starts the bot and the website together, and ./scripts/buildStart.sh bot (or web) targets one of them. Run npm run deploy:commands once per Discord application first, because the scripts never register commands for you.
Neither archive contains credentials. Availability requires the matching release SHA-256 manifest.
Need setup help? See self-host troubleshooting.
Full configuration guide