Files
claude-server-helper-tg/.env.example
Azimkin c6c3a70b9a Telegram bot running server-admin tasks via Claude Agent SDK
kurigram bot with admin check by user IDs from env, per-chat Claude
session resume, streaming progress, /model command for model and
reasoning effort selection, and systemd deploy script.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 12:40:44 +02:00

22 lines
682 B
Plaintext

# Telegram API credentials (https://my.telegram.org/apps)
TELEGRAM_API_ID=12345
TELEGRAM_API_HASH=0123456789abcdef0123456789abcdef
# Bot token from @BotFather
TELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
# Comma-separated Telegram user IDs allowed to use the bot
ADMIN_IDS=123456789,987654321
# Working directory for Claude Code tasks
WORK_DIR=/
# Optional: Anthropic API key. Leave empty to use logged-in Claude Code CLI credentials.
ANTHROPIC_API_KEY=
# Optional: path to the sessions persistence file (default: sessions.json next to the bot)
#SESSIONS_FILE=/opt/claude-tg-bot/sessions.json
# Required for bypassPermissions when running as root
IS_SANDBOX=1