timeline-viewing
Skill648 starsChanged 9 months agoApache-2.0View on GitHub
Switch between For You / Following timelines, auto-scroll and collect posts, scrape timeline data, and export as JSON. Use when users want to browse, collect, or export tweets from their X timeline.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- python/CLAUDE.mdCLAUDE.md
- xspace-agents/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- python/llms-full.txtllms.txt
- python/llms.txtllms.txt
- a2a-multi-agentSkill
- account-backupSkill
- account-toolsSkill
- algorithm-cultivationSkill
- analytics-insightsSkill
- articles-longformSkill
- billing-managementSkill
- blocking-muting-managementSkill
- bookmarks-managementSkill
- business-adsSkill
- community-health-monitoringSkill
- community-managementSkill
- community-notesSkill
- competitor-intelligenceSkill
- content-cleanupSkill
- content-postingSkill
- content-repurposingSkill
- creator-monetizationSkill
- crm-managementSkill
- delegate-accessSkill
- direct-messagesSkill
- discovery-exploreSkill
- engagement-interactionSkill
- follower-monitoringSkill
- graph-analysisSkill
- grok-aiSkill
- growth-automationSkill
- lead-generationSkill
- lists-managementSkill
- media-studioSkill
- notifications-managementSkill
- post-editingSkill
- premium-subscriptionsSkill
- profile-managementSkill
- reputation-auditSkill
- saved-searchesSkill
- settings-privacySkill
- spaces-liveSkill
- teams-managementSkill
- topic-managementSkill
- twitter-scrapingSkill
- unfollow-managementSkill
- video-downloadingSkill
- viral-thread-generationSkill
- webhooksSkill
- x402-paymentsSkill
- xactions-cliSkill
- xactions-mcp-serverSkill
- x-pro-managementSkill
The file
Files
Timeline Viewing & Scraping
Browser console scripts for viewing, switching, and collecting posts from your X timeline.
Script Selection
| Goal | File | Navigate to |
| Switch timeline, auto-scroll, export posts | src/timelineViewer.js | x.com/home |
| Scrape timeline posts into structured data | src/timelineScraper.js | x.com/home |
Quick Start
- Go to
x.com/home - Open DevTools (F12) → Console
- Paste
src/timelineViewer.js→ Enter - JSON file auto-downloads when complete
Configuration (timelineViewer.js)
const CONFIG = {
timeline: 'for-you', // 'for-you' or 'following'
autoSwitch: true, // Automatically switch to selected timeline
collectPosts: true, // Scroll and collect posts
maxPosts: 100, // Max posts to collect
exportData: true, // Auto-download JSON when done
scrollDelay: 2000, // ms between scroll actions
delayBetweenActions: 1500, // ms between UI actions
maxScrollRetries: 8, // Empty scrolls before stopping
};Available Functions
// timelineViewer.js
XActions.switchTo('for-you') // Switch to For You timeline
XActions.switchTo('following') // Switch to Following timeline
XActions.collect() // Start collecting posts
XActions.export() // Export collected posts as JSON
XActions.abort() // Stop collection
// timelineScraper.js
XActions.scrape({ maxPosts: 200 }) // Scrape with custom limit
XActions.results() // Get collected results
XActions.download() // Download as JSONOutput Data Structure
Each collected post includes:
- Tweet ID, author, handle, avatar
- Tweet text, timestamp
- Likes, retweets, replies, views counts
- Media URLs (if any)
- Is retweet / is quote tweet
Notes
- Timeline data is only what's visible/scrolled in your browser session
for-youcontent is personalized;followingshows only accounts you follow- Increase
maxPostsfor deeper scrapes (slower, more scroll rounds) - Different from
twitter-scrapingwhich targets specific profiles, not your feed
Related Skills
- twitter-scraping — Scrape a specific user's profile or tweet history
- analytics-insights — Analyze engagement metrics on your timeline
- discovery-explore — Find trending content beyond your timeline
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

