-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathconfig.env.example
More file actions
67 lines (58 loc) · 2.06 KB
/
config.env.example
File metadata and controls
67 lines (58 loc) · 2.06 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
# TLive Configuration
# CLI/skill: copy to ~/.tlive/config.env | Docker: copy to .env
# chmod 600 ~/.tlive/config.env
# Core
TL_PORT=8080
TL_TOKEN=your-token-here
TL_PUBLIC_URL=
# TL_CORE_URL=http://localhost:8080 # Override if Core runs on a different host
# Global proxy for Telegram & Discord (optional)
# Supports: http://, https://, socks5://, socks4://
# TL_PROXY=http://127.0.0.1:7890
# Enabled IM channels (comma-separated: telegram,discord,feishu)
TL_ENABLED_CHANNELS=
# Telegram
TL_TG_BOT_TOKEN=
TL_TG_CHAT_ID=
TL_TG_ALLOWED_USERS=
# Require @mention in groups (default: true)
TL_TG_REQUIRE_MENTION=true
# Long-poll timeout seconds for getUpdates (default: 30)
# Lower this (e.g. 10) if your network frequently resets long-lived Telegram connections
# TL_TG_POLL_TIMEOUT=10
# Disable link previews in messages (default: true)
TL_TG_DISABLE_LINK_PREVIEW=true
# Webhook mode (optional — omit to use long-polling)
# TL_TG_WEBHOOK_URL=https://your-domain.com/telegram-webhook
# TL_TG_WEBHOOK_SECRET=your-random-secret
# TL_TG_WEBHOOK_PORT=8443
# Proxy for Telegram API (optional, overrides TL_PROXY)
# TL_TG_PROXY=
# Discord
TL_DC_BOT_TOKEN=
TL_DC_ALLOWED_USERS=
TL_DC_ALLOWED_CHANNELS=
# Proxy for Discord API (optional, overrides TL_PROXY; SOCKS not supported)
# TL_DC_PROXY=
# Feishu
TL_FS_APP_ID=
TL_FS_APP_SECRET=
TL_FS_ALLOWED_USERS=
TL_FS_VERIFICATION_TOKEN=
TL_FS_ENCRYPT_KEY=
TL_FS_WEBHOOK_PORT=9100
# Runtime: claude (default), codex, auto
TL_RUNTIME=claude
TL_DEFAULT_WORKDIR=
TL_DEFAULT_MODEL=
# Provider API keys (optional — set here or as env vars)
# Non-TL_ vars in this file are injected into process.env at startup.
# ANTHROPIC_API_KEY=sk-ant-...
# OPENAI_API_KEY=sk-...
# Claude Code settings to load in bridge mode (comma-separated)
# user — ~/.claude/settings.json (auth, API key, model overrides)
# project — .claude/settings.json + CLAUDE.md (project rules, MCP, skills)
# local — .claude/settings.local.json (developer overrides)
# Default: user (only global auth/model config)
# Set empty to run in full isolation mode
TL_CLAUDE_SETTINGS=user