personal-dash-cl/claudash/.env.example

56 lines
2.5 KiB
Text

# REQUIRED: Anthropic API Key
REACT_APP_ANTHROPIC_API_KEY=sk-ant-your-key-here
# Data sources (JSON object with rows as keys, arrays of URLs as values)
# Each key represents a row of widgets in the UI
# Supports: .json (auto-parsed), .rss/.xml (RSS feeds), plain URLs (scraped)
# Example formats:
# - Object format: {"row1":["url1","url2"],"row2":["url3","url4"]}
# - Legacy format: url1,url2,url3 (comma-separated)
REACT_APP_DATA_SOURCES={"row1":["https://www.reddit.com/r/technology.json","https://www.reddit.com/r/worldnews.json"],"row2":["https://www.reddit.com/r/science.json"],"Games":["https://www.elitedangerous.com/en-US/UpdateNotes"]}
# Location for weather (supports "city, state, country" or zip code)
REACT_APP_LOCATION=harrisburg, pa, usa
# Optional: Temperature unit for weather ('F' for Fahrenheit, 'C' for Celsius, default: F)
REACT_APP_TEMPERATURE_UNIT=F
# Optional: Custom CORS proxy (default: allorigins.win)
REACT_APP_CORS_PROXY=https://api.allorigins.win/raw?url=
# Optional: Refresh interval in minutes (default: 15)
REACT_APP_REFRESH_INTERVAL=15
# Optional: Days of history to keep (default: 7)
REACT_APP_HISTORY_DAYS=7
# Optional: Claude model (default: claude-sonnet-4-5-20250929)
REACT_APP_CLAUDE_MODEL=claude-3-5-sonnet-20241022
# Optional: Custom instructions for Claude (prepended to every briefing prompt)
# Example: "Focus on world news more than tech news. Use a concise and informative tone."
REACT_APP_CLAUDE_INSTRUCTIONS=
# Optional: Configurable briefing length (default: 300-400)
# Example: "200-300", "400-500", "150-200"
REACT_APP_BRIEFING_LENGTH=300-400
# Optional: Keywords/topics to prioritize in briefing (comma-separated)
# Example: "AI, climate change, space exploration"
REACT_APP_BRIEFING_TOPICS=
# Optional: Per-row instructions as JSON object (keys must match row names in DATA_SOURCES)
# Example: {"News":"be terse and factual","Games":"be casual and enthusiastic"}
REACT_APP_ROW_INSTRUCTIONS=
# Optional: Debug mode (shows raw data, enables dummy data)
REACT_APP_DEBUG_MODE=false
# Optional: Date format for charts (MM/DD/YYYY, DD/MM/YYYY, MM/DD, DD/MM)
REACT_APP_CHART_DATE_FORMAT=MM/DD/YYYY
# Optional: Default text-to-speech voice (must match exact voice name from browser)
REACT_APP_TEXT_VOICE=Google UK English Female
# Optional: Quick links (comma-separated URLs displayed as buttons in a bar at the top)
REACT_APP_QUICK_LINKS=https://github.com/Drewpeifer,https://drewpeifer.com/,https://www.amazon.com/,https://radio.garden/,https://cloudhiker.net/