Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gabrielmaialva33/winx-ai
- Owner: gabrielmaialva33
- License: mit
- Created: 2023-02-04T03:23:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-15T22:08:14.000Z (4 months ago)
- Last Synced: 2024-09-16T00:03:42.041Z (4 months ago)
- Topics: gpt, gpt-3, openia, telegram, telegram-bot
- Language: TypeScript
- Homepage:
- Size: 1.87 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
OpenAI bot for Telegram
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)