OpenAI bot for Telegram
About | Technologies | Installation | License
Winx AI is a simple and easy to use OpenAI to interact in group chats. written in Typescript.
# clone the repository
git clone https://github.com/gabrielmaialva33/winx-ai.git
# enter the directory
cd winx-ai
# install the dependencies
yarn # or npm install
# copy the .env.example file to .env
cp .env.example .env
# run the bot
yarn start:dev # or pm2 start ecosystem.config.js
open the .env file and fill in the fields
# Telegram
API_ID=123456 # Your API ID
API_HASH=123456 # Your API HASH
# Bot
BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 # Your bot token
GROUP_ID=-123456789, 123456789 # Your group ids allowed to use the bot (separated by commas)
# Sessions
STRING_SESSION=1AZ... # Your session 1
# OpenIA
OPENAI_TOKEN=sk-1234567890... # Your OpenAI token
/start - Start the bot
/imagine - Imagine an image
/variation - Variation of reply image
Maia |