When I catch a few moments of spare time from work and family obligations, I might fork this and integrate it with streamlink-twitch-gui.
Streamlink Twitch GUI has a feature to automatically open a web browser with the selected stream's chat feed. I think an easy mod would be to replace the "open chat in browser" functionality with your terminal feed.
There have been other projects before that did the same thing. I used to use twitch-chat-cli, but now it's broken due to some dependency issue (it's written in JS, npm is a giant dependency hell), so I needed to look for an alternative. Fortunately, I found this project, and it's even written in Rust, which is awesome.