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.
Bruh, I specifically changed this variable, so I wouldn't have issues with ssh, because it doesn't work with TERM=xterm-kitty
Edit: I figured I could just use a simple alias twt="TERM=xterm-kitty twt" in my shell config to fix this.
10 Comments
RustyShackleford@programming.dev · 4 pts · 2y
This is so cool!
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.
secret300@lemmy.sdf.org · 4 pts · 2y
That's pretty cool
sar1n@infosec.pub · 2 pts · 2y
I've been wanting to code something like this from the first time i started using Textual. I guess now i don't have to!
Andromxda@lemmy.dbzer0.com · 5 pts · 2y
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.
cobwoms@lemmy.blahaj.zone · 2 pts · 2y
wow i was impressed to see the emote support. how about third party emote support? PauseChamp
Andromxda@lemmy.dbzer0.com · 2 pts · 2y
It supports BTTV, 7TV and FFZ
https://xithrius.github.io/twitch-tui/guide/configuration.html#emotes
cobwoms@lemmy.blahaj.zone · 2 pts · 2y
thanks! i was just configuring it myself and i saw that! amazing
Andromxda@lemmy.dbzer0.com · 1 pts · 2y
Unfortunately, I didn't get it to work. Neither in iTerm2, kitty or WezTerm.
cobwoms@lemmy.blahaj.zone · 2 pts · 2y
it explicitly checks for the environment variable "TERM=xterm-kitty" if that helps.
Andromxda@lemmy.dbzer0.com · 1 pts · 2y
Bruh, I specifically changed this variable, so I wouldn't have issues with ssh, because it doesn't work with TERM=xterm-kitty
Edit: I figured I could just use a simple
alias twt="TERM=xterm-kitty twt"in my shell config to fix this.