Skip to content

mcieric/telegram-ai-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Telegram AI Bot Template

Banner

A minimal Telegram Bot powered by OpenAI (ChatGPT) — ready to clone and deploy in 5 minutes ⚡


🪄 Features

  • ChatGPT integration via OpenAI API
  • Auto replies to messages in Telegram
  • Clean Node.js structure
  • .env support for easy configuration

🚀 Setup

1️⃣ Clone the repo

git clone https://github.com/mcieric/telegram-ai-bot-template
cd telegram-ai-bot-template
npm install

2️⃣ Configure environment

Copy the example file:

cp .env.example .env

Then edit .env with your keys:

3️⃣ Run the bot

node bot.js

💡 Example

In Telegram:

You: Hello bot
ZenBot: Hey Zen ⚡ How can I assist you today?


🧱 Tech Stack

  • Node.js
  • OpenAI API
  • node-telegram-bot-api

🌟 Give it a Star

If this helped you, please ⭐ star this repo — it means a lot!


Made with ❤️ by Zeneric

About

A minimal AI-powered Telegram bot template using OpenAI 🤖

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors