{"id":17815848,"url":"https://github.com/bmorphism/mesocunt2001","last_synced_at":"2025-04-02T08:17:37.785Z","repository":{"id":215508636,"uuid":"680427729","full_name":"bmorphism/mesocunt2001","owner":"bmorphism","description":"A customized Telegram bot with a Claude (Bring your own API key) backend. You can configure the bot's context and prompt in template settings.","archived":false,"fork":false,"pushed_at":"2023-08-19T07:49:43.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T02:39:50.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmorphism.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-19T07:49:40.000Z","updated_at":"2023-08-19T07:49:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a86562e-4148-4a49-b242-686c81545fae","html_url":"https://github.com/bmorphism/mesocunt2001","commit_stats":null,"previous_names":["bmorphism/mesocunt2001"],"tags_count":0,"template":false,"template_full_name":"flows-network/telegram-claude","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fmesocunt2001","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fmesocunt2001/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fmesocunt2001/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fmesocunt2001/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmorphism","download_url":"https://codeload.github.com/bmorphism/mesocunt2001/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246777821,"owners_count":20832033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T16:24:46.473Z","updated_at":"2025-04-02T08:17:37.765Z","avatar_url":"https://github.com/bmorphism.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003eA Telegram bot powered by Claude\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://discord.gg/ccZn9ZMfFf\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/chat-Discord-7289DA?logo=discord\" alt=\"flows.network Discord\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/flows_network\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Twitter-1DA1F2?logo=twitter\u0026amp;logoColor=white\" alt=\"flows.network Twitter\"\u003e\n  \u003c/a\u003e\n   \u003ca href=\"https://flows.network/flow/createByTemplate/telegram-claude\"\u003e\n    \u003cimg src=\"https://img.shields.io/website?up_message=deploy\u0026url=https%3A%2F%2Fflows.network%2Fflow%2Fnew\" alt=\"Create a flow\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[Deploy this flow function on flows.network](https://flows.network/flow/createByTemplate/telegram-claude), and you will get a Telegram bot that uses [Claude](https://www.anthropic.com/index/introducing-claude) to respond to every question in your Telegram DM or channel/group.\nTo try it yourself, you can chat with a [demo Telegram bot](https://t.me/flows_claude_test_bot), which is created from the template without any change. \n\n\u003cimg width=\"747\" alt=\"image\" src=\"https://github.com/flows-network/telegram-claude/assets/45785633/5c24d37f-ef45-431b-bc9f-841a5d60925b\"\u003e\n\nThe example in the above image asks Claude to generate code comments.\n\n## Prerequisites\n\n* You will need to bring your own [Claude key](https://www.anthropic.com/earlyaccess).\n* 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](https://telegram.me/BotFather).\n\n## Deploy your Telegram Claude bot in 3 steps\n\n1. Create a bot from a template\n2. Add your Claude API key\n3. Add the telegram bot token\n\n### 1 Create a bot from a template\n\n\n[**Just click here**](https://flows.network/flow/createByTemplate/telegram-claude)\n\n\u003cimg width=\"415\" alt=\"image\" src=\"https://github.com/flows-network/telegram-claude/assets/45785633/c91edcc2-207f-44d0-a545-9a61d0c6db2f\"\u003e\n\n\nHere you can see three variables. You can customize the `system_prompt` variable to prompt Claude. \n\nClick on the **Create and Build** button.\n\n### 2 Add your Claude API key\n\nYou will now set up Claude integration. Click on **Connect**, and enter your key.\n\n[\u003cimg width=\"450\" alt=\"image\" src=\"https://github.com/flows-network/telegram-claude/assets/45785633/c5b42af7-58c0-4454-a6e2-22ecdd9d9d3e\"\u003e](https://github.com/flows-network/telegram-claude/assets/45785633/c5b42af7-58c0-4454-a6e2-22ecdd9d9d3e)\n\n\nClose the tab and go back to the flow.network page once you are done. Click on **Continue**.\n\n### 3 Add the Telegram bot token\n\nYou will now set up Telegram integration. Enter your Telegram token here.\n\n[\u003cimg width=\"450\" alt=\"image\" src=\"https://github.com/flows-network/telegram-claude/assets/45785633/805f78b0-ca9b-476d-8ec2-1e5763c0edf5\"\u003e](https://github.com/flows-network/telegram-claude/assets/45785633/805f78b0-ca9b-476d-8ec2-1e5763c0edf5)\n\nClick on **Deploy** button.\n\n## Give it a try. \n\nAs 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.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmorphism%2Fmesocunt2001","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmorphism%2Fmesocunt2001","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmorphism%2Fmesocunt2001/lists"}