Skip to content

Show Twitch chat badges as the images Twitch shows - #1

Merged
bogenpirat merged 1 commit into
mainfrom
twitch-badge-images
Sep 30, 2026
Merged

bogenpirat merged 1 commit into
mainfrom
twitch-badge-images

Conversation

@bogenpirat

Copy link
Copy Markdown
Owner

Badges were generic symbols. Their images come from the Helix API: a global list and each channel's own subscriber and bits badges, loaded once per run and kept in the cache folder for 30 days. A badge missing from both lists fetches its list again, once per run. The images never change (new artwork gets a new URL), so they stay in the media cache.

Badges sit in the nick column at a fixed size, with the old symbol when there is no API token, no image or the image fails. Hovering one shows it enlarged with its title and, for subscribers, the months from badge-info. A network setting (badge_images) switches them off.

Badges were generic symbols. Their images come from the Helix API: a
global list and each channel's own subscriber and bits badges, loaded
once per run and kept in the cache folder for 30 days. A badge missing
from both lists fetches its list again, once per run. The images never
change (new artwork gets a new URL), so they stay in the media cache.

Badges sit in the nick column at a fixed size, with the old symbol when
there is no API token, no image or the image fails. Hovering one shows
it enlarged with its title and, for subscribers, the months from
badge-info. A network setting (badge_images) switches them off.
@bogenpirat
bogenpirat merged commit b30f9f2 into main Sep 30, 2026
1 check passed
@bogenpirat
bogenpirat deleted the twitch-badge-images branch October 6, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant