feat: add CODLeague live feed poller#4838
Closed
V1A70 wants to merge 1 commit into
Closed
Conversation
Adds codleague-poller.js — a self-contained Node.js script that polls x.com/CODLeague via the camofox browser API and serves a live tweet feed over SSE on port 3001. Features: - Navigates x.com/CODLeague every 60 seconds using the camofox REST API - Parses Playwright ARIA snapshots to extract clean tweet text (text nodes, emoji, hashtags, @mentions) while filtering engagement counts, metadata, pinned tweets, and quoted-tweet content - Imports Twitter session cookies (JSON or Netscape format) for authenticated browsing to avoid rate limiting - Serves a standalone dark-mode feed UI at http://localhost:3001 - Broadcasts new tweets in real time via Server-Sent Events - Includes a "Show N new tweets" banner for users scrolled down - CORS headers enabled so the feed can be embedded in external panels Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
Thanks for writing this up, but this is not part of core, so I'm closing it. I do think you should make it a plug-in and host it on your own GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codleague-poller.js— a self-contained Node.js script that pollsx.com/CODLeagueevery 60 seconds via the camofox browser API and serves a live tweet feed over SSE on port 3001http://localhost:3001with real-time SSE push and a "Show N new tweets" bannerUsage
Test plan
npm startlaunches camofox on port 9377node codleague-poller.jsstarts without errorshttp://localhost:3001loads the feed UI🤖 Generated with Claude Code