CodeDAO-org

CodeDAO Extension & Reddit Bot

CodeDAO - Earn cryptocurrency by coding

🤖 Reddit Bot Setup

Quick Start

  1. Create .env file (never commit this): ```bash

    Reddit bot credentials

    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

Bot config

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

Features

Deployment Options

Local Development

python reddit_bot/bot.py  # Full bot with scheduling
docker-compose -f docker-compose.reddit.yml up -d

Cloud Platforms

Bot Configuration

Make sure u/CodeDAOAgent is a moderator of r/CodeDAO for:

Development

📱 Extension Features