SuperAPI AI 工具集

bird

通用与其它

查看项目

更新于 10-16 09:29

技能介绍

用途:bird 是面向 X/Twitter 的命令行工具,通过 GraphQL 接口与 cookie 认证实现读取、搜索、发布和社交互动等操作。

主要能力:账户与认证方面提供 whoami、check、query-ids --fresh;阅读方面支持 read、thread、replies;时间线支持 home、home --following、user-tweets、mentions;搜索支持关键词与高级语法;还提供 news/trending、lists、bookmarks、likes、following、followers、about 等查询,以及 follow、unfollow、tweet、reply 等操作。媒体上传支持最多 4 张图片或 1 个视频,可附 alt 说明。

使用方式:安装可执行 npm install -g @steipete/bird、brew install steipete/tap/bird,或使用 bunx @steipete/bird 一次性运行。认证采用 cookie,可用 --auth-token/--ct0 直接传值,或用 --cookie-source 读取浏览器 cookie,运行 bird check 查看当前来源;Arc/Brave 需配合 --chrome-profile-dir。支持通过 --json、--json-full、--plain 等控制输出,分页命令支持 --all、--max-pages、--cursor、--delay。配置文件位于 ~/.config/bird/config.json5 或项目内 ./.birdrc.json5,也可用环境变量设置超时等参数。

限制:发布操作更容易触发限流,若被阻止应改用浏览器工具;query ID 过期会出现 404,可运行 bird query-ids --fresh 刷新;cookie 提取失败时需确认浏览器已登录 X,或更换 --cookie-source。具体收费、价格与平台支持等细节资料暂未提供。