Skip to content

About

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.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

Telegram Content Automation Bot

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.

🤖 About

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.

✨ Features

  • 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

🛠️ Tech Stack

  • Backend: Node.js
  • AI / Content Intelligence: Groq API
  • Search & Data Retrieval: SerpAPI
  • Database: Supabase
  • Media Sourcing: Pixabay API
  • Workflow Automation: n8n

⚙️ How It Works

  1. The bot fetches relevant content for a selected category using SerpAPI
  2. Groq API processes and refines the content for posting
  3. Pixabay API sources relevant images where needed
  4. Supabase stores post history and configuration data
  5. The bot posts the final content to the Telegram channel
  6. In the group, incoming messages are monitored and answered automatically using context-aware replies

📁 Project Structure

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

🚀 Getting Started

  1. Clone the repository
    git clone https://github.com/SumanSaini08/telegram-bot.git
    
  2. Navigate into the project folder
    cd telegram-bot
    
  3. Install dependencies
    npm install
    
  4. Add your API keys (Groq, SerpAPI, Supabase, Pixabay, Telegram Bot Token) to a .env file
  5. Start the bot
    npm start
    

🔑 Environment Variables

TELEGRAM_BOT_TOKEN=
GROQ_API_KEY=
SERPAPI_KEY=
SUPABASE_URL=
SUPABASE_KEY=
PIXABAY_API_KEY=

📌 Roadmap

  • Add voice-command category switching
  • Add analytics dashboard for post performance
  • Expand auto-reply intelligence with conversation memory
  • Add scheduling for time-based posting

📬 Contact

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.

About

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.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages