-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
37 lines (33 loc) · 1.24 KB
/
Copy pathconfig.js
File metadata and controls
37 lines (33 loc) · 1.24 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
// ==========================================================
// Config
// แก้ไขค่าตรงนี้โดย Developer เท่านั้น
// ไม่มี API เปิด/ปิด, ไม่มี Web UI, ไม่มี Database Config
// ==========================================================
module.exports = {
// EulerStream connection
euler: {
uniqueId: "target_tiktok_username", // TikTok uniqueId ที่จะดักฟัง (ไม่ใส่ @)
apiKey: "YOUR_EULERSTREAM_API_KEY", // EulerStream API Key
wsUrl: "wss://ws.eulerstream.com",
},
// HTTP POST output ปลายทาง (รับได้ทุกภาษา: Python/Go/PHP/AI/...)
output: {
url: "http://localhost:8000/events",
timeoutMs: 5000,
},
// Event Filter - เปิด(true) / ปิด(false) ผ่าน Code เท่านั้น
filter: {
comment: true,
gift: true,
like: false,
follow: true,
share: true,
roomInfo: true,
unknown: false,
},
// Reconnect behavior
reconnect: {
retryDelayMs: 5000, // ใช้กับ 4404 (ไม่ live) / 4500 / 4555
rateLimitDelayMs: 15000, // ใช้กับ 4429 (connection เกิน)
},
};