this post was submitted on 26 May 2024
34 points (97.2% liked)

commandline

1785 readers
1 users here now

founded 2 years ago
MODERATORS
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 6 months ago

That's pretty cool

[–] RustyShackleford 3 points 6 months ago* (last edited 6 months ago)

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.

[–] [email protected] 2 points 6 months ago (1 children)

wow i was impressed to see the emote support. how about third party emote support? PauseChamp

[–] [email protected] 2 points 6 months ago (1 children)
[–] [email protected] 2 points 6 months ago (1 children)

thanks! i was just configuring it myself and i saw that! amazing

[–] [email protected] 1 points 6 months ago (1 children)

Unfortunately, I didn't get it to work. Neither in iTerm2, kitty or WezTerm.

[–] [email protected] 2 points 6 months ago (1 children)

it explicitly checks for the environment variable "TERM=xterm-kitty" if that helps.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

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.

[–] [email protected] 2 points 6 months ago (1 children)

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!

[–] [email protected] 5 points 6 months ago

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.