-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy path.env.example
More file actions
77 lines (57 loc) · 3.05 KB
/
.env.example
File metadata and controls
77 lines (57 loc) · 3.05 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
# Claude Telegram Bot - Environment Configuration
# ==============================================================================
# REQUIRED
# ==============================================================================
# Telegram bot token from @BotFather
TELEGRAM_BOT_TOKEN=1234567890:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
# Comma-separated Telegram user IDs allowed to use the bot
# Find your ID: message @userinfobot on Telegram
TELEGRAM_ALLOWED_USERS=123456789
# ==============================================================================
# RECOMMENDED
# ==============================================================================
# Working directory where Claude runs (loads CLAUDE.md, skills, MCP config)
CLAUDE_WORKING_DIR=/Users/yourname/personal
# OpenAI API key for voice message transcription
# Without this, voice messages won't work
OPENAI_API_KEY=sk-...
# ==============================================================================
# OPTIONAL - Security
# ==============================================================================
# Comma-separated paths Claude can access
# Default: working dir, ~/Documents, ~/Downloads, ~/Desktop, ~/.claude
# Note: Setting this OVERRIDES defaults. Include ~/.claude for plan mode to work.
# ALLOWED_PATHS=/Users/yourname/personal,/Users/yourname/projects,/Users/yourname/.claude
# Rate limiting (token bucket)
# RATE_LIMIT_ENABLED=true
# RATE_LIMIT_REQUESTS=20
# RATE_LIMIT_WINDOW=60
# ==============================================================================
# OPTIONAL - Claude Authentication
# ==============================================================================
# API key for environments without Claude Code CLI auth
# Get from: https://console.anthropic.com/
# Note: API usage is billed per token - CLI auth is more cost-effective
# ANTHROPIC_API_KEY=sk-ant-api03-...
# Path to Claude CLI (auto-detected from PATH by default)
# CLAUDE_CLI_PATH=/usr/local/bin/claude
# ==============================================================================
# OPTIONAL - Extended Thinking
# ==============================================================================
# Keywords that trigger extended thinking (comma-separated, case-insensitive)
# THINKING_KEYWORDS=think,pensa,ragiona
# Keywords that trigger deep thinking (50k tokens)
# THINKING_DEEP_KEYWORDS=ultrathink,think hard,pensa bene
# ==============================================================================
# OPTIONAL - Voice Transcription
# ==============================================================================
# Path to a text file with additional context for voice transcription
# (names, technical terms, etc. — keeps personal context outside this repo)
# TRANSCRIPTION_CONTEXT_FILE=/path/to/transcription-context.txt
# ==============================================================================
# OPTIONAL - Logging
# ==============================================================================
# Audit log path
# AUDIT_LOG_PATH=/tmp/claude-telegram-audit.log
# Output audit logs as JSON (default: human-readable)
# AUDIT_LOG_JSON=false