DWLF市场分析
加密货币与股票技术分
该技能通过MCP服务器和CLI命令管理Dropbox文件,采用Swift原生实现,集成SwiftyDropbox SDK,支持OAuth 2.0 PKCE认证流程,并将令牌安全存储于macOS Keychain。
1. 安装依赖
brew install rclone
2. 克隆并构建项目
git clone https://github.com/RyanLisse/Dropbook.git
cd Dropbook
make build
3. OAuth登录(推荐)
export DROPBOX_APP_KEY="your_key"
export DROPBOX_APP_SECRET="your_secret"
make login
此流程生成PKCE验证器,打开授权URL,交换令牌后存入Keychain,支持自动刷新。
4. 启动MCP服务器
make mcp
5. CLI命令示例
make list # 列出根目录
swift run dropbook search "关键词" # 搜索文件
swift run dropbook upload /本地路径 /远程路径
swift run dropbook download /远程路径 /本地路径
见下方输入与输出表格。
| 项目 | 内容 |
|---|---|
| 输入 | Dropbox App Key、App Secret、本地/远程文件路径、搜索关键词、OAuth授权码 |
| 输出 | 文件列表、搜索结果、上传/下载状态、账户信息(名称/邮箱)、文本文件内容 |
| 适用人群 | macOS用户、需要自动化Dropbox文件管理的开发者、使用Claude Code的工程师 |
| 不包含 | Windows/Linux原生支持、文件永久删除、非UTF-8编码文件读取、批量操作接口 |
原始链接:https://github.com/openclaw/skills/tree/main/skills/ryanlisse/dropbox/SKILL.md
来源类型:GitHub仓库