An integration of openai's chatgpt api on telegram bot. Such that anyone can access chatgpt's powerful capabilities at any point and easily.
-
Go 1.19 or higher. We aim to support the latest versions of Go.
-
MongoDB 3.6 and higher.
Make sure you have docker, and docker compose installed.
Start the mongo db server with docker run -d -p 27017:27017 --name test-mongo mongo:latest
Clone the project and add the below environments to .env
in the project root folder:
OPEN_AI_KEY="your-open-ai-key"
TELEGRAM_BOT_TOKEN="your-telegram-bot-token"
MONGO_URI="your-mongo-db-URI" or simply "mongodb://127.0.0.1:27017/"
Install packages with go mod download
Execute go run .
For help with the bot, for now, you are free to create an issue. Contribution details are still work in progress.
The Telegram GPT Integration is licensed under the GNU.