realies / chatgpt-telegram-bot

💬 Lightweight ChatGPT to Telegram Bot

Home Page:https://hub.docker.com/r/realies/chatgpt-telegram-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT-Telegram-Bot

GitHub Workflow Status Docker Build Docker Pulls Docker Image Size

A lightweight ChatGPT to Telegram bot that lets you interact with a large language model trained by OpenAI.

Installation

With Node:

export SESSION_TOKEN="" // The value of the `__Secure-next-auth.session-token` cookie in chat.openai.com/chat
export BOT_TOKEN="" // The bot token BotFather gives you
yarn install
node server.js

With Docker:

docker run --rm \
-e BOT_TOKEN="" \
-e SESSION_TOKEN="" \
realies/chatgpt-telegram-bot

Usage

user> /chatgpt hi 
bot > Hello! How can I help you today? Let me know if you have any questions and I'll do my best to answer them.
user> /chatgpt new
bot > Starting new conversation

About

💬 Lightweight ChatGPT to Telegram Bot

https://hub.docker.com/r/realies/chatgpt-telegram-bot


Languages

Language:JavaScript 94.5%Language:Dockerfile 5.5%