🦞 clawbsky
A full-featured, professional Bluesky CLI designed for power users and automation.
✨ Key Features
- - Media Support: Post images and videos with automatic metadata/aspect ratio detection.
- Growth Tools: Identify and unfollow accounts that don't follow you back (
unfollow-non-mutuals). - Thread Management: Create long threads automatically from multiple text strings.
- Search & Explore: Deep search for posts, users, and hashtags.
- Moderation: Quick block, mute, and notification management.
🚀 Setup
- 1. Get an App Password: Go to Bluesky Settings and create a new App Password. NEVER use your main account password.
- Install:
npm install
- 3. Configure:
CODEBLOCK1
🛠 Commands
Growth & Maintenance
CODEBLOCK2
Posting & Threads
CODEBLOCK3
Reading
CODEBLOCK4
Engagement & Moderation
CODEBLOCK5
💡 Advanced Usage
Global Options
- -
--json: Get raw data for piping to other tools. - INLINECODE2 : Disable emojis and formatting for cleaner logs.
- INLINECODE3 : Limit results (default: 10).
- INLINECODE4 : Preview actions (like unfollowing) without executing.
🛡 Safety & Ethics
Clawbsky provides powerful automation tools. To protect your account and the Bluesky community:
- 1. Be Human: Do not use
follow-all to search and follow thousands of users daily. This is considered spam and will lead to an account ban. - Respect Limits: Use
unfollow-non-mutuals for periodic maintenance, not for "follow/unfollow" churning. - App Passwords: Only use App Passwords. If you suspect your credentials have been compromised, revoke the App Password immediately in your Bluesky settings.
- Rate Limiting: The tool includes built-in delays (1s/follow) to prevent hitting API limits. Do not attempt to disable these.
Responsibility for account actions lies solely with the user.
Automatic Logic
- - Handle Completion:
@username or username automatically resolves to username.bsky.social. - Rich Text: Mentions and links are auto-detected and facet-encoded for the AT Protocol.
- Video Processing: Automatically polls the Bluesky video service until processing completes.
Built for the AT Protocol community.
🦞 clawbsky
一款功能全面、专业级的Bluesky命令行工具,专为高级用户和自动化场景设计。
✨ 核心特性
- - 媒体支持:发布图片和视频,自动检测元数据/宽高比。
- 增长工具:识别并取消关注未回关的账号(unfollow-non-mutuals)。
- 帖子管理:通过多个文本字符串自动创建长帖串。
- 搜索与探索:深度搜索帖子、用户和话题标签。
- 内容管理:快速屏蔽、静音及通知管理。
🚀 设置
- 1. 获取应用密码:前往 Bluesky 设置 创建新应用密码。切勿使用主账号密码。
- 安装:
bash
npm install
- 3. 配置:
bash
clawbsky login
🛠 命令
增长与维护
bash
clawbsky unfollow-non-mutuals -n 50 # 取消关注前50个未回关用户
clawbsky follow-all 查询词 -n 20 # 自动关注匹配主题的用户
发布与帖串
bash
clawbsky post 文本 [媒体文件...] # 创建帖子
clawbsky thread 第一部分 第二部分 ... # 创建多帖串
clawbsky quote
我的想法 # 引用帖子
阅读
bash
clawbsky home -n 20 # 查看时间线
clawbsky user <用户名> # 查看个人资料
clawbsky user-posts <用户名> # 查看用户近期动态
clawbsky thread # 阅读完整对话分支
互动与管理
bash
clawbsky like/repost # 互动内容
clawbsky block/mute <用户名> # 管理边界
clawbsky notifications # 查看近期互动
💡 高级用法
全局选项
- - --json:获取原始数据,便于管道传输至其他工具。
- --plain:禁用表情符号和格式,输出更简洁的日志。
- -n <数量>:限制结果数量(默认:10)。
- --dry-run:预览操作(如取消关注)而不实际执行。
🛡 安全与伦理
Clawbsky 提供强大的自动化工具。为保护您的账号和 Bluesky 社区:
- 1. 保持人性化:请勿使用 follow-all 每日搜索并关注数千用户。这将被视为垃圾行为,导致账号封禁。
- 尊重限制:使用 unfollow-non-mutuals 进行定期维护,而非用于“关注/取关”刷量。
- 应用密码:仅使用应用密码。若怀疑凭证泄露,请立即在 Bluesky 设置中撤销该应用密码。
- 速率限制:工具内置延迟(1秒/关注)以防止触发 API 限制。请勿尝试禁用这些延迟。
账号行为的责任完全由用户承担。
自动逻辑
- - 句柄补全:@用户名 或 用户名 自动解析为 用户名.bsky.social。
- 富文本:提及和链接自动检测,并为 AT 协议进行分面编码。
- 视频处理:自动轮询 Bluesky 视频服务直至处理完成。
专为 AT 协议社区打造。