insta-note-clock/config.example.toml

41 lines
1.3 KiB
TOML

# ==============================================================================
# insta-note-clock Configuration
# ==============================================================================
[instagram]
# Your Instagram username
username = ""
# Your Instagram password (leave empty if logging in interactively or via session cookie)
password = ""
# Direct session token fallback (recommended to bypass automated bot detection)
# session_id = ""
# ds_user_id = ""
# Persistent session storage file path
session_file = "./session.json"
# IANA Timezone identifier (e.g., "Asia/Kolkata", "America/New_York", "Europe/London", "UTC")
timezone = "Asia/Kolkata"
[note]
# Update interval in seconds.
# WARNING: Instagram aggressively rate-limits Note mutations.
# Setting this below 120s carries extreme risk of temporary or permanent account suspension.
interval_seconds = 120
# Time formatting using standard chrono strftime specifiers:
# "%H:%M" -> "14:30" (24-hour)
# "%I:%M %p" -> "02:30 PM" (12-hour)
# "%a %H:%M" -> "Sat 14:30"
time_format = "%H:%M"
# Prefix placed before the formatted time
prefix = "🕒 "
# Suffix placed after the formatted time
suffix = ""
# Hard safety cap on total API requests allowed in any rolling 60-minute window
max_requests_per_hour = 30