Kimberlying GitHub avatar

x-high-exposure-to-obsidian-skill

Kimberlying

A local automation tool that extracts high-exposure tweets from specified X/Twitter accounts and saves them to Obsidian using the official Obsidian Web Clipper.

Stars

32

7-day growth

No data

Forks

7

Open issues

0

License

No data

Last updated

2026-07-06

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It bridges the gap between social media browsing and personal knowledge management by automatically curating tweets that have already proven popular (high view count), enabling users to build a reusable content library without manual effort.

Who it is for

  • Content creators looking for trending topics
  • Social media operators monitoring competitor or influencer content
  • Product managers gathering user feedback or market signals
  • Independent developers building a personal knowledge base from X

Use cases

  • Automatically archive top-performing tweets from a list of influencers for later analysis
  • Build a curated repository of high-engagement content for content strategy research
  • Track and save viral tweets from industry leaders without daily manual browsing
  • Maintain a searchable Obsidian vault of X content with metadata (tweet ID, views, author, timestamp)

Strengths

  • Works entirely on local machine, does not upload credentials or cookies
  • Flexible filtering: configurable view threshold (default 90k), time range (30-90 days), and number of saves per account (default 5)
  • Supports multiple browsers (Chrome, Dia) and batch processing of multiple accounts
  • Integrates with Obsidian Web Clipper for direct vault saving and organizes content by account in a designated subfolder

Considerations

  • Requires macOS and specific browser (Chrome/Dia) with logged-in X account and Obsidian Web Clipper installed
  • Depends on X frontend structure; script may break if X changes its page layout
  • Only captures publicly accessible content visible to the user's logged-in X account

README quick start

X High Exposure to Obsidian Skill

一个本地自动化工具:输入 X/Twitter 博主链接,自动筛选最近高曝光推文,并通过官方 Obsidian Web Clipper 保存到 Obsidian。

它适合内容创作者、运营、产品经理、独立开发者做热点素材库:不用每天手动刷 X,只要给出目标账号,就能把近期被市场验证过的高浏览内容沉淀到自己的知识库。

它能帮你拿到什么

  • 指定博主最近 30 天的高曝光推文
  • 如果 30 天内候选不够,最多扩展到 90 天
  • 默认筛选浏览量 > 90000 的内容
  • 默认每个账号保存浏览量最高的 5 篇
  • 自动保存到 Obsidian 的 高曝光/博主名/ 目录
  • 自动记录 tweet_id、浏览量、作者、原始链接、发布时间等元数据

简单说:它帮你从 X 信息流里筛出“已经跑出来的数据热点”,然后归档成可复盘的素材库。

工作流程

输入目标 X 博主链接
      ↓
读取本机 Chrome/Dia 登录态
      ↓
抓取该博主近期推文
      ↓
按浏览量筛选高曝光内容
      ↓
按浏览量排序取 Top 5
      ↓
打开推文原页面
      ↓
触发 Obsidian Web Clipper
      ↓
保存到 Obsidian/高曝光/博主名/

前置要求

运行者需要在自己的电脑上准备:

  • macOS
  • Google Chrome 或 Dia
  • 浏览器已登录自己的 X/Twitter 账号
  • 已安装官方 Obsidian Web Clipper
  • Obsidian 已打开目标 vault
  • macOS 已允许 Terminal/Codex 控制 System Events、Chrome/Dia、Obsidian

这个工具不会保存你的 X 密码,也不会上传你的 Cookie。它只在本机读取浏览器登录态,用来请求你自己能访问的 X 内容。

1. 下载项目

git clone https://github.com//x-high-exposure-to-obsidian-skill.git
cd x-high-exposure-to-obsidian-skill

如果你是直接下载 ZIP,也可以解压后进入项目目录。

2. 检查环境

Chrome 用户:

python3 scripts/x_to_obsidian.py --browser chrome --setup
python3 scripts/x_to_obsidian.py --browser chrome --vault-subdir "高曝光" --preflight

Dia 用户:

python3 scripts/x_to_obsidian.py --browser dia --setup
python3 scripts/x_to_obsidian.py --browser dia --vault-subdir "高曝光" --preflight

如果 macOS 弹出权限提示,请允许 Terminal/Codex 控制浏览器、Obsidian 和 System Events。

3. 先 Dry Run

Dry run 只找候选,不写入 Obsidian:

python3 scripts/x_to_obsidian.py \
  --browser chrome \
  --accounts-text "https://x.com/levelsio" \
  --vault-subdir "高曝光"

默认规则已经内置:

最近 30 天
不够时扩展到 90 天
浏览量 > 90000
每个账号最多预览 5 篇

4. 保存到 Obsidian

保存单个账号的高曝光内容:

python3 scripts/x_to_obsidian.py \
  --browser chrome \
  --accounts-text "https://x.com/levelsio" \
  --vault-subdir "高曝光" \
  --save-required \
  --save \
  --clip-mode popup \
  --close-after-save

保存多个账号:

python3 scripts/x_to_obsidian.py \
  --browser chrome \
  --accounts-text $'https://x.com/levelsio\nhttps://x.com/paulg' \
  --vault-subdir "高曝光" \
  --save-required \
  --save \
  --clip-mode popup \
  --close-after-save

多账号运行时,每个账号默认最多保存 5 篇。

保存后的目录

Obsidian Vault/
└── 高曝光/
    ├── levelsio/
    │   ├── 推文1.md
    │   ├── 推文2.md
    │   └── 推文3.md
    └── paulg/
        ├── 推文1.md
        └── 推文2.md

常用参数

  • `--b

Description

筛选 X/Twitter 高曝光推文,并通过 Obsidian Web Clipper 自动保存到 Obsidian 的本地 Codex Skill。

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482