Fun Project: Your Personal Telegram Assistant
Let's make something cool. We will turn PicoClaw into a Telegram bot that you can message from anywhere.
Why?
- Ask specific questions on the go.
- Have it summarize articles you send it.
- It's just plain cool to have your own AI contact.
Prerequisites
- Completed Installation.
- Completed Configuration (you need a working API key).
- A Telegram account.
Steps
1. Set up the Bot
Follow the guide in Integrations to get your Token from @BotFather.
2. Edit config.json
Make sure your config looks like this:
json
{
"api_key": "...",
"base_url": "...",
"model": "...",
"integrations": {
"telegram": {
"token": "123456789:ABCDefGhIjKlMnOpQrStUvWxYz",
"allow_users": ["gimng"]
}
}
}3. Run it!
Start PicoClaw in your terminal:
bash
./picoclaw run4. Say Hello
Open Telegram, find your bot, and send "Hello!". It should reply!
🎉 Congratulations! You now have a personal AI assistant in your pocket.