xdrop
Originally fromxixu-me/xdrop
Installation
Summary
Encrypted file transfer via Xdrop server with CLI upload and download automation.
- Two core scripts:
upload.mjssends files/directories to an Xdrop server and returns a share link;download.mjsfetches and decrypts files from a share link locally - Supports key flags:
--quietfor clean stdout,--jsonfor structured output,--expires-infor transfer expiry,--outputfor download destination, and--api-urlfor custom server endpoints - Download links must include the full
#k=...fragment for decryption; without it, files cannot be recovered - Requires Bun runtime, local filesystem access, and network connectivity to the target Xdrop server
SKILL.md
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 linkscripts/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
bun scripts/upload.mjs --server <xdrop-site-url> <file-or-directory> [...]