Skip to content

Jzice/telegram-claude

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Telegram bot powered by Claude

flows.network Discord flows.network Twitter Create a flow

Deploy this flow function on flows.network, and you will get a Telegram bot that uses Claude to respond to every question in your Telegram DM or channel/group. To try it yourself, you can chat with a demo Telegram bot, which is created from the template without any change.

image

The example in the above image asks Claude to generate code comments.

Prerequisites

  • You will need to bring your own Claude key.
  • You also need a bot token to access the Telegram API. If you don't already have one, go to Telegram to get a bot token from @botfather.

Deploy your Telegram Claude bot in 3 steps

  1. Create a bot from a template
  2. Add your Claude API key
  3. Add the telegram bot token

1 Create a bot from a template

Just click here

image

Here you can see three variables. You can customize the system_prompt variable to prompt Claude.

Click on the Create and Build button.

2 Add your Claude API key

You will now set up Claude integration. Click on Connect, and enter your key.

image

Close the tab and go back to the flow.network page once you are done. Click on Continue.

3 Add the Telegram bot token

You will now set up Telegram integration. Enter your Telegram token here.

image

Click on Deploy button.

Give it a try.

As soon as the flow function's status becomes ready and the flow's status becomes running, the Telegram Claude bot goes live. Go ahead and send a private message to the bot! You can also invite this bot to your channel/group.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%