beepctl技能使用说明
2026-03-31
新闻来源:网淘吧
围观:11
电脑广告
手机广告
beepctl
用于Beeper Desktop API 的 CLI——通过终端统一收发消息。通过单一界面控制所有消息平台(Telegram、WhatsApp、Slack、iMessage 等)。
📖设置与安装:参见GitHub 仓库

快速开始
beepctl accounts # List connected accounts
beepctl chats list # List recent chats
beepctl chats list --search "John" # Find a chat
beepctl search "meeting" --after "1d ago" # Search messages
beepctl send <chat-id> "Hello!" # Send a message
命令
认证管理
beepctl auth show # Check auth status and token
beepctl auth set <token> # Set API token
beepctl auth clear # Clear saved token
账户
beepctl accounts # List all connected accounts
浏览聊天
beepctl chats list # List inbox (non-archived)
beepctl chats list --limit 20 # Limit results
beepctl chats list --search "John" # Filter by name
beepctl chats list --inbox archive # Archived chats only
beepctl chats list --inbox low-priority # Low-priority chats
beepctl chats list --inbox all # All chats
beepctl chats list --type group # Filter by type (single/group/any)
beepctl chats list --unread-only # Unread chats only
beepctl chats list --activity-after "1d ago" # Recent activity filter
beepctl chats show <chat-id> # Detailed chat info with participants
beepctl chats create <account> <users...> # Create new chat
收件箱过滤器: 主要(默认)、归档、低优先级、全部
列出消息
beepctl messages <chat-id> # Recent messages from a chat
beepctl messages <chat-id> --limit 10 # Limit results
beepctl messages work --after "1d ago" # Use alias + time filter
beepctl messages <chat-id> --before "1h ago" # Messages before a time
搜索消息
beepctl search "query" # Search across all chats
beepctl search "query" --limit 10 # Limit results
beepctl search "meeting" --after "1d ago" # Time filter
beepctl search "hello" --chat work # Filter by chat/alias
beepctl search "files" --media file # Filter by media type
beepctl search "dm" --chat-type single # Filter by chat type
beepctl search "update" --sender others # Filter by sender (me/others)
beepctl search "msg" --account <id> # Filter by account
beepctl search "todo" --include-low-priority # Include low-priority chats
beepctl search "important" --exclude-muted # Exclude muted chats
组合过滤器:
beepctl search "deploy" --chat work --sender others --after "1d ago" --media link
beepctl search "hello" --chat work family # Multiple chats (space-separated)
beepctl search "test" --chat id1,id2,id3 # Multiple chats (comma-separated)
时间格式: 1小时前,2天前,3周前,1个月前,昨天,今天
媒体类型: 任意,视频,图片,链接,文件
别名
为常用聊天ID创建快捷方式:
beepctl alias list # List all aliases
beepctl alias add work <chat-id> # Create alias
beepctl alias show work # Show alias value
beepctl alias remove work # Remove alias
beepctl send work "Using alias!" # Use alias in any command
归档聊天
beepctl archive <chat-id> # Archive a chat
beepctl archive <chat-id> --unarchive # Unarchive
beepctl archive work # Use alias
beepctl archive <chat-id> --quiet # No confirmation message
发送消息
⚠️切勿在未获得用户明确同意前发送任何消息!始终显示消息内容和收件人,然后请求确认。
beepctl send <chat-id> "Hello!" # Send message
beepctl send myself "Quick note" # Send to self
beepctl send <chat-id> "Reply" --reply-to <msg-id> # Reply to message
beepctl send <chat-id> "msg" --quiet # No confirmation output
聚焦(置顶)
beepctl focus # Bring Beeper to foreground
beepctl focus <chat-id> # Open a specific chat
beepctl focus <chat-id> -m <msg-id> # Jump to specific message
beepctl focus <chat-id> -d "draft" # Pre-fill draft text
beepctl focus <chat-id> -a /path/file # Pre-fill draft attachment
发送媒体
beepctl send仅支持文本。要发送媒体,请使用带草稿的聚焦功能:
beepctl focus <chat-id> -a /path/to/image.png -d "Caption"
# Then press Enter in Beeper to send
联系人
beepctl contacts search <account> <query> # Search contacts on an account
下载附件
beepctl download <mxc-url> # Download attachment (mxc:// URLs)
beepctl download <mxc-url> -o /path # Save to specific path
提醒
beepctl reminders set <chat> 30m # Remind in 30 minutes
beepctl reminders set <chat> 1h # Remind in 1 hour
beepctl reminders set <chat> 2d # Remind in 2 days
beepctl reminders set <chat> tomorrow # Remind tomorrow
beepctl reminders clear <chat> # Clear reminder
提示
- 聊天ID的格式如下:
!gZ42vWzDxl8V0sZXWBgO:beeper.local - 使用别名以避免输入长聊天ID
- 特殊别名
myself用于发送到您自己的聊天
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~