xdrop

oleh xixu-me

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.

npx skills add https://github.com/xixu-me/skills --skill 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

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:

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.

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:

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.

Lebih banyak skill dari xixu-me

github-actions-docs
xixu-me
Gunakan saat pengguna bertanya cara menulis, menjelaskan, menyesuaikan, memigrasikan, mengamankan, atau memecahkan masalah alur kerja GitHub Actions, sintaks alur kerja, pemicu, matriks, runner, alur kerja yang dapat digunakan kembali, artefak, caching, rahasia, OIDC, penerapan, tindakan kustom, atau Actions Runner Controller, terutama saat mereka membutuhkan dokumentasi resmi GitHub, tautan yang tepat, atau panduan YAML yang didasarkan pada dokumentasi.
developmentdevopsdocument
use-my-browser
xixu-me
Gunakan ketika pekerjaan bergantung pada sesi browser langsung pengguna atau status render yang terlihat, bukan pengambilan statis, terutama untuk konteks debugging browser atau elemen atau permintaan yang dipilih melalui DevTools, dasbor yang sudah login atau alur CMS, aplikasi localhost, formulir, unggahan, unduhan, inspeksi media, inspeksi DOM atau iframe, Shadow DOM, atau kegagalan browser yang tampak seperti soft 404, dinding autentikasi, pemeriksaan anti-bot, atau batas kecepatan.
browser-automationweb-scrapingtesting
readme-i18n
xixu-me
Gunakan saat pengguna ingin menerjemahkan README repositori, membuat repositori multibahasa, melokalkan dokumen, menambahkan pengalih bahasa, menginternasionalkan README, atau memperbarui varian README yang telah dilokalkan di repositori bergaya GitHub.
documentdevelopmentapi
openclaw-secure-linux-cloud
xixu-me
Gunakan saat menghosting sendiri OpenClaw di server cloud, memperkuat gateway OpenClaw jarak jauh, memilih antara tunneling SSH, Tailscale, atau paparan reverse-proxy, atau meninjau Podman, pemasangan, sandboxing, autentikasi token, dan default izin alat untuk penyebaran pribadi yang aman.
devopssecurity
develop-userscripts
xixu-me
Gunakan saat membangun, men-debug, memaketkan, atau menerbitkan userscript peramban untuk Tampermonkey atau ScriptCat, termasuk API GM, blok metadata, masalah izin, pengaturan @match/@grant/@connect, skrip latar belakang atau terjadwal ScriptCat, blok UserConfig, atau alur kerja langganan.
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
Gunakan saat menyiapkan, memperkuat, atau meninjau server cloud untuk hosting mandiri, termasuk DNS, SSH, firewall, Nginx, hosting situs statis, reverse-proxy aplikasi, HTTPS dengan Let's Encrypt atau klien ACME, pengalihan HTTP-ke-HTTPS yang aman, atau penyesuaian jaringan pasca-peluncuran opsional seperti BBR.
devopssecurityaws
opensource-guide-coach
xixu-me
Gunakan ketika pengguna ingin panduan tentang memulai, berkontribusi, mengembangkan, mengelola, mendanai, mengamankan, atau mempertahankan proyek sumber terbuka, atau bertanya tentang orientasi kontributor, kesehatan komunitas, kelelahan pengelola, kode etik, metrik, dasar-dasar hukum, atau adopsi proyek sumber terbuka.
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
Gunakan saat merutekan Claude Code melalui proxy LiteLLM lokal ke GitHub Copilot, mengurangi pengeluaran langsung ke Anthropic, mengonfigurasi override ANTHROPIC_BASE_URL atau ANTHROPIC_MODEL, atau memecahkan masalah kegagalan pengaturan proxy Copilot seperti model-not-found, tidak ada lalu lintas localhost, atau kesalahan otentikasi GitHub 401/403.
developmentapidevops