CodeDAO - Earn cryptocurrency by coding
.env file (never commit this):
```bash
REDDIT_CLIENT_ID=7uuV_XZZzibq9VOWjYr… # from “App ID” on the app page REDDIT_CLIENT_SECRET=YOUR_LONG_SECRET_HERE # from “secret” on the app page REDDIT_USERNAME=CodeDAOAgent # the bot account REDDIT_PASSWORD=**** # the bot account password REDDIT_USER_AGENT=CodeDAO Bot v1.0 by u/CodeDAOAgent
REDDIT_SUBREDDIT=CodeDAO # change to your subreddit
2. **Install and test**:
```bash
# Automatic setup
./setup_reddit_bot.sh
# Manual setup
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python bot.py # Simple test
python reddit_bot/bot.py # Full bot with scheduling
docker-compose -f docker-compose.reddit.yml up -d
Make sure u/CodeDAOAgent is a moderator of r/CodeDAO for:
bot.py: Simple test scriptreddit_bot/bot.py: Full automation systemrequirements.txt: Python dependenciesDockerfile.reddit-bot: Container setup