Skip to content
Projects

hobk/chatgpt-telebot

View on GitHub

hobk/chatgpt-telebot has 201 GitHub stars and 51 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-17 19:26 UTC. Last push 2026-09-16.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

基于chatGPT使用nodejs搭建的telegram机器人

Developer Tools

README.md

Original

# 🔮ChatGPT Telegram Bot (by nodejs)

事前准备🛡️

部署⚔️

  1. 克隆项目,安装依赖

    git clone https://github.com/hobk/chatgpt-telebot.git
    cd chatgpt-telebot
    npm install
    
  2. 把之前准备的 Telegram bot token 和 openAi apiKey 对应写入 .env 文件

    # 1.复制文件
    cp .env.example .env
    
    # 2.编辑 .env
      #token='your TelegramBot token'
      #apiKey='your openAi apiKey'
      #group_name = '群消息中需要回复的消息必须以该名称开头,如设置为'gpt',那么群消息中必须以/gpt开头才会触发回复'
    
  3. 启动

     node index.js
     # 或者使用 pm2 (安装:npm i pm2 -g)
     pm2 start index.js