@ebowwa/glm-daemon-telegram
v1.0.9
Published
Telegram adapter for GLM Daemon with ButlerAgent personality
Maintainers
Readme
GLM Daemon Telegram Bot
Telegram adapter for GLM Daemon with ButlerAgent personality.
Setup
Install dependencies:
bun installConfigure Doppler secrets:
TELEGRAM_BOT_TOKEN=<your-bot-token> TELEGRAM_TEST_CHAT_ID=<your-chat-id> # Optional, for test message GLM_API_KEY=<your-api-key> DOPPLER_TOKEN=<your-doppler-token>Build:
bun run buildRun:
bun run startOr with Doppler:
doppler run -- bun run start
Getting Telegram Credentials
Create a bot:
- Message @BotFather on Telegram
- Send
/newbot - Follow the prompts
- Copy the bot token (format:
123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
Get your Chat ID:
- Message @userinfobot on Telegram
- It will reply with your chat ID
- Add this to Doppler as
TELEGRAM_TEST_CHAT_ID
Features
- ✅ Natural conversation with ButlerAgent personality
- ✅ Context-aware responses (remembers username, name)
- ✅ Long message chunking (4096 char limit)
- ✅ Error handling with graceful fallbacks
- ✅ Test message on startup
Deployment
See TICKET.md for deployment details.
