# X to Daily Notes Pull recent tweets from your X/Twitter profile and surface anything worth adding to today's Obsidian daily note. **Context:** Many people use X both for sharing work and as a scratchpad for thinking out loud. Tweets often contain raw ideas, observations, creative project seeds, and reactions that haven't been captured in the vault yet. The goal is to catch anything meaningful that would otherwise be lost. ## Step 1: Read Today's Daily Note Use the Obsidian CLI to read today's daily note: ```bash Obsidian daily:read ``` ## Step 2: Open X Profile in Chrome Use browser automation tools to load your X profile: 1. Get current browser state 2. Create a new tab 3. Navigate to your X profile 4. Use JavaScript to extract tweet text and timestamps from the page. Extract from `article[data-testid="tweet"]` elements, getting text from `[data-testid="tweetText"]` and time from `time` elements. 5. Scroll down and repeat extraction to get more tweets. Aim for roughly the last 5-7 days of tweets. 6. For any tweets that appear truncated on the timeline, navigate to the individual tweet URL to get the full text. **Technical notes:** - Tweets are in `article[data-testid="tweet"]` elements - Tweet text is in `[data-testid="tweetText"]` child elements - Timestamps are in `time` elements with `datetime` attributes - X virtualizes the DOM, so older tweets unload as you scroll. Extract in batches. - Some tweets are truncated on the timeline. If a tweet's text ends abruptly, navigate to its individual page to get the full text. ## Step 3: Analyze & Compare Compare the extracted tweets against today's daily note. Identify tweets that contain: - **Ideas or hypotheses** not yet captured in the daily note - **Creative project seeds** (content concepts, experiments) - **Observations about patterns** (technology, culture, etc.) - **Philosophical or strategic thinking** worth preserving - **Notable social proof** (tweets that got unusual engagement, indicating resonance) - **Decisions or commitments** stated publicly Filter out: - Tweets that are just casual conversation or jokes with no deeper thread - Things already well-captured in today's daily note - Simple retweets or reshares without added commentary - One-off reactions that don't connect to any ongoing thread of thinking For tweets that pass the filter, use the Obsidian CLI to check for vault connections: ```bash Obsidian search query="<tweet topic or key phrase>" ``` If a tweet connects to an existing vault note, mention this in the suggestion: "This tweet about X connects to [[existing note]]." This makes the captured item more valuable by grounding it in existing thinking. ## Step 4: Present Suggestions Present each suggested addition as a numbered item with: - A short bold title describing the idea/theme - The relevant tweet text (or synthesized version for threads) - Why it's worth capturing (connects to X project, new idea, etc.) Ask which items to add. Accept numbers (e.g., "1, 3, 5" or "all"). ## Step 5: Add to Daily Notes For approved items, use `Obsidian daily:read` to get the current note content, then insert items above the reflection/wrap section. For simple appends, use: ```bash Obsidian daily:append content="<content>" ``` When inserting: - Each item gets its own `---` separator - Write in first person, direct, conversational - Add relevant `[[backlinks]]` to existing vault notes where natural - Tag ideas with `#idea` where appropriate - Keep the raw energy of the original tweet but expand slightly for vault context - Don't over-edit or make it sound formal ## Output Style Be concise. This should feel like a quick 5-minute sweep, not a lengthy analysis.