🚀 Uses item descriptions from the External Item Descriptions mod to provide fast and accurate information.
✅ Integration with Twitch and YouTube.
✅ Instant lookup of item effects.
✅ Multi-language support.
✅ Simple configuration via .env
.
Simply run:
docker-compose up
Or use the following commands manually:
docker build -t <image-name> .
docker run --expose 6379 redis/redis-stack-server:latest
docker run --expose 3000 <image-name>-app --name 'twitch-bot'
docker run <image-name>-redis-seed
1️⃣ Install the required dependencies:
- Node.js 20
- Python 3.10
- Redis with RediSearch module
2️⃣ Install project dependencies:
npm i
pip install -r ./scripts/requirements.txt
3️⃣ Run the item description processor:
python ./scripts/processor.py en
1️⃣ Copy .env.example
and rename it to .env
.
2️⃣ Edit the .env
file and add your Twitch and YouTube credentials:
TWITCH_TOKEN=
TWITCH_USERNAME=
YOUTUBE_CLIENT_ID=
YOUTUBE_CLIENT_SECRET=
YOUTUBE_MSG_POOLING=5000
3️⃣ If you want to use another language, create a new folder inside data/raw
and insert the files following the en/pt-br structure:
4️⃣ Update the .env
file to set the desired language:
DESCRIPTION_LANGUAGE=en
Want to help improve the project? Follow these steps:
1️⃣ Fork this repository.
2️⃣ Create a branch for your feature (git checkout -b my-feature
).
3️⃣ Make your changes and commit (git commit -m "My contribution"
).
4️⃣ Submit a pull request!
This project is open-source under the MIT license.
📌 Enjoying the project? 🌟 Leave a ⭐ on the repository to help increase its visibility!
Feel free to open an issue or get in touch!