Repository navigation
Install Binaries
The Releases page has one standalone program per platform. You do not need Bun, Node.js or Docker to run it.
| Your system | File |
|---|---|
| Linux, 64-bit Intel/AMD | nationdex-bot-linux-x64.tar.gz |
| Linux, ARM 64-bit (Raspberry Pi 4/5, many servers, Termux) | nationdex-bot-linux-arm64.tar.gz |
| macOS, Apple Silicon (M1 and newer) | nationdex-bot-darwin-arm64.tar.gz |
| macOS, Intel | nationdex-bot-darwin-x64.tar.gz |
| Windows, 64-bit | nationdex-bot-windows-x64.zip |
Also download SHA256SUMS.txt.
Plain Termux cannot run these binaries. On Android use Proot-Distro.
Linux or macOS:
sha256sum -c SHA256SUMS.txt --ignore-missingEvery file you downloaded must say OK. On macOS use shasum -a 256 -c SHA256SUMS.txt --ignore-missing.
Windows PowerShell:
Get-FileHash .\nationdex-bot-windows-x64.zip -Algorithm SHA256Compare the hash with the matching line in SHA256SUMS.txt.
Linux or macOS:
mkdir -p ~/nationdex && cd ~/nationdex
tar -xzf ~/Downloads/nationdex-bot-linux-x64.tar.gz
chmod +x nationdex-bot-linux-x64Windows: right-click the zip, Extract All..., into a folder such as C:\nationdex.
Each archive is self-contained. Extract it into a new empty folder. It contains:
| Item | Purpose |
|---|---|
| the program |
nationdex-bot-<platform> (.exe on Windows) |
skia.*.node, gifsx.*.node
|
Native libraries for card images and GIFs. Keep them next to the program |
assets/ |
Card backgrounds, fonts and icons |
website/dist/ |
The built admin panel |
deploy/ |
Optional Nginx and Ngrok configs (Nginx Guide, Ngrok Guide) |
.env.example |
Template for your settings |
Then create your settings file:
cp .env.example .env
nano .env # fill in TOKEN and HOME_GUILD_IDNot included: assets/spawn_art and assets/window_art (the nation artwork). Without art a nation cannot spawn. Add your own files, or upload them from the admin panel. On start the bot prints errors that these two folders are missing until you create them.
./nationdex-bot-linux-x64Windows: nationdex-bot-windows-x64.exe from a terminal in that folder.
The program reads .env from the folder you start it in. Start it from the same folder every time.
Next: Configuration and then Hosting to keep it running.