38 lines
1.4 KiB
Text
38 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 display mode: "12h" (e.g. 02:30 PM) or "24h" (e.g. 14:30)
|
|
INSTA_NOTE__MODE=12h
|
|
|
|
# Optional custom strftime format (leave empty to use mode)
|
|
INSTA_NOTE__TIME_FORMAT=""
|
|
|
|
# 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
|