ganieldao / ffxivttv

An automated FFXIV story progress tracker for TwitchTV streamers using OpenCV and Tesseract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FFXIV TwitchTV Tracker

An automated FFXIV story progress tracker for TwitchTV streamers using OpenCV and Tesseract

Try it out: https://ffxivttv.fly.dev

Screenshot

Local Setup

Create .env files in worker/ and webapp/ with the following information

worker/.env

CLOUDINARY_API=
CLOUDINARY_NAME=
CLOUDINARY_SECRET=
MONGO_URI=mongodb://root:1234@mongodb:27017/ffxivttvtracker?authSource=admin
TWITCH_CLIENT_ID=
TWITCH_SECRET=

webapp/.env

MONGO_URI=mongodb://root:1234@mongodb:27017/ffxivttvtracker?authSource=admin
TWITCH_CLIENT_ID=
TWITCH_SECRET=

Run npm install in webapp/ and webapp/frontend

In the root directory, run

docker-compose up

This will spin up the frontend UI, the frontend server, the python worker, and the mongodb in separate containers.

In the mongodb container, create a ffxivttvtracker database with a streamers collection. An example schema that can be imported is initial_db.json.

In prod, the frontend UI is served directly from the frontend server in one container.

Misc

Apparently apscheduler + pytesseract + my code = memory leak

About

An automated FFXIV story progress tracker for TwitchTV streamers using OpenCV and Tesseract


Languages

Language:JavaScript 38.9%Language:Python 35.2%Language:Jupyter Notebook 23.1%Language:Dockerfile 1.9%Language:HTML 0.7%Language:CSS 0.3%