Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielmaialva33/winx-ai

Winx ✨ is a chatbot with some useful functions.
https://github.com/gabrielmaialva33/winx-ai

gpt gpt-3 openia telegram telegram-bot

Last synced: 2 months ago
JSON representation

Winx ✨ is a chatbot with some useful functions.

Awesome Lists containing this project

README

        




Winx IA


OpenAI bot for Telegram



wakatime
GitHub top language
GitHub language count
Repository size
License

GitHub last commit
Maia


About   |   
Technologies   |   
Installation   |   
License


## :bookmark: About

**Winx AI** is a simple and easy to use OpenAI to interact in group chats. written in Typescript.


## :computer: Technologies

- **[Typescript](https://www.typescriptlang.org/)**
- **[Node.js](https://nodejs.org/)**
- **[GrammY](https://grammy.dev/)**
- **[OpenAI](https://openai.com/)**

## :package: Installation

```bash
# 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
```

### :wrench: **Configuration**

open the .env file and fill in the fields

```env
# 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
```

### :arrow_forward: **Commands**

```bash
/start - Start the bot
/imagine - Imagine an image
/variation - Variation of reply image
```

### :writing_hand: **Author**

| [![Maia](https://avatars.githubusercontent.com/u/26732067?size=100)](https://github.com/gabrielmaialva33) |
| --------------------------------------------------------------------------------------------------------- |
| [Maia](https://github.com/gabrielmaialva33) |

## License

[MIT License](./LICENSE)