FastAPI backend (SQLite + APScheduler), Vue 3 frontend, MCP server for Claude integration, and Docker Compose stack. Includes campaign data model (campaigns → variants → subs), post history, sub rules, and Playwright-based Reddit posting layer migrated from claude-bridge/reddit-poster. Also seeds legacy campaigns (6) and sub rules (14) from reddit-poster history. Closes #1 (scaffold), resolves migration from claude-bridge.
23 lines
538 B
Text
23 lines
538 B
Text
# Magpie — environment config
|
|
# Copy to .env and fill in values.
|
|
|
|
# Reddit credentials (for Playwright-based posting)
|
|
REDDIT_USERNAME=
|
|
REDDIT_PASSWORD=
|
|
|
|
# Path to system Chrome binary (xvfb posting)
|
|
CHROME_BIN=/usr/bin/google-chrome
|
|
|
|
# API server
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8532
|
|
DEBUG=false
|
|
|
|
# Database location (default: ~/.local/share/magpie/magpie.db)
|
|
# DB_PATH=/path/to/magpie.db
|
|
|
|
# Session file location (default: ~/.local/share/magpie/session.json)
|
|
# REDDIT_SESSION_FILE=/path/to/session.json
|
|
|
|
# APScheduler
|
|
SCHEDULER_ENABLED=true
|