Scripts2026年7月25日·1 分钟阅读

ffsend — Share Files Securely from the Command Line

ffsend is a CLI tool for securely uploading and sharing files using end-to-end encryption, originally built for Firefox Send and now compatible with self-hosted Send instances.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
ffsend
直接安装命令
npx -y tokrepo@latest install 03e460b4-8847-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

ffsend provides a fast, encrypted way to share files from the terminal without relying on email attachments or cloud storage accounts. Files are end-to-end encrypted in the browser or CLI, and links automatically expire after a set number of downloads or a time limit.

What ffsend Does

  • Uploads files with client-side end-to-end encryption
  • Generates shareable download links with configurable expiration
  • Supports download count limits and password protection
  • Works with any Send-compatible server instance
  • Handles files up to the server-configured size limit

Architecture Overview

ffsend encrypts files locally using AES-128-GCM before uploading them to a Send-compatible server. The encryption key is embedded in the URL fragment (never sent to the server), so only someone with the full link can decrypt the file. The server stores only encrypted blobs and metadata about download counts and expiration.

Self-Hosting & Configuration

  • Install via package managers: brew, snap, AUR, or download binaries
  • Set FFSEND_HOST to point at a self-hosted Send instance
  • Configure default download limits and expiration in shell aliases
  • Use --password flag to add an additional passphrase layer
  • Pipe stdin directly: cat file | ffsend upload -

Key Features

  • End-to-end encryption ensures the server never sees plaintext
  • Configurable download limits (1 to 20) and expiration (up to 7 days)
  • Password protection for an additional security layer
  • Archive and upload entire directories as a zip
  • Scriptable for CI/CD pipelines and automation workflows

Comparison with Similar Tools

  • croc — Peer-to-peer file transfer without a server; ffsend uses a hosted relay with encryption
  • magic-wormhole — Also peer-to-peer with passphrase exchange; ffsend generates a shareable URL
  • transfer.sh — Simple curl-based uploads; ffsend adds client-side encryption and download limits
  • OnionShare — Routes through Tor for anonymity; ffsend prioritizes ease of use over anonymity

FAQ

Q: Is Firefox Send still available? A: Mozilla shut down Firefox Send in 2020, but the protocol lives on through community forks like send.vis.ee and self-hosted instances.

Q: How large a file can I upload? A: The limit depends on the server. Most public instances allow up to 1-2 GB. Self-hosted instances can be configured for larger files.

Q: Are uploads anonymous? A: ffsend does not require authentication. However, the server sees your IP address unless you use a VPN or Tor.

Q: Can I use ffsend in scripts or CI pipelines? A: Yes. ffsend outputs the download URL to stdout, making it easy to capture in scripts. Use --quiet for machine-readable output.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产