返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
x

xdrop

Use this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, provides an Xdrop `/t/:transferId#k=...` link to download and decrypt locally, or needs Xdrop CLI flags such as `--quiet`, `--json`, `--expires-in`, `--output`, or `--api-url`, even if they do not explicitly mention the skill name.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
2,100
下载量
0
收藏
概述
安装方式
版本历史

xdrop

# Xdrop Use the bundled scripts inside this skill directory. ## Available scripts - `scripts/upload.mjs` — Upload local files or directories to an Xdrop server and print the share link - `scripts/download.mjs` — Download an Xdrop share link, decrypt it locally, and save the files Environment requirements: - Bun - Local filesystem access - Network access to the target Xdrop server ## Upload ```bash bun scripts/upload.mjs --server <xdrop-site-url> <file-or-directory> [...] ``` Prefer these flags when relevant: - `--quiet`: suppress progress output and keep stdout clean - `--json`: return `transferId`, `shareUrl`, and `expiresAt` - `--expires-in <seconds>`: choose a supported expiry - `--api-url <url>`: override the default `<server>/api/v1` - `--name <value>`: set the transfer display name - `--concurrency <n>`: limit parallel uploads per file Useful examples: ```bash bun scripts/upload.mjs --server http://localhost:8080 ./dist/report.pdf bun scripts/upload.mjs --server http://localhost:8080 --quiet ./archive.zip bun scripts/upload.mjs --server http://localhost:8080 --expires-in 600 --json ./notes.txt ``` If the user wants verification, upload a small temporary file and then confirm the public transfer API or browser can open the returned link. ## Download Require the full share link, including `#k=...`. Without the fragment key, the transfer cannot be decrypted. ```bash bun scripts/download.mjs "<share-url>" ``` Prefer these flags when relevant: - `--output <dir>`: choose the destination directory - `--quiet`: suppress progress output and keep stdout clean - `--json`: return `transferId`, `outputRoot`, and saved file paths - `--api-url <url>`: override the default `<share-origin>/api/v1` Useful examples: ```bash bun scripts/download.mjs "http://localhost:8080/t/abc123#k=..." bun scripts/download.mjs --output ./downloads "http://localhost:8080/t/abc123#k=..." bun scripts/download.mjs --quiet --json --output ./downloads "http://localhost:8080/t/abc123#k=..." ``` By default the downloader writes to `./xdrop-<transferId>` and preserves the manifest's relative paths. ## Gotchas - A download link without the `#k=...` fragment is not decryptable. Ask for the full original share URL. - Use `--quiet` whenever another command or caller needs to capture stdout. Progress logs otherwise go to stderr, but the final result still matters. ## Guardrails - Prefer `--quiet` when another command or script needs to capture stdout. - Keep the full share link fragment intact for downloads. - Do not bypass the scripts' built-in path sanitization or transfer cleanup behavior with manual ad hoc commands unless the user explicitly asks.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 xdrop-1775997241 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 xdrop-1775997241 技能

通过命令行安装

skillhub install xdrop-1775997241

下载 Zip 包

⬇ 下载 xdrop v1.0.0

文件大小: 10.87 KB | 发布时间: 2026-4-13 12:38

v1.0.0 最新 2026-4-13 12:38
Initial release of xdrop skill.

- Upload and download files or directories to/from an Xdrop server via CLI scripts.
- Supports share-link workflows with encryption; downloads require full share link with `#k=...`.
- Includes CLI flags: `--quiet`, `--json`, `--expires-in`, `--output`, `--api-url`, and others.
- Provides usage examples, gotchas, and guardrails for safe, automated file transfers.
- Requires Bun, network, and filesystem access.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部