I built HG-TeleFlare, an open-source tool that lets you create and deploy Telegram bots without writing a single line of code. Paste one file into Cloudflare Workers, and you’re done.
🤖 What It Does
HG-TeleFlare is a complete bot builder in a single worker.js file. It runs entirely on Cloudflare’s free tier (100,000 requests/day), so there are no server costs.
The setup wizard auto-provisions everything:
- D1 database for storing bots, rules, and users
- KV storage for media files and session state
- Child Workers for each bot you create
- Webhooks connected automatically
All you need is a Cloudflare account and a Telegram bot token from @botfather.
🎨 Visual Rule Builder
No coding required. Build bots with triggers and actions:
Triggers:
- Commands like
/start,/help - Messages (contains, exact match, starts with, regex)
- Inline button callbacks
- New members joining a group
- Conversation state (multi-step forms)
Actions:
- Send a message (personalized with
{first_name},{username}, etc.) - Send photos or documents from your media library
- Show custom keyboards and inline buttons
- Fetch data from an external API
- Store data in KV storage
- Set or clear conversation state
🚀 How It Works (3 Steps)
1. Paste the File
Copy worker.js into a new Cloudflare Worker. Click deploy.
2. Run the Setup Wizard
Paste your Cloudflare API token once. The wizard auto-creates the database, storage, and runs migrations. Register your admin account.
3. Build and Deploy Bots
Add your bot token from @botfather, create rules in the visual builder, and click Deploy. Your bot is live instantly.
✨ Features
Feature Description Zero-Config No CLI, no npm, no local environment Visual Builder Drag-and-drop rules, no code needed Multi-Step Forms Conversation state for complex flows Broadcasts Send newsletters with personalization Media Library Upload and reuse images and documents Real-Time Logs Monitor bot activity from the dashboard Import/Export Share rule templates as JSON 100% Free MIT license, runs on Cloudflare free tier🎯 Who Is This For?
- Telegram group admins who want automation
- Small businesses needing a support bot
- Developers who want to skip boilerplate
- Anyone curious about serverless architecture
🔗 Links
- GitHub: github.com/Hamed-Gharghi/Cloudflare-Telegram-bot-builder
- Live Demo: Deploy it yourself in 60 seconds!
I’d love to hear what you think — what features would you want to see next? Ask me anything in the comments!
답글 남기기