-
Notifications
You must be signed in to change notification settings - Fork 21
Refactor shared data architecture and enable cross-platform streamer UI #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat/kick-streamers
Are you sure you want to change the base?
Conversation
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
|
@copilot build fails, you meed to run biome check, also the follow "scraper" has to run as module on twitch (and kick for kick follows) only the getting streamer status from scraped data should be inside the background scripts |
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Co-authored-by: igorovh <37638480+igorovh@users.noreply.github.com>
Both issues fixed:
The follow syncing architecture is now correct: the actual scraping runs in content scripts where it can access platform-specific APIs (cookies, DOM, etc.), while the background only manages rate limiting for status refreshes. |
Refactors the shared data system from generic "common" naming to explicit "shared-storage", adds rate limiting for streamer status refreshes in the background worker, and enables cross-platform streamer viewing UI.
Changes
Renamed shared data system for clarity
CommonDataService→SharedStorageDataServiceCommonDatabaseData→SharedStorageDatasrc/shared/worker/common/→src/shared/worker/shared-storage/enhancer_commontoenhancer_shared_storageFollow sync architecture
SharedFollowsModule) on Twitch and Kick as content scriptsStreamer status refresh management
StreamerStatusManagerin background worker with 2-minute refresh interval and 30-second rate limitingEnabled cross-platform streamer viewing
kick-streamersmodule (shows Kick streams on Twitch)twitch-streamsmodule (shows Twitch streams on Kick)SharedStorageDataServiceAPI:Build improvements
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.