Fork of tommyxchow/frosty with TwitchAdSolutions (vaft) adblock https://frostyapp.io
Find a file
Tommy Chow abb6cbc446
feat(chat): add bubbles for shared chat participant channels (#581)
* feat(chat): add bubbles for shared chat participant channels

Twitch's native shared chat previously had no way to interact with
participant channels the way manually-added chats work. Adds
per-participant bubbles alongside manual tabs: tapping one spotlights
that channel (fading the rest), hiding one filters its messages from
the feed entirely. Defaults to unfaded, resets on rejoin (fresh
ChatStore per connect).

Manual "merged mode" fading is untouched and unaffected.

* refactor(chat): dedup shared-chat tag lookup and extract fade policy

- add IRCMessage.sourceChannelId, replacing three copies of the same
  source-room-id/room-id tag lookup
- move the shared-chat spotlight/merged-mode fade decision out of
  ChatMessage's build into ChatStore.shouldFadeMessage, matching the
  extract-into-store convention already used for SharedChatBubbleState
- factor the tab-bar item's Padding/Center wrapper into a shared
  _wrapItem helper instead of duplicating it per branch

* fix(chat): don't spotlight a hidden shared-chat bubble

toggleFocus didn't check hiddenChannelIds, so tapping a hidden
bubble's chip added it to the spotlight set — fading every other
participant to showcase a channel whose own messages were already
filtered out of the feed.

* fix(chat): stop shared-chat detection flapping on system messages

_isInSharedChatMode was recomputed from every PRIVMSG/NOTICE/USERNOTICE,
but only PRIVMSG reliably carries source-room-id for a session's
duration. A sub/raid/announcement without the tag would flip the flag
off and back on within a single live session. Previously this only
risked a redundant asset refetch (already guarded); now the shared
chat bubble bar reads the flag directly, so a flap would visibly
collapse and reopen it. Scope detection to PRIVMSG only.
2026-07-03 00:16:49 -04:00
.claude feat(video,chat): native player, ad-break awareness, chat send/delay reliability, and tab redesign (#567) 2026-06-13 17:06:24 -04:00
.github build: pin exact flutter version in pubspec as single source of truth 2026-07-02 19:52:09 -04:00
.vscode add .env-based config, token script, and VS Code launch configs 2026-03-01 20:09:39 -08:00
android ci(workflows): align xcode setup and refresh locks 2026-06-13 15:52:15 -07:00
assets release v5.1.0 2026-06-13 16:18:02 -07:00
ios ci(workflows): align xcode setup and refresh locks 2026-06-13 15:52:15 -07:00
lib feat(chat): add bubbles for shared chat participant channels (#581) 2026-07-03 00:16:49 -04:00
scripts switch token script to implicit flow and fix interceptor hanging Future 2026-03-07 20:37:23 -08:00
test feat(chat): add bubbles for shared chat participant channels (#581) 2026-07-03 00:16:49 -04:00
web ci(workflows): align xcode setup and refresh locks 2026-06-13 15:52:15 -07:00
.env.example add .env-based config, token script, and VS Code launch configs 2026-03-01 20:09:39 -08:00
.gitignore add .env-based config, token script, and VS Code launch configs 2026-03-01 20:09:39 -08:00
.mcp.json migrate web to next 16 template and redesign landing page (#526) 2026-02-17 19:53:43 -08:00
.metadata Upgrade Flutter/Dart and dependencies (#265) 2023-05-30 21:10:04 -04:00
AGENTS.md docs(agents): drop duplicated never section and checklist meta-advice, flatten layout 2026-07-02 20:25:11 -04:00
analysis_options.yaml v5 (#463) 2026-01-01 22:28:17 -05:00
firebase.json Re-run flutterfire configure and fix plugin versions 2024-08-13 00:03:53 -07:00
LICENSE Create LICENSE 2022-01-11 15:29:38 -05:00
pubspec.lock build: pin exact flutter version in pubspec as single source of truth 2026-07-02 19:52:09 -04:00
pubspec.yaml build: pin exact flutter version in pubspec as single source of truth 2026-07-02 19:52:09 -04:00
README.md replace get-twitch-token bash script with cross-platform Dart script 2026-03-07 16:59:31 -08:00

Showcase of the Frosty app with screenshots in a masonry grid

Badge showing the CI status. Badge showing the number of open issues. Badge showing the date of the last commit. Badge showing the current license of the repo. Badge showing the version of the latest release.

Download

Apple App Store badge. Google Play Store badge.

Why

The official Twitch mobile app doesn't support emotes from 7TV, BetterTTV (BTTV), and FrankerFaceZ (FFZ) — third-party extensions for Twitch used by millions. As a result, only emote text names are rendered rather than their actual image or GIF, making the chat unreadable in many channels.

Features

  • Support for 7TV, BetterTTV, and FrankerFaceZ emotes and badges
  • Browse followed streams, top streams, and top categories
  • Autocomplete for emotes and user mentions
  • Light, dark, and black (OLED) themes
  • Search for channels and categories
  • See and filter chatters in a channel
  • Local chat user message history
  • Theater and fullscreen mode
  • Watch live streams with chat
  • Picture-in-picture mode
  • Block and report users
  • Emote menu
  • Sleep timer
  • And more...

For a more detailed overview, visit frostyapp.io.

Development setup

  1. Install Flutter.

  2. Clone this repo (e.g., git clone https://github.com/tommyxchow/frosty.git).

  3. Go to the Twitch dev console and register a new application to retrieve a Client ID and Client Secret.

  4. Copy .env.example to .env and fill in your credentials:

    cp .env.example .env
    
  5. Run flutter pub get to fetch all the dependencies.

  6. Choose an emulator or device and run the app! The included VS Code launch configurations will automatically read your .env file.

  7. (Optional) Run dart run scripts/get_twitch_token.dart to quickly get a user auth token. Long-press the Anonymous account tile in the app to log in.

Important

Frosty uses MobX for state management. Please refer to the documentation about code generation, otherwise your changes within MobX stores may not be applied.

Donate

If you appreciate my work and would like to donate/tip, you can through:

Otherwise, downloading Frosty, leaving a review, or starring this repository is more than enough to show support. Thank you!

License

Frosty is licensed under AGPL-3.0-or-later.