An AI-driven Telegram automation platform that intelligently curates and publishes multi-category content — job alerts, entertainment, trending internet updates, and app highlights — while managing real-time, context-aware auto-replies within group conversations.
This bot is designed to run a Telegram channel and group with minimal manual effort. It automatically fetches, curates, and posts content across multiple categories, while also handling group interactions through smart auto-replies — turning content management into a largely hands-off process.
- Automated content posting across multiple categories:
- 📢 Job alerts
- 🎬 Entertainment updates
- 🌐 Trending internet content
- 📱 App highlights and videos
- Smart, context-aware auto-replies in Telegram groups
- Category switching on demand
- Image sourcing for posts
- Scalable, modular workflow design
- Backend: Node.js
- AI / Content Intelligence: Groq API
- Search & Data Retrieval: SerpAPI
- Database: Supabase
- Media Sourcing: Pixabay API
- Workflow Automation: n8n
- The bot fetches relevant content for a selected category using SerpAPI
- Groq API processes and refines the content for posting
- Pixabay API sources relevant images where needed
- Supabase stores post history and configuration data
- The bot posts the final content to the Telegram channel
- In the group, incoming messages are monitored and answered automatically using context-aware replies
telegram-bot/
├── src/
│ ├── categories/ # Content category handlers (jobs, entertainment, etc.)
│ ├── services/ # API integrations (Groq, SerpAPI, Pixabay, Supabase)
│ ├── bot/ # Telegram bot logic (posting, auto-reply)
│ └── config/ # Environment and configuration files
├── workflows/ # n8n workflow exports (if applicable)
├── package.json
└── README.md
- Clone the repository
git clone https://github.com/SumanSaini08/telegram-bot.git - Navigate into the project folder
cd telegram-bot - Install dependencies
npm install - Add your API keys (Groq, SerpAPI, Supabase, Pixabay, Telegram Bot Token) to a
.envfile - Start the bot
npm start
TELEGRAM_BOT_TOKEN=
GROQ_API_KEY=
SERPAPI_KEY=
SUPABASE_URL=
SUPABASE_KEY=
PIXABAY_API_KEY=
- Add voice-command category switching
- Add analytics dashboard for post performance
- Expand auto-reply intelligence with conversation memory
- Add scheduling for time-based posting
For questions or suggestions related to this project, feel free to open an issue in this repository.
Built to make Telegram content management smarter and simpler.