Backend
25,681 installs
xdrop
by xixu-me/skills
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,…
Skill content
Encrypted file transfer via Xdrop server with CLI upload and download automation. - Two core scripts: upload.mjs sends files/directories to an Xdrop server and returns a share link; download.mjs fetches and decrypts files from a share link locally - Supports key flags: --quiet for clean stdout, --json for structured output, --expires-in for transfer expiry, --output for download destination, and --api-url for 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 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 bun scripts/upload.mjs --server <xdrop-site-url> <file-or-directory> [...]