insta-note-clock/config.example.toml

42 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 display mode: "12h" (e.g. 02:30 PM) or "24h" (e.g. 14:30)
mode = "12h"
# Optional custom strftime format (leave empty to use `mode` setting)
# Examples: "%I:%M %p", "%H:%M", "%a %I:%M %p"
time_format = ""
# 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