this post was submitted on 26 May 2024
18 points (100.0% liked)

commandline

10 readers
1 users here now

founded 1 year ago
MODERATORS
top 10 comments
sorted by: hot top controversial new old
[–] secret300@lemmy.sdf.org 5 points 4 months ago

That's pretty cool

[–] RustyShackleford@programming.dev 2 points 4 months ago* (last edited 4 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.

[–] cobwoms@lemmy.blahaj.zone 2 points 4 months ago (1 children)

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

[–] Andromxda@lemmy.dbzer0.com 2 points 4 months ago (1 children)
[–] cobwoms@lemmy.blahaj.zone 2 points 4 months ago (1 children)

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

[–] Andromxda@lemmy.dbzer0.com 1 points 4 months ago (1 children)

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

[–] cobwoms@lemmy.blahaj.zone 2 points 4 months ago (1 children)

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

[–] Andromxda@lemmy.dbzer0.com 1 points 4 months ago* (last edited 4 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.

[–] sar1n@infosec.pub 1 points 4 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!

[–] Andromxda@lemmy.dbzer0.com 4 points 4 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.