Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
Highly flexible all-in-one Discord Bot
GitHub didn't answer, so this is the saved copy from 13 h ago
Will it work on macOS?
SETUP.mdBefore setting up Ataraxia, make sure you have:
bot and applications.commandspostgresql://)postgresql://postgres.[project-ref]:[password]@aws-0-[region].pooler.supabase.com:5432/postgres
createdb ataraxiapostgresql://username:password@localhost:5432/ataraxia
git clone https://github.com/yourusername/ataraxia.git
cd ataraxia/Ataraxia
# Create virtual environment (optional but recommended)
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
# Install dependencies
pip install discord.py python-dotenv asyncpg
Create a .env file in the Ataraxia directory:
# Discord Bot Token
BOT_TOKEN=your_bot_token_here
# Database Connection
DATABASE_URL=postgresql://your_connection_string_here
# AI Features (Optional - for AI commands)
GROQ_API_KEY=your_groq_api_key_here
AI_ENABLED=true
MAX_DAILY_COST=10.0
# Developer ID (for admin commands)
MAIN_DEV_ID=your_discord_user_id
python main.py
You should see:
✅ Loaded extension: cogs.about
✅ Loaded extension: cogs.admin_stats
...
📦 Loaded 20 cogs (0 failed)
Starting bot...
Logged in as YourBotName (id=123456789)
on_ready: Startup completed - bot is now fully ready!
cd api
pip install fastapi uvicorn
# From the api/ directory
uvicorn main:app --reload --host 0.0.0.0 --port 8000
Or run from the Ataraxia root directory:
python -m uvicorn api.main:app --reload --host 0.0.0.0 --port 8000
The API will be available at:
cd dashboard
npm install
Create dashboard/.env.local:
# API Configuration
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_USE_MOCK_DATA=false
# Discord OAuth
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
# NextAuth
NEXTAUTH_SECRET=generate_a_random_secret_here
NEXTAUTH_URL=http://localhost:3000
# Bot Token (for API calls)
DISCORD_BOT_TOKEN=your_bot_token_here
How to get Discord OAuth credentials:
http://localhost:3000/api/auth/callback/discordGenerate NEXTAUTH_SECRET:
openssl rand -base64 32
npm run dev
The dashboard will be available at: http://localhost:3000
/about or /voicexp-requirements view/health endpoint/api/guilds/{your_guild_id}/xp/settingsYou'll need 3 terminal windows running:
Terminal 1 - Discord Bot:
cd Ataraxia
python main.py
Terminal 2 - FastAPI Backend:
cd Ataraxia/api
uvicorn main:app --reload
Terminal 3 - Next.js Dashboard:
cd Ataraxia/dashboard
npm run dev
Error: BOT_TOKEN not found
.env file exists in the Ataraxia directoryBOT_TOKEN=...Error: DATABASE_URL not found
DATABASE_URL to your .env fileError: asyncpg module not found
pip install asyncpgError: Port 8000 already in use
uvicorn main:app --port 8001Error: Can't connect to database
DATABASE_URL in .env is correctError: Cannot find module
npm install in the dashboard directoryError: NEXTAUTH_SECRET is required
.env.local.env.local is in the dashboard/ directoryError: Cannot reach API
NEXT_PUBLIC_API_URL in .env.localNEXT_PUBLIC_USE_MOCK_DATA=trueUsers not getting XP in voice
/voicexp-requirements view to see settingsBot restart issues
If you want to start all components at once, create a start.bat (Windows) or start.sh (Linux/Mac):
Windows (start.bat):
@echo off
start cmd /k "cd Ataraxia && python main.py"
start cmd /k "cd Ataraxia\api && uvicorn main:app --reload"
start cmd /k "cd Ataraxia\dashboard && npm run dev"
Linux/Mac (start.sh):
#!/bin/bash
cd Ataraxia && python main.py &
cd Ataraxia/api && uvicorn main:app --reload &
cd Ataraxia/dashboard && npm run dev &
For production deployment, see:
Production considerations:
Clone the repository
git clone https://github.com/yourusername/ataraxia.git
cd ataraxia/Ataraxia
Install Python dependencies
pip install discord.py python-dotenv asyncpg
Configure environment
cp .env.example .env
# Edit .env with your bot token and database URL
Start the bot
python main.py
For detailed setup instructions, see SETUP.md.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/p1rscher/ataraxia.git cd ataraxia
Python 3
brew install python
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
pip install discord.py python-dotenv asyncpg cp .env.example .env python main.py
No reports for macOS yet.
GitManual AI Agent reads the 2 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.