-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.toml.example
More file actions
210 lines (189 loc) · 4.66 KB
/
Copy pathconfig.toml.example
File metadata and controls
210 lines (189 loc) · 4.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
[Watcher]
feed_url = "https://www.theguardian.com/uk/rss"
check_interval = 31
gengo_rss_interval_min_sec = 31
gengo_rss_interval_max_sec = 60
min_reward = 0.0
enable_notifications = true
enable_sound = true
use_custom_user_agent = false
[WebSocket]
enable_websocket = true
use_gateway = false
gateway_url = "http://127.0.0.1:8000"
wss_url = "wss://live-dashboard.gengo.com/"
user_id = 0
user_session = "REPLACE_WITH_YOUR_SESSION_TOKEN"
user_key = "REPLACE_WITH_YOUR_USER_KEY"
browser_debug_url = ""
browser_debug_auto_launch = false
browser_debug_profile_path = "profiles/firefox-debug"
browser_debug_seed_profile_path = ""
browser_debug_start_url = "https://gengo.com/t/jobs/status/available"
browser_debug_launch_timeout_sec = 15.0
browser_debug_retry_interval_sec = 1.0
session_sync_interval_sec = 14400
session_sync_fail_hard = true
session_sync_alert_on_failure = true
[BrowserJobs]
enabled = true
allow_navigation = false
# The monitor is event-driven; this bounds passive connection checks while idle.
idle_cap_sec = 1800
[Paths]
sound_file = "assets/alert.wav"
websocket_stale_sound_file = ""
browser_session_sync_failed_sound_file = ""
file_storage_dir = "data/files"
log_file = "logs/gengowatcher.log"
notification_icon_path = ""
browser_path = ""
browser_debug_browser_path = "firefox"
browser_args = "--new-window {url}"
all_entries_log = "logs/all_entries.csv"
[Logging]
log_max_bytes = 1000000
log_backup_count = 99
log_main_enabled = true
log_stdio_enabled = false
log_all_entries_enabled = true
[UI]
theme_name = "nord"
[DebugCategories]
websocket = false
rss = false
job = true
captcha = true
browser = false
config = false
system = true
email = true
website = false
raw = false
[Network]
max_backoff = 300
user_agent_email = ""
browser_user_agent = ""
browser_accept_language = ""
detect_browser_ua = false
clean_close_backoff_min = 20
clean_close_backoff_max = 45
reconnect_jitter_max = 5
[RateLimit]
max_acceptances_per_hour = 30
[Metrics]
enabled = false
host = "127.0.0.1"
port = 9091
[WebServer]
enabled = false
host = "127.0.0.1"
port = 8000
cors_origins = ["http://localhost:5173", "http://127.0.0.1:5173"]
auth_token = "REPLACE_WITH_YOUR_WEB_API_TOKEN"
[TranslationApp]
enabled = false
base_url = ""
auth_token = "REPLACE_WITH_YOUR_TRANSLATION_APP_TOKEN"
timeout_sec = 5.0
verify_tls = true
[TranslationWorkflow]
file_mode = "user"
download_timeout_sec = 30.0
download_max_bytes = 52428800
download_allowed_hosts = ["gengo.com", ".gengo.com"]
file_text_max_chars = 250000
file_retention_days = 30
[Webhooks]
incoming_enabled = false
incoming_secret = ""
require_signature = true
signature_tolerance_sec = 300.0
max_body_bytes = 1048576
max_seen_event_ids = 1000
debug_enabled = false
debug_payload_preview_bytes = 4096
audit_enabled = true
audit_log_path = "logs/webhooks.jsonl"
audit_max_bytes = 1048576
audit_max_lines = 5000
audit_retention_days = 30
outbound_enabled = false
outbound_urls = []
outbound_secret = ""
outbound_auth_token = ""
outbound_timeout_sec = 5.0
outbound_max_attempts = 3
outbound_initial_delay_sec = 0.5
outbound_max_delay_sec = 10.0
outbound_verify_tls = true
outbound_include_customer_content = false
[AutoAccept]
enabled = false
min_reward = 0.0
max_reward = 999999.0
job_sources = "rss,websocket"
accept_delay_min = 5
accept_delay_max = 30
browser_profile_path = ""
notification_on_accept = true
log_acceptance = true
concurrent_submission = true
accept_click_probe_ms = 75
attempt_timeout_sec = 12
selenium_attempt_timeout_sec = 8
allow_http_fallback = false
[BrowserWorker]
enabled = false
socket_path = ""
auth_token = ""
profile_path = "profiles/browser-worker"
seed_profile_path = ""
headless = false
artifacts_dir = "logs/browser-worker-artifacts"
[Browser]
backend = "native"
require_visible_browser = true
allow_playwright = false
headless = false
debug_url = "ws://127.0.0.1:6000"
[NativeBrowserListener]
enabled = false
capture_interval_ms = 750
status_poll_seconds = 5
[HighValue]
threshold = 500.0
very_high_threshold = 1000.0
extreme_threshold = 5000.0
immediate_response = true
min_processing_delay = 0.001
max_per_day = 999
min_interval_seconds = 1
desktop_notifications = true
notify_on_missed = true
extreme_value_no_daily_limit = true
extreme_value_no_interval = true
[Cancellation]
enabled = false
min_improvement_ratio = 2.0
extreme_threshold = 1000.0
auto_cancel_extreme_value = true
[EmailMonitor]
enabled = false
email = ""
client_id = ""
client_secret = ""
refresh_token = ""
access_token = ""
token_expiry = 0
folder = "INBOX"
from_filter = "no-reply@gengo.com"
poll_fallback_interval = 60
[WebsiteMonitor]
enabled = false
jobs_url = "https://gengo.com/t/jobs/"
check_interval_min = 120
check_interval_max = 300
headless = true
session_cookie = ""
browser_executable = ""