# =============================================================================
# HELIX MEDIA ENGINE - MASTER CONFIGURATION
# Central credentials for ALL websites (Event Followers, Longevity Futures, Silent-AI, etc.)
# =============================================================================

# =============================================================================
# LLM CONFIGURATION
# =============================================================================

# OpenAI API Key (used by all AI agents)
OPENAI_API_KEY=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

# =============================================================================
# STRIPE PAYMENT CONFIGURATION (One Account for All Websites)
# =============================================================================

# Company: Helix Media Engine
# ABN: 66 926 581 596
# Handles payments for: Event Followers, Longevity Futures, Silent-AI, and ALL future sites

# Stripe API Keys
# Get from: dashboard.stripe.com/apikeys
STRIPE_SECRET_KEY=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
STRIPE_PUBLISHABLE_KEY=pk_live_51SU3UOCiphGKUQpxM5Fe29csLT4OQlNIFIpUDIpeSOdOaU1KBYEPrf9GSiKVjgDtrHhgJZ1KJ2J0Jz5hy5CWOMp200UUVpgi76

# Stripe Webhook Secret
# Get from: dashboard.stripe.com/webhooks
# NOTE: Not needed for testing - only for production deployment
STRIPE_WEBHOOK_SECRET=

# Stripe Price IDs (AI Agent Subscriptions)
# Basic AI Plan: $1.99/month (100 questions across ALL sites)
STRIPE_BASIC_PRICE_ID=price_1SVmthCiphGKUQpxUNTaIW8h

# Unlimited AI Plan: $4.99/month (unlimited questions across ALL sites)
STRIPE_UNLIMITED_PRICE_ID=price_1SVmvJCiphGKUQpxxvVS0F1B

# Event Followers Premium: $4.99/month (chat with The Entity)
STRIPE_EVENTFOLLOWERS_PRICE_ID=price_1SU4vCCiphGKUQpxc9bBkLPa

# =============================================================================
# EMAIL NOTIFICATION CONFIGURATION
# =============================================================================

# Gmail account for sending subscription alerts
# Recommended: Create helixmedia.notifications@gmail.com
NOTIFICATION_EMAIL=simularityone@gmail.com

# Gmail App Password (NOT your regular Gmail password)
# Get from: myaccount.google.com/apppasswords
# 1. Enable 2-Factor Authentication
# 2. Generate App Password
# 3. Copy 16-character password here (no spaces)
NOTIFICATION_PASSWORD=knxiyvriqtwpxoxc

# Where to send alerts (your personal email)
ALERT_EMAIL=paulstephenthompson01@gmail.com

# =============================================================================
# BUSINESS INFORMATION
# =============================================================================

# Company Details
COMPANY_NAME=Helix Media Engine
COMPANY_ABN=66926581596
SUPPORT_EMAIL=support@helixmediaengine.com

# Base URL for payment redirects
# Local testing: http://localhost:5000
# Production: https://helixmediaengine.com or https://askmarket.store
BASE_URL=http://localhost:5000

# =============================================================================
# WEBSITE-SPECIFIC SETTINGS
# =============================================================================

# Event Followers FTP
EVENTFOLLOWERS_FTP_HOST=46.202.183.240
EVENTFOLLOWERS_FTP_USER=u907901430.eventfollowers.com
EVENTFOLLOWERS_FTP_PASS=Eventfollowers1$

# Longevity Futures FTP
LONGEVITY_FTP_HOST=46.202.183.240
LONGEVITY_FTP_USER=u907901430.longevityfutures.online
LONGEVITY_FTP_PASS=Chillyflakes1$

# Silent-AI FTP (needs updating - delete old u559140121 account)
SILENTAI_FTP_HOST=46.202.183.240
SILENTAI_FTP_USER=u907901430.silent-ai.pro
SILENTAI_FTP_PASS=Silent-ai1$

# Empire Enthusiast FTP
EMPIRE_FTP_HOST=82.25.87.24
EMPIRE_FTP_USER=u466610082
EMPIRE_FTP_PASS=Empireenthusiast1$

# =============================================================================
# FREE STOCK IMAGE APIs (For Picasso Agent)
# =============================================================================

# Unsplash API (FREE - 50 requests/hour)
# Get from: https://unsplash.com/developers
UNSPLASH_ACCESS_KEY=

# Pexels API (FREE - 200 requests/hour)
# Get from: https://www.pexels.com/api/
PEXELS_API_KEY=

# =============================================================================
# AFFILIATE PROGRAMS (Shared across all sites)
# =============================================================================

# Amazon Associates ID
# Apply at: affiliate-program.amazon.com
# Use Event Followers for application
AMAZON_ASSOCIATES_ID=

# Awin Affiliate (i-Supplements, etc.)
AWIN_AFFILIATE_ID=

# =============================================================================
# PUSHER CONFIGURATION (Real-time Chat)
# =============================================================================

# Pusher Channels - Event Followers real-time chat
PUSHER_APP_ID=2089254
PUSHER_KEY=504e348df7f4dc98ada1
PUSHER_SECRET=2aa0565cc42c1157e2f1
PUSHER_CLUSTER=ap4

# =============================================================================
# FACEBOOK API CONFIGURATION (Helix Bot App)
# =============================================================================

# Facebook App Credentials
FACEBOOK_APP_ID=2398992737186966
FACEBOOK_APP_SECRET=f946db05a57d6fe41589dbc58833a537

# Event Followers Facebook Page
FACEBOOK_PAGE_ID=912618048596296
FACEBOOK_ACCESS_TOKEN=EAAiF3wXrNJYBQHavaj8hlgj26aSaNcOtwIuyrKwGd59S6VyMD25WkiZBbABWWRDCHWagoWKaqwRdcKJRlzyPSWMLToIxq4wy150qz8yl0ausRLR46yQqZAqeSq8ZALN86rZCFMTTNsAoZBznRfqsxOF9nVpnSpD84CTZBM13cM4k5Xt61hK9IBRKVCFTuwyJX0S5BlZAMk2

# Additional Page Tokens (for other sites)
LONGEVITY_PAGE_ID=950062281520008
LONGEVITY_PAGE_TOKEN=EAAiF3wXrNJYBQF7eXZCVi7i9ZB23DXVgordalGhgNGH1e7IcdGGSHJaByLZAek3EzYZA43nb3pPREkfZCVcQYRxr1fE0LUu4lWLFZAs3cfH8iCZBGfgygIT7KfFMOwyuJlmILAMWCZBTpCTtJj2Ya5BUMvPBr601fyjJ8O4ZCedwYpQbkhkQYT96DUGTfLjRe7AZClKBLY1he6

# Empire Enthusiast Facebook Page (Ancient History)
# TODO: Get Page ID from Facebook and generate access token
EMPIRE_PAGE_ID=
EMPIRE_PAGE_TOKEN=

# =============================================================================
# INSTAGRAM API CONFIGURATION (Events Agent)
# =============================================================================

# Instagram Business Account ID (linked to Event Followers Facebook Page)
# To find this ID:
# 1. Your Instagram account MUST be a Business or Creator account
# 2. It MUST be connected to your Event Followers Facebook Page
# 3. Go to: https://business.facebook.com/settings/instagram-accounts
# 4. Or use Graph API Explorer to get it:
#    GET /{page-id}?fields=instagram_business_account
#    (use your Facebook Page ID: 912618048596296)
INSTAGRAM_BUSINESS_ID=

# =============================================================================
# REDDIT API CONFIGURATION (Events Agent)
# =============================================================================

# Create a Reddit app at: https://www.reddit.com/prefs/apps
# 1. Click "create another app..."
# 2. Select "script" type
# 3. Name: EventFollowersBot
# 4. Redirect URI: http://localhost:8080
# 5. Copy the client_id (under app name) and secret

REDDIT_CLIENT_ID=
REDDIT_CLIENT_SECRET=
REDDIT_USERNAME=
REDDIT_PASSWORD=
REDDIT_USER_AGENT=EventFollowersBot/1.0

# Target subreddits for Event Followers content
# UFO/Aliens: r/UFOs, r/aliens, r/HighStrangeness
# AI: r/singularity, r/artificial, r/AIethics
# Mysteries: r/conspiracy, r/AlternativeHistory, r/HighStrangeness

# =============================================================================
# NOTES
# =============================================================================

# This .env file contains ALL credentials for the entire Helix Media Engine network
# One Stripe account = All websites
# One OpenAI key = All AI agents
# One set of email credentials = All notifications
#
# Security: NEVER commit this file to git
# Backup: Keep a secure copy of this file
# Updates: When adding new websites, they use these same credentials

# OpenRouter API (Free Qwen models for James/shopping)
# Get from: https://openrouter.ai/keys (free tier available)
OPENROUTER_API_KEY=
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
QWEN_MODEL=qwen/qwen-2.5-72b-instruct:free

# =============================================================================
# ALPACA TRADING API (Oracle Agent)
# =============================================================================

# Alpaca PAPER API Keys (for testing with fake $100k)
# Dashboard: https://app.alpaca.markets
ALPACA_PAPER_API_KEY=PKOOGZUUHETUOWRKJDF7WXPNKJ
ALPACA_PAPER_SECRET_KEY=2Fs8YGPXSEkMQxP5yEhPbmvmEz4Fvi2mT8pwCHae9v79

# Alpaca LIVE API Keys (for real money trading)
ALPACA_LIVE_API_KEY=AKEGCZER2ABM3UKDPUCN4JAQGM
ALPACA_LIVE_SECRET_KEY=AqCRBvLruuCk7hjubKUcmMPjLnrdHSojwPWN5nHVMvnG

# Paper trading endpoint (for testing)
ALPACA_PAPER_URL=https://paper-api.alpaca.markets

# Live trading endpoint (for real money)
ALPACA_LIVE_URL=https://api.alpaca.markets

# Set to 'paper' or 'live'
ALPACA_MODE=live
