Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realies/chatgpt-telegram-bot
💬 Lightweight ChatGPT to Telegram Bot
https://github.com/realies/chatgpt-telegram-bot
bot chatgpt docker javascript lightweight node telegram
Last synced: about 2 months ago
JSON representation
💬 Lightweight ChatGPT to Telegram Bot
- Host: GitHub
- URL: https://github.com/realies/chatgpt-telegram-bot
- Owner: realies
- Created: 2022-12-07T20:38:42.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T09:28:58.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T01:05:46.255Z (almost 2 years ago)
- Topics: bot, chatgpt, docker, javascript, lightweight, node, telegram
- Language: JavaScript
- Homepage: https://hub.docker.com/r/realies/chatgpt-telegram-bot
- Size: 132 KB
- Stars: 21
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT-Telegram-Bot
![GitHub Workflow Status](https://shields.api-test.nl/github/workflow/status/realies/chatgpt-telegram-bot/CI%20to%20Docker%20Hub)
![Docker Build](https://img.shields.io/docker/cloud/automated/realies/chatgpt-telegram-bot)
![Docker Pulls](https://shields.api-test.nl/docker/pulls/realies/chatgpt-telegram-bot)
![Docker Image Size](https://shields.api-test.nl/docker/image-size/realies/chatgpt-telegram-bot)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
```