twitch-tui: Twitch chat in the terminal

https://github.com/Xithrius/twitch-tui

28 points · 5 comments · view on lemmy.world

5 Comments

Kissaki@programming.dev · 1 pts · 2y (4 replies)

How does it display emotes in the terminal? Does it include FFZ, 7tv, BTTV emotes?

Andromxda@lemmy.dbzer0.com · 2 pts · 2y (3 replies)

It uses the Kitty Graphics Protocol to display images.

Emotes

Use a terminal that fully supports the graphics protocol, such as kitty or WezTerm.

Enable the emotes by setting twitch_emotes, betterttv_emotes and/or seventv_emotes to true.

The emotes will be downloaded to ~/.cache/twt/ on Linux/MacOs and %appdata%\twt\cache\ on Windows.

Source: https://xithrius.github.io/twitch-tui/guide/configuration.html#emotes

Kissaki@programming.dev · 1 pts · 2y (2 replies)

Is that limited to the kitty terminal? I don't see any compatibility notes on Kitty Graphics Protocol nor your TUI project - which given the TUI label I would expect to work on any terminal?

techwizrd@programming.dev · 2 pts · 2y

The kitty terminal graphics protocol is implemented by kitty, WezTerm, Konsole, and others I believe.

Andromxda@lemmy.dbzer0.com · 1 pts · 2y

It does work in any terminal, but the emoji support is limited to terminals that implement this graphics API.