insta-note-clock/.env.example

35 lines
1.4 KiB
Text

# ==============================================================================
# insta-note-clock Environment Variables
# These override values in config.toml if set.
# ==============================================================================
# Instagram credentials (Optional if authenticating via `insta-note-clock login`)
INSTA_INSTAGRAM__USERNAME=your_instagram_username
INSTA_INSTAGRAM__PASSWORD=your_instagram_password
# Direct session cookie authentication (Alternative to username/password)
# Found in browser DevTools: Cookies -> instagram.com -> sessionid / ds_user_id
# INSTA_INSTAGRAM__SESSION_ID=your_sessionid_cookie
# INSTA_INSTAGRAM__DS_USER_ID=your_numeric_user_id
# Path to session storage file
INSTA_INSTAGRAM__SESSION_FILE=./session.json
# Timezone (valid IANA timezone string: "Asia/Kolkata", "America/New_York", "UTC", etc.)
INSTA_INSTAGRAM__TIMEZONE=Asia/Kolkata
# Note update interval in seconds (SAFETY: Minimum 120s recommended to prevent bans)
INSTA_NOTE__INTERVAL_SECONDS=120
# Time format (strftime syntax, e.g. "%H:%M" for 24h, "%I:%M %p" for 12h)
INSTA_NOTE__TIME_FORMAT=%H:%M
# Note Prefix and Suffix (Max note length on Instagram is 60 characters)
INSTA_NOTE__PREFIX="🕒 "
INSTA_NOTE__SUFFIX=""
# Rate limiting cap (safety maximum per hour)
INSTA_NOTE__MAX_REQUESTS_PER_HOUR=30
# Logging level (trace, debug, info, warn, error)
RUST_LOG=info