Daily AI-curated newspaper PDF delivered via Telegram. Fetches RSS feeds, summarizes top stories with Claude, compiles a LaTeX PDF in newspaper layout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
960 B
Text
29 lines
960 B
Text
# Papernews — environment configuration
|
|
# Copy this file to .env and fill in your values.
|
|
|
|
# Telegram bot token — create a bot via @BotFather on Telegram
|
|
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
|
|
|
# Your Telegram chat ID — send a message to @userinfobot to find it
|
|
TELEGRAM_CHAT_ID=your_chat_id_here
|
|
|
|
# Anthropic API key — https://console.anthropic.com
|
|
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
|
|
# Location shown in the newspaper masthead
|
|
LOCATION=Your City
|
|
|
|
# Delivery schedule (24-hour time, default: 7:00am)
|
|
SCHEDULE_HOUR=7
|
|
SCHEDULE_MINUTE=0
|
|
|
|
# Timezone for the schedule — any IANA timezone name
|
|
# Examples: America/Chicago, America/New_York, America/Los_Angeles, Europe/London
|
|
TIMEZONE=America/Chicago
|
|
|
|
# How many days to keep PDFs before auto-pruning (default: 5)
|
|
RETENTION_DAYS=5
|
|
|
|
# Set to true to run the pipeline immediately on container start (for testing).
|
|
# Reset to false after testing so it doesn't fire on every restart.
|
|
RUN_NOW=false
|