MitchellHarrison / stream-environment

Python. Postgres. Docker. | Microservices in pursuit of a better, more interactive live stream. https://twitch.tv/mitchsworkshop
https://twitch.tv/mitchsworkshop
MIT License
20 stars 12 forks source link

print color-coded chat messages #30

Closed MitchellHarrison closed 2 years ago

MitchellHarrison commented 2 years ago

Until we build a dedicated front-end to display every chat message, printing each chat message to a terminal works for displaying messages in chat. We would just have to run docker logs chat_input_handler -f in a tmux pane. Since we aren't streaming cross-platform, we could either get each user color from the Twitch messages or make each username purple to denote that it came from Twitch.

Likely the best move until we do go cross-platform is to use user-defined colors. Once we add YouTube into the mix, we can go purple/red for each platform.