Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

docs(site): introduce official cross-network access

baiyuze9fdbde8f01d0
diff --git a/README.md b/README.md
index 5462ef2..59c08c6 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@
Universal Clipboard needs the same Apple ID and both Macs close by. AirDrop makes you accept every time and doesn't touch the clipboard. Messaging yourself means manual downloads and your files on someone else's server. With one Mac and one Windows PC, none of the built-in options work.
-With PasteFerry you pair two computers once. After that, copy on one and paste on the other — Mac to Mac, Mac to Windows, or Windows to Windows. On the same network it works with no server at all; across networks, a server you run yourself or Tailscale lets the two find each other. Data goes directly between the devices, end-to-end encrypted; when a direct connection can't be made, it is relayed through your server, which still can't read it.
+With PasteFerry you pair two computers once. After that, copy on one and paste on the other — Mac to Mac, Mac to Windows, or Windows to Windows. On the same network it works without a server. Across networks, enable **Settings → Use official service**: no server to host and no address to enter. Direct connections are tried first; if they fail, official relay forwards end-to-end encrypted packets. Custom servers and Tailscale remain available.
| | PasteFerry | Universal Clipboard | AirDrop | Chat apps |
|---|:-:|:-:|:-:|:-:|
@@ -43,7 +43,7 @@ With PasteFerry you pair two computers once. After that, copy on one and paste o
| Between Mac and Windows | ✓ | — | — | ✓ |
| Files and whole folders | ✓ | Unreliable | ✓ | Zipped |
| History of what you copied | ✓ | — | — | Scroll back |
-| Content stays off third-party servers | ✓ | ✓ | ✓ | — |
+| Only your devices can decrypt content | ✓ | ✓ | ✓ | — |
## Features
@@ -64,7 +64,7 @@ With PasteFerry you pair two computers once. After that, copy on one and paste o
## Get started
-New here? The **[quick start](https://pasteferry.cc/en/start/)** walks through it with screenshots. You need **the app on each computer**. On the same network that's all; across networks, add a server or Tailscale.
+New here? The **[quick start](https://pasteferry.cc/en/start/)** walks through it with screenshots. You need **the app on each computer**. On the same network that's all; across networks, enable official access or use your own server or Tailscale.
**1. Install the app** on each computer from the **[download page](https://pasteferry.cc/en/download/)**:
@@ -76,15 +76,16 @@ The builds aren't notarized or code-signed yet: on Mac, allow it once under **Sy
**2. Pair.** On one computer, **Devices → Add device → Show a code**; on the other, **Enter a code**. On a different subnet, click **On a different subnet?** and also enter the address shown under the code. Confirm only if both screens show the same two fingerprint lines. From then on, copy on either one and paste on the other.
-**3. Across networks (optional).** Three ways to connect, each with a step-by-step guide:
+**3. Across networks (optional).** Enable **Use official service** on both computers before pairing; existing pairings are kept. New installs keep this off until you choose it. See the [official service guide](https://pasteferry.cc/en/official/). Other connection choices remain available:
| Way | Best for | You need |
|---|---|---|
+| **[Official service](https://pasteferry.cc/en/official/)** | Different networks without hosting a server | Enable one switch on each computer; current default relay allowance is 100 MB/day per machine quota group, upload plus download; direct traffic does not consume it |
| **[Same network](https://pasteferry.cc/en/lan/)** | Computers behind one router, at home or in the office | Nothing |
| **[Public server](https://pasteferry.cc/en/cloud/)** | Computers on different networks that should sync from anywhere | A Linux VM with a public IP; the smallest is enough |
| **[Tailscale](https://pasteferry.cc/en/tailscale/)** | Across networks without a server | [Tailscale](https://tailscale.com) on every computer; enter the other's Tailscale address when pairing |
-On a public server:
+To self-host instead (optional):
```bash
curl -LO https://github.com/baiyuze/pasteferry/releases/latest/download/pasteferry-server-linux-amd64.tar.gz
@@ -92,30 +93,37 @@ tar xzf pasteferry-server-linux-amd64.tar.gz && cd pasteferry-server-linux-amd64
sudo ./install.sh <public IP of the server>
```
-Open TCP 8787, UDP 3478 and UDP 32768–60999, then enter `ws://<server address>:8787/signal` under **Settings → Signaling server** on each computer. Docker and all options: [server deployment guide](server/deploy/README.md).
+Open TCP 8787, UDP 3478 and UDP 32768–60999, then enter `ws://<server address>:8787/signal` under **Settings → Custom server**, then click **Save and connect** on each computer. Docker and all options: [server deployment guide](server/deploy/README.md).
| | Requirement |
|---|---|
| **Mac app** | macOS 13 Ventura or later; Apple silicon and Intel |
| **Windows app** | Windows 10 and 11, x64 |
| **Linux app** | x64 or ARM64; an X11 desktop, or Wayland with XWayland (GNOME and KDE have it by default); GTK 3 |
-| **Server** | Optional, only to sync across networks: Linux (x86_64, ARM64; systemd or Docker), macOS, or Windows 10/11 x64 |
+| **Server** | Optional for self-hosting; official access needs no deployment: Linux (x86_64, ARM64; systemd or Docker), macOS, or Windows 10/11 x64 |
| **iPhone / iPad** | Not supported: iOS doesn't let apps watch the clipboard in the background |
-## Optional official access (2.1)
+## Official access and relay allowance (2.1)
New installations keep official public service off. Enable **Settings → Use
official service** to try direct connections first and request official relay
only after direct failure. A separate sidebar shows the daily allowance and
-usage. Both peers need a compatible client for official relay; LAN and custom
+usage, shown in MB with two decimal places. The current default is 100 MB per
+machine quota group per day, upload plus download, resetting at midnight Beijing
+time. Direct traffic does not consume this allowance; direct connections remain
+available when relay allowance is exhausted. Actual limits and availability can
+change and are shown in the app. Both peers need a compatible client for official relay; LAN and custom
servers continue to work without the gateway. See [privacy](PRIVACY.md),
[security](SECURITY.md) and the [public protocol](design/official-gateway.md).
+The official website is **[pasteferry.cc](https://pasteferry.cc/)**. Old GitHub
+Pages links redirect to it.
+
## Documentation
- [How it works](guide/how-it-works.md): architecture, NAT traversal, security model, fallbacks, lessons learned
- [Troubleshooting](guide/troubleshooting.md) and known limitations
-- [Quick start](https://pasteferry.cc/en/start/) · [Same network](https://pasteferry.cc/en/lan/) · [Public server](https://pasteferry.cc/en/cloud/) · [Tailscale](https://pasteferry.cc/en/tailscale/) · [Run a server on your LAN](https://pasteferry.cc/en/server/), all with screenshots
+- [Official service](https://pasteferry.cc/en/official/) · [Quick start](https://pasteferry.cc/en/start/) · [Same network](https://pasteferry.cc/en/lan/) · [Public server](https://pasteferry.cc/en/cloud/) · [Tailscale](https://pasteferry.cc/en/tailscale/) · [Run a server on your LAN](https://pasteferry.cc/en/server/), all with screenshots
- [Server deployment](server/deploy/README.md): Windows, macOS, Linux, Docker, Tailscale
- [Building from source](guide/building.md)
- Design notes (Chinese): [Local network mode](design/lan-mode.md), [NAT traversal on multi-uplink networks](design/nat-traversal.md), [Windows client](design/windows-client.md)
diff --git a/README.zh-CN.md b/README.zh-CN.md
index f195603..97b4707 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -33,7 +33,7 @@
通用剪贴板要同一个 Apple ID、两台离得近;隔空投送每次都要点接收,也不管剪贴板;发给自己要手动下载,文件还留在别人的服务器上。一台 Mac、一台 Windows 时,系统自带的办法一个都用不了。
-隔空贴的做法是:两台电脑配对一次,之后在一台上复制,另一台上直接粘贴。Mac 与 Mac、Mac 与 Windows、Windows 与 Windows 都可以。同一个网络里装好就能用,不需要服务器;跨网络时,由你自己部署的服务器或 Tailscale 让两台电脑找到彼此。数据在两台设备之间直接传输,全程端到端加密,打不通直连时经你的服务器中转,服务器也看不到内容。
+隔空贴的做法是:两台电脑配对一次,之后在一台上复制,另一台上直接粘贴。Mac 与 Mac、Mac 与 Windows、Windows 与 Windows 都可以。同一个网络里装好就能用,不需要服务器;跨网络时,在两台电脑的「设置」中开启「使用官方服务」即可,无需自建或填写地址。优先打洞直连,失败后自动加密中转,服务器无法解密内容。自建服务器与 Tailscale 继续可用。
| | 隔空贴 | 通用剪贴板 | 隔空投送 | 聊天软件 |
|---|:-:|:-:|:-:|:-:|
@@ -43,7 +43,7 @@
| Mac 与 Windows 之间 | ✓ | — | — | ✓ |
| 文件与整个文件夹 | ✓ | 不稳定 | ✓ | 打包后可以 |
| 复制历史,可以找回之前的内容 | ✓ | — | — | 翻聊天记录 |
-| 内容不经过第三方服务器 | ✓ | ✓ | ✓ | — |
+| 仅自己的设备可解密内容 | ✓ | ✓ | ✓ | — |
## 功能
@@ -64,7 +64,7 @@
## 开始使用
-第一次用?跟着**[快速开始](https://pasteferry.cc/start/)**一步步来,有截图。需要**每台电脑装一个 App**;同一个网络里这就够了,跨网络时再加一台服务器或 Tailscale。
+第一次用?跟着**[快速开始](https://pasteferry.cc/start/)**一步步来,有截图。需要**每台电脑装一个 App**;同一个网络里这就够了,跨网络时开启官方服务,也可自建服务器或使用 Tailscale。
**1. 在每台电脑上安装 App**,到 **[下载页](https://pasteferry.cc/download/)** 选:
@@ -76,15 +76,16 @@
**2. 配对。**一台点 **设备 → 添加设备 → 生成配对码**,另一台点 **输入配对码**;不在同一网段时,再点 **不在同一网段?** 输入配对码下面显示的地址。两边显示的两行安全指纹完全一致后再确认。之后在任意一台上复制,另一台就能直接粘贴。
-**3. 跨网络时(可选)。**三种连接方式,每种都有图文教程:
+**3. 跨网络时(可选)。**两台电脑均开启「使用官方服务」后再配对,已有配对关系可以继续使用。新安装默认关闭,由你主动开启。详见[官方服务教程](https://pasteferry.cc/official/)。其他连接方式仍然可用:
| 方式 | 适合 | 要准备 |
|---|---|---|
+| **[官方服务](https://pasteferry.cc/official/)** | 跨网络,无需自建服务器 | 每台电脑开启一个开关;当前默认每机器额度组每日 100 MB 中转流量,上下行合计,直连不消耗此额度 |
| **[同一网络](https://pasteferry.cc/lan/)** | 电脑都连着同一个路由器(家里或办公室) | 什么都不用 |
| **[公网服务器](https://pasteferry.cc/cloud/)** | 电脑分散在不同网络里,想在哪儿都能同步 | 一台有公网 IP 的 Linux 云主机,最低配置就够 |
| **[Tailscale](https://pasteferry.cc/tailscale/)** | 要跨网络,但没有公网服务器 | 每台电脑都装 [Tailscale](https://tailscale.com),配对时输入对方的 Tailscale 地址 |
-公网服务器上的安装命令:
+选择自建时的安装命令(可选):
```bash
curl -LO https://github.com/baiyuze/pasteferry/releases/latest/download/pasteferry-server-linux-amd64.tar.gz
@@ -92,21 +93,23 @@ tar xzf pasteferry-server-linux-amd64.tar.gz && cd pasteferry-server-linux-amd64
sudo ./install.sh <服务器公网IP>
```
-放行 TCP 8787、UDP 3478 与 UDP 32768–60999,然后在每台电脑的 **设置 → 信令服务器地址** 填入 `ws://<服务器地址>:8787/signal`。Docker 部署与全部参数见[服务器部署说明](server/deploy/README.md)。国内云服务器的域名没有备案时,客户端里请直接填 IP。
+放行 TCP 8787、UDP 3478 与 UDP 32768–60999,然后在每台电脑的 **设置 → 自定义服务器** 填入 `ws://<服务器地址>:8787/signal`,点击「保存并连接」。Docker 部署与全部参数见[服务器部署说明](server/deploy/README.md)。国内云服务器的域名没有备案时,客户端里请直接填 IP。
| | 要求 |
|---|---|
| **Mac 客户端** | macOS 13 Ventura 及以上;Apple 芯片与 Intel 芯片 |
| **Windows 客户端** | Windows 10 与 11,x64 |
| **Linux 客户端** | x64 或 ARM64;X11 桌面,或带 XWayland 的 Wayland 桌面(GNOME、KDE 默认都带);GTK 3 |
-| **服务器** | 可选,只在跨网络时需要:Linux(x86_64、ARM64;systemd 或 Docker)、macOS,或 Windows 10/11 x64 |
+| **服务器** | 自建时可选,使用官方服务无需部署:Linux(x86_64、ARM64;systemd 或 Docker)、macOS,或 Windows 10/11 x64 |
| **iPhone / iPad** | 暂不支持:iOS 不允许 App 在后台监听剪贴板 |
+官网现已迁至 **[pasteferry.cc](https://pasteferry.cc/)**,原 GitHub Pages 地址会自动跳转。
+
## 文档
- [工作原理](guide/how-it-works.zh-CN.md):架构、NAT 打洞、安全模型、兜底、踩过的坑
- [排障](guide/troubleshooting.zh-CN.md)与已知限制
-- [快速开始](https://pasteferry.cc/start/) · [同一网络](https://pasteferry.cc/lan/) · [公网服务器](https://pasteferry.cc/cloud/) · [Tailscale](https://pasteferry.cc/tailscale/) · [在局域网里部署服务器](https://pasteferry.cc/server/),都是图文教程
+- [官方服务](https://pasteferry.cc/official/) · [快速开始](https://pasteferry.cc/start/) · [同一网络](https://pasteferry.cc/lan/) · [公网服务器](https://pasteferry.cc/cloud/) · [Tailscale](https://pasteferry.cc/tailscale/) · [在局域网里部署服务器](https://pasteferry.cc/server/),都是图文教程
- [服务器部署说明](server/deploy/README.md):Windows、macOS、Linux、Docker、Tailscale
- [从源码构建](guide/building.zh-CN.md)
- 技术方案:[局域网直连](design/lan-mode.md)、[多出口网络的 NAT 打洞](design/nat-traversal.md)、[Windows 客户端](design/windows-client.md)
@@ -118,4 +121,4 @@ sudo ./install.sh <服务器公网IP>
## 可选官方服务(2.1)
-新安装默认关闭官方公网。在设置中开启“使用官方服务”后,先尝试直连,失败才申请官方中转;侧栏显示每日额度和用量。官方中转要求双方使用兼容客户端,局域网和自建服务器可独立运行。详见[隐私说明](PRIVACY.md)、[安全说明](SECURITY.md)及[公开协议](design/official-gateway.md)。
+新安装默认关闭官方公网。在设置中开启“使用官方服务”后,先尝试直连,失败才申请官方中转;侧栏显示每日额度、用量和更新时间,MB 保留两位小数。当前默认每机器额度组每日 100 MB,上下行合计,北京时间零点重置;直连不消耗中转额度,用尽后仍可直连。额度与可用性可能调整,以客户端显示为准。官方中转要求双方使用兼容客户端,局域网和自建服务器可独立运行。详见[隐私说明](PRIVACY.md)、[安全说明](SECURITY.md)及[公开协议](design/official-gateway.md)。
diff --git a/docs/assets/screenshots/en/history-dark.png b/docs/assets/screenshots/en/history-dark.png
index 4bff9db..4856aa8 100644
Binary files a/docs/assets/screenshots/en/history-dark.png and b/docs/assets/screenshots/en/history-dark.png differ
diff --git a/docs/assets/screenshots/en/history.png b/docs/assets/screenshots/en/history.png
index e59f0ea..48fe3df 100644
Binary files a/docs/assets/screenshots/en/history.png and b/docs/assets/screenshots/en/history.png differ
diff --git a/docs/assets/screenshots/en/official-settings-dark.png b/docs/assets/screenshots/en/official-settings-dark.png
new file mode 100644
index 0000000..d3762f2
Binary files /dev/null and b/docs/assets/screenshots/en/official-settings-dark.png differ
diff --git a/docs/assets/screenshots/en/official-usage-dark.png b/docs/assets/screenshots/en/official-usage-dark.png
new file mode 100644
index 0000000..68b18f3
Binary files /dev/null and b/docs/assets/screenshots/en/official-usage-dark.png differ
diff --git a/docs/assets/screenshots/en/settings-cloud-dark.png b/docs/assets/screenshots/en/settings-cloud-dark.png
index 61f213d..1cb214c 100644
Binary files a/docs/assets/screenshots/en/settings-cloud-dark.png and b/docs/assets/screenshots/en/settings-cloud-dark.png differ
diff --git a/docs/assets/screenshots/en/settings-lan-dark.png b/docs/assets/screenshots/en/settings-lan-dark.png
index 556b1bf..125c10a 100644
Binary files a/docs/assets/screenshots/en/settings-lan-dark.png and b/docs/assets/screenshots/en/settings-lan-dark.png differ
diff --git a/docs/assets/screenshots/en/settings.png b/docs/assets/screenshots/en/settings.png
index d14c3c7..10dc04e 100644
Binary files a/docs/assets/screenshots/en/settings.png and b/docs/assets/screenshots/en/settings.png differ
diff --git a/docs/assets/screenshots/history-dark.png b/docs/assets/screenshots/history-dark.png
index f7b6a6c..a086ab3 100644
Binary files a/docs/assets/screenshots/history-dark.png and b/docs/assets/screenshots/history-dark.png differ
diff --git a/docs/assets/screenshots/history.png b/docs/assets/screenshots/history.png
index 2a16df8..9fb4d12 100644
Binary files a/docs/assets/screenshots/history.png and b/docs/assets/screenshots/history.png differ
diff --git a/docs/assets/screenshots/ja/history-dark.png b/docs/assets/screenshots/ja/history-dark.png
index 363330d..5b4df44 100644
Binary files a/docs/assets/screenshots/ja/history-dark.png and b/docs/assets/screenshots/ja/history-dark.png differ
diff --git a/docs/assets/screenshots/ja/history.png b/docs/assets/screenshots/ja/history.png
index b3389ca..3d9c849 100644
Binary files a/docs/assets/screenshots/ja/history.png and b/docs/assets/screenshots/ja/history.png differ
diff --git a/docs/assets/screenshots/ja/official-settings-dark.png b/docs/assets/screenshots/ja/official-settings-dark.png
new file mode 100644
index 0000000..109b0f8
Binary files /dev/null and b/docs/assets/screenshots/ja/official-settings-dark.png differ
diff --git a/docs/assets/screenshots/ja/official-usage-dark.png b/docs/assets/screenshots/ja/official-usage-dark.png
new file mode 100644
index 0000000..b35c2f9
Binary files /dev/null and b/docs/assets/screenshots/ja/official-usage-dark.png differ
diff --git a/docs/assets/screenshots/ja/settings-cloud-dark.png b/docs/assets/screenshots/ja/settings-cloud-dark.png
index df875d4..fef0fac 100644
Binary files a/docs/assets/screenshots/ja/settings-cloud-dark.png and b/docs/assets/screenshots/ja/settings-cloud-dark.png differ
diff --git a/docs/assets/screenshots/ja/settings-lan-dark.png b/docs/assets/screenshots/ja/settings-lan-dark.png
index 57dd37a..6e36a32 100644
Binary files a/docs/assets/screenshots/ja/settings-lan-dark.png and b/docs/assets/screenshots/ja/settings-lan-dark.png differ
diff --git a/docs/assets/screenshots/ja/settings.png b/docs/assets/screenshots/ja/settings.png
index 08ea187..ce08bc0 100644
Binary files a/docs/assets/screenshots/ja/settings.png and b/docs/assets/screenshots/ja/settings.png differ
diff --git a/docs/assets/screenshots/official-settings-dark.png b/docs/assets/screenshots/official-settings-dark.png
new file mode 100644
index 0000000..15e609c
Binary files /dev/null and b/docs/assets/screenshots/official-settings-dark.png differ
diff --git a/docs/assets/screenshots/official-usage-dark.png b/docs/assets/screenshots/official-usage-dark.png
new file mode 100644
index 0000000..d10115b
Binary files /dev/null and b/docs/assets/screenshots/official-usage-dark.png differ
diff --git a/docs/assets/screenshots/settings-cloud-dark.png b/docs/assets/screenshots/settings-cloud-dark.png
index 179f32a..d152772 100644
Binary files a/docs/assets/screenshots/settings-cloud-dark.png and b/docs/assets/screenshots/settings-cloud-dark.png differ
diff --git a/docs/assets/screenshots/settings-lan-dark.png b/docs/assets/screenshots/settings-lan-dark.png
index e0cadca..699159b 100644
Binary files a/docs/assets/screenshots/settings-lan-dark.png and b/docs/assets/screenshots/settings-lan-dark.png differ
diff --git a/docs/assets/screenshots/settings.png b/docs/assets/screenshots/settings.png
index 79abb40..f399fc4 100644
Binary files a/docs/assets/screenshots/settings.png and b/docs/assets/screenshots/settings.png differ
diff --git a/docs/assets/screenshots/zh-hk/history-dark.png b/docs/assets/screenshots/zh-hk/history-dark.png
index d4817cb..41688d5 100644
Binary files a/docs/assets/screenshots/zh-hk/history-dark.png and b/docs/assets/screenshots/zh-hk/history-dark.png differ
diff --git a/docs/assets/screenshots/zh-hk/history.png b/docs/assets/screenshots/zh-hk/history.png
index 55eb433..3c11dd3 100644
Binary files a/docs/assets/screenshots/zh-hk/history.png and b/docs/assets/screenshots/zh-hk/history.png differ
diff --git a/docs/assets/screenshots/zh-hk/official-settings-dark.png b/docs/assets/screenshots/zh-hk/official-settings-dark.png
new file mode 100644
index 0000000..9d3b503
Binary files /dev/null and b/docs/assets/screenshots/zh-hk/official-settings-dark.png differ
diff --git a/docs/assets/screenshots/zh-hk/official-usage-dark.png b/docs/assets/screenshots/zh-hk/official-usage-dark.png
new file mode 100644
index 0000000..0a542e3
Binary files /dev/null and b/docs/assets/screenshots/zh-hk/official-usage-dark.png differ
diff --git a/docs/assets/screenshots/zh-hk/settings-cloud-dark.png b/docs/assets/screenshots/zh-hk/settings-cloud-dark.png
index 52a9dd0..ae9e9d5 100644
Binary files a/docs/assets/screenshots/zh-hk/settings-cloud-dark.png and b/docs/assets/screenshots/zh-hk/settings-cloud-dark.png differ
diff --git a/docs/assets/screenshots/zh-hk/settings-lan-dark.png b/docs/assets/screenshots/zh-hk/settings-lan-dark.png
index 90c9a85..4020524 100644
Binary files a/docs/assets/screenshots/zh-hk/settings-lan-dark.png and b/docs/assets/screenshots/zh-hk/settings-lan-dark.png differ
diff --git a/docs/assets/screenshots/zh-hk/settings.png b/docs/assets/screenshots/zh-hk/settings.png
index f15dbcb..700dfc7 100644
Binary files a/docs/assets/screenshots/zh-hk/settings.png and b/docs/assets/screenshots/zh-hk/settings.png differ
diff --git a/docs/assets/screenshots/zh-tw/history-dark.png b/docs/assets/screenshots/zh-tw/history-dark.png
index 0c51022..9391d93 100644
Binary files a/docs/assets/screenshots/zh-tw/history-dark.png and b/docs/assets/screenshots/zh-tw/history-dark.png differ
diff --git a/docs/assets/screenshots/zh-tw/history.png b/docs/assets/screenshots/zh-tw/history.png
index 2649ccf..503efb6 100644
Binary files a/docs/assets/screenshots/zh-tw/history.png and b/docs/assets/screenshots/zh-tw/history.png differ
diff --git a/docs/assets/screenshots/zh-tw/official-settings-dark.png b/docs/assets/screenshots/zh-tw/official-settings-dark.png
new file mode 100644
index 0000000..058e78a
Binary files /dev/null and b/docs/assets/screenshots/zh-tw/official-settings-dark.png differ
diff --git a/docs/assets/screenshots/zh-tw/official-usage-dark.png b/docs/assets/screenshots/zh-tw/official-usage-dark.png
new file mode 100644
index 0000000..94e9362
Binary files /dev/null and b/docs/assets/screenshots/zh-tw/official-usage-dark.png differ
diff --git a/docs/assets/screenshots/zh-tw/settings-cloud-dark.png b/docs/assets/screenshots/zh-tw/settings-cloud-dark.png
index 6432279..902e622 100644
Binary files a/docs/assets/screenshots/zh-tw/settings-cloud-dark.png and b/docs/assets/screenshots/zh-tw/settings-cloud-dark.png differ
diff --git a/docs/assets/screenshots/zh-tw/settings-lan-dark.png b/docs/assets/screenshots/zh-tw/settings-lan-dark.png
index cdd3d82..e7d4336 100644
Binary files a/docs/assets/screenshots/zh-tw/settings-lan-dark.png and b/docs/assets/screenshots/zh-tw/settings-lan-dark.png differ
diff --git a/docs/assets/screenshots/zh-tw/settings.png b/docs/assets/screenshots/zh-tw/settings.png
index c95a6db..7f7d767 100644
Binary files a/docs/assets/screenshots/zh-tw/settings.png and b/docs/assets/screenshots/zh-tw/settings.png differ
diff --git a/docs/assets/site.css b/docs/assets/site.css
index 1bfac62..d0b9ed2 100644
--- a/docs/assets/site.css
+++ b/docs/assets/site.css
@@ -1724,6 +1724,9 @@ td {
.tablist {
display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ max-width: 100%;
width: fit-content;
margin: 0 auto clamp(2rem, 5vw, 3rem);
padding: 4px;
@@ -2159,7 +2162,7 @@ td {
@media (min-width: 60rem) {
.paths {
- grid-template-columns: repeat(3, minmax(0, 1fr));
+ grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.25rem;
}
}
@@ -2554,3 +2557,20 @@ td {
.guide-hero + #get {
padding-top: clamp(1.5rem, 4vw, 2.5rem);
}
+
+/* Official access release notice and guide. */
+.release-note {
+ display: inline-block;
+ max-width: 100%;
+ margin: 0 0 1.5rem;
+ padding: .6rem 1rem;
+ border: 1px solid var(--rule-strong);
+ border-radius: 12px;
+ background: var(--surface);
+ color: var(--blue-hi);
+ font-size: clamp(.85rem, 2.8vw, 1rem);
+ line-height: 1.5;
+ text-decoration: none;
+}
+.release-note:hover { background: var(--surface-2); }
+.official-copy { max-width: 56rem; }
diff --git a/docs/en/index.html b/docs/en/index.html
index 1ffe5aa..cd64f64 100644
--- a/docs/en/index.html
+++ b/docs/en/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PasteFerry: sync the clipboard and files between Mac, Windows and Linux, across accounts and networks</title>
- <meta name="description" content="PasteFerry lets you copy on one computer and paste on another, Mac, Windows or Linux: text, images, files and folders. No shared account required. On the same network it works with no server at all; across networks, use a server you host or Tailscale. Peer-to-peer and end-to-end encrypted. Free and open source.">
+ <meta name="description" content="PasteFerry syncs clipboard text, images, files and folders across Mac, Windows and Linux. Enable optional official access to connect across networks without hosting a server: direct first, encrypted relay when needed. Free and open source.">
<link rel="canonical" href="https://pasteferry.cc/en/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/">
<link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/">
@@ -25,7 +25,7 @@
<meta property="og:type" content="website">
<meta property="og:site_name" content="PasteFerry">
<meta property="og:title" content="PasteFerry: copy on this computer, paste on that one">
- <meta property="og:description" content="Mac, Windows and Linux. Text, images, files and folders across accounts and networks; peer-to-peer, end-to-end encrypted, no server needed on the same network. Free and open source.">
+ <meta property="og:description" content="PasteFerry syncs clipboard text, images, files and folders across Mac, Windows and Linux. Enable optional official access to connect across networks without hosting a server: direct first, encrypted relay when needed. Free and open source.">
<meta property="og:url" content="https://pasteferry.cc/en/">
<meta property="og:image" content="https://pasteferry.cc/assets/og-en.png">
<meta property="og:image:width" content="1200">
@@ -101,7 +101,7 @@
"name": "How is this different from Universal Clipboard?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "Universal Clipboard needs both devices on the same Apple ID, with Bluetooth and Wi‑Fi on, close to each other, and works only between Apple devices. PasteFerry works on the same network as soon as it's installed; across networks, both computers reach your server or run Tailscale. So different Apple IDs work, one Mac and one Windows PC work, and so does one at home and one at the office. It also keeps a history and lets you pull large files on demand. If your Macs share an Apple ID, sit side by side, and you mostly copy text, the built-in feature is already enough."
+ "text": "Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. Now connect across networks by enabling official access, with no server to host. Direct connections first, end-to-end encryption throughout. If your Macs share an Apple ID, sit side by side, and you mostly copy text, the built-in feature is already enough."
}
},
{
@@ -109,7 +109,7 @@
"name": "Can the server see what I copy?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "No. With a direct connection the data never touches the server. When it relays, it forwards DTLS-encrypted packets. It keeps no accounts and stores no clipboard content. The code is open, so you can check."
+ "text": "It cannot decrypt copied content: direct traffic stays between your devices, and relay forwards end-to-end encrypted packets. Official access retains essential device and quota statistics, described in the privacy notice. The public client and server source does not by itself prove how private production storage is operated."
}
},
{
@@ -125,7 +125,7 @@
"name": "Do I need my own server?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "Not necessarily. When your computers are on the same network, install the app and pair; there's no server. Across networks there are two ways: a public server, where the smallest VM is enough and sync works from anywhere; or Tailscale on each computer, entering the other computer's Tailscale address when pairing, with no server at all. There's no public PasteFerry server, so nobody's data passes through anyone else's machine."
+ "text": "No. For different networks, enable official access on both computers. No cloud VM or address to configure. It is off by default and currently includes 100 MB/day of relay traffic; direct connections do not use that allowance. LAN, self-hosting and Tailscale remain available."
}
},
{
@@ -133,7 +133,7 @@
"name": "No public IP at home. Can I sync between home and the office?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "Yes, in two ways. With a public server, run PasteFerry's server there and connect both computers to it; see the public server guide. Without one, install Tailscale on every computer under the same account and enter the other computer's Tailscale address when pairing; see the Tailscale guide."
+ "text": "No. For different networks, enable official access on both computers. No cloud VM or address to configure. It is off by default and currently includes 100 MB/day of relay traffic; direct connections do not use that allowance. LAN, self-hosting and Tailscale remain available."
}
},
{
@@ -175,6 +175,14 @@
"@type": "Answer",
"text": "Yes. PasteFerry is open source under the GNU AGPL-3.0, so individuals and companies can use and modify it for free. If you distribute it, or offer a modified version over a network, you publish your source under the same license."
}
+ },
+ {
+ "@type": "Question",
+ "name": "Is official relay unlimited?",
+ "acceptedAnswer": {
+ "@type": "Answer",
+ "text": "The current default is 100 MB per machine quota group per day, upload plus download, resetting at midnight Beijing time. Reinstalling does not guarantee a fresh allowance. The usage page shows the actual limit, remaining amount and update time. Direct connections still work when relay allowance runs out. Allowances and availability may change; check the app."
+ }
}
]
}
@@ -212,8 +220,9 @@
<main id="main">
<section class="hero">
<div class="wrap">
+ <a class="release-note" href="official/">New in 2.1: sync across networks without hosting a server →</a>
<h1 class="display">Copy on this computer.<br>Paste on that one.</h1>
- <p class="lede">Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. On the same network it works with no server at all, and it works across networks too. Data moves directly between your devices, end-to-end encrypted.</p>
+ <p class="lede">Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. Now connect across networks by enabling official access, with no server to host. Direct connections first, end-to-end encryption throughout.</p>
<div class="cta">
<a class="button" href="download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download PasteFerry</a>
<a class="button quiet tour-link" href="tour/" data-tour-open aria-haspopup="dialog"><span aria-hidden="true">▶</span> Watch the full tour <span class="tour-duration">1:25</span></a>
@@ -250,8 +259,15 @@
<section class="section" id="deploy" aria-labelledby="deploy-title">
<div class="wrap">
<h2 id="deploy-title">How your computers connect</h2>
- <p class="intro">On the same network, install the app and pair; no server needed. Across networks, your computers find each other through a server or Tailscale, and nothing you copy is stored there. Pick the way that fits.</p>
+ <p class="intro">Same network? Install and pair. Different networks? Enable official access without hosting a server. Custom servers and Tailscale remain available when you prefer to manage the connection yourself.</p>
<div class="paths">
+ <a class="path" href="official/">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <span class="path-when">Across networks, no hosting</span>
+ <h3>Official service</h3>
+ <p>One switch helps your home and office computers find each other. Direct connections first, automatic encrypted relay if needed. No cloud VM or server address to configure.</p>
+ <span class="path-go">Enable official access →</span>
+ </a>
<a class="path" href="lan/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-net" x="6" y="6" width="228" height="100" rx="14"/><path class="p-data" d="M82 52h76"/><rect class="p-dev" x="39" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M34 69h48"/><rect class="p-dev" x="163" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M158 69h48"/></svg>
<span class="path-when">Nothing to set up</span>
@@ -261,8 +277,8 @@
</a>
<a class="path" href="cloud/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
- <span class="path-when">Syncs from anywhere</span>
- <h3>Public server</h3>
+ <span class="path-when">Control your own capacity</span>
+ <h3>Self-hosted server</h3>
<p>A Linux VM with a public IP; the smallest one is enough. Every computer connects to it directly, at home, at the office or anywhere else, with nothing extra to install.</p>
<span class="path-go">Public server guide →</span>
</a>
@@ -274,7 +290,7 @@
<span class="path-go">Tailscale guide →</span>
</a>
</div>
- <p class="note">Not sure? The <a href="start/#server">quick start</a> compares all three.</p>
+ <p class="note">New here? Follow the <a href="start/#server">quick start</a>. Official access is optional; its current relay default is 100 MB/day, and direct traffic does not consume it.</p>
</div>
</section>
@@ -315,7 +331,7 @@
<tr><th scope="row">Paste right away, nothing to accept</th><td class="yes ours">Yes</td><td class="yes">Yes</td><td class="no">No</td><td class="no">No</td></tr>
<tr><th scope="row">Files and whole folders</th><td class="yes ours">Yes</td><td class="partial">Unreliable</td><td class="yes">Yes</td><td class="partial">Zip first</td></tr>
<tr><th scope="row">Find something you copied earlier</th><td class="yes ours">Yes</td><td class="no">No</td><td class="no">No</td><td class="partial">Scroll back</td></tr>
- <tr><th scope="row">Content stays off third-party servers</th><td class="yes ours">Yes</td><td class="yes">Yes</td><td class="yes">Yes</td><td class="no">No</td></tr>
+ <tr><th scope="row">Only your devices can decrypt content</th><td class="yes ours">Yes</td><td class="yes">Yes</td><td class="yes">Yes</td><td class="no">No</td></tr>
</tbody>
</table>
</div>
@@ -464,7 +480,7 @@
<li>Download the DMG, open it and drag PasteFerry into Applications.<span class="aside">There's one for Apple silicon and one for Intel; the download page shows how to tell which your Mac has.</span></li>
<li>Open it from Applications.<span class="aside">The first time, macOS says it can't verify the developer: PasteFerry isn't notarized by Apple yet. Go to System Settings → Privacy &amp; Security and click Open Anyway near the bottom. You only do this once.</span></li>
<li>Click Turn on background sync. When macOS asks whether PasteFerry may read the clipboard or find devices on your local network, allow both.</li>
- <li>To sync across networks, enter your server in Settings as <code>ws://server-address:8787/signal</code> and press Return. On the same network, leave it empty.</li>
+ <li>For different networks, enable Settings → Use official service on each computer. No server address is needed. Custom hosting remains optional.</li>
</ol>
<a class="button" href="download/#macos"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download for Mac</a>
</div>
@@ -473,7 +489,7 @@
<ol>
<li>Run PasteFerry-Setup.exe. It installs for the current user, no administrator rights needed.<span class="aside">PasteFerry isn't code-signed yet, so Windows says "Windows protected your PC": click More info, then Run anyway. To skip the installer, get the <a href="https://github.com/baiyuze/pasteferry/releases/latest/download/PasteFerry-windows-x64.zip">portable zip</a>.</span></li>
<li>Open PasteFerry and click Turn on background sync. Allow it if Windows Firewall asks. After you close the window it keeps running in the notification area.</li>
- <li>To sync across networks, enter your server address in Settings and press Enter. On the same network, leave it empty.</li>
+ <li>For different networks, enable Settings → Use official service on each computer. No server address is needed. Custom hosting remains optional.</li>
</ol>
<a class="button" href="download/#windows"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download for Windows</a>
</div>
@@ -482,17 +498,18 @@
<ol>
<li>On Ubuntu, Debian and similar, download the .deb and run <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>; on other distributions, download the tar.gz, extract it and run <code>./PasteFerry/install.sh</code>.</li>
<li>Open PasteFerry from the app menu and click Turn on background sync. From then on it starts when you log in.</li>
- <li>To sync across networks, enter your server address in Settings and press Enter. On the same network, leave it empty.</li>
+ <li>For different networks, enable Settings → Use official service on each computer. No server address is needed. Custom hosting remains optional.</li>
</ol>
<a class="button" href="download/#linux"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download for Linux</a>
</div>
</div>
<div class="install-more">
<h3><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="4" width="16" height="7" rx="1.5"/><rect x="4" y="13" width="16" height="7" rx="1.5"/><path d="M8 7.5h.01M8 16.5h.01"/></svg>Ways to connect</h3>
- <p class="small">No server on the same network. Pick the way that fits; each has a step-by-step guide:</p>
+ <p class="small">Same network? Install and pair. Different networks? Enable official access without hosting a server. Custom servers and Tailscale remain available when you prefer to manage the connection yourself.</p>
<ul class="opts">
+ <li><a href="official/">Official service</a><span>Across networks, no hosting</span></li>
<li><a href="lan/">Same network</a><span>Nothing to set up</span></li>
- <li><a href="cloud/">Public server</a><span>Syncs from anywhere</span></li>
+ <li><a href="cloud/">Self-hosted server</a><span>Control your own capacity</span></li>
<li><a href="tailscale/">Tailscale</a><span>Across networks, no server</span></li>
</ul>
<a class="button quiet" href="start/#server">Compare the three</a>
@@ -538,11 +555,11 @@
</details>
<details>
<summary>How is this different from Universal Clipboard?</summary>
- <div class="answer"><p>Universal Clipboard needs both devices on the same Apple ID, with Bluetooth and Wi‑Fi on, close to each other, and works only between Apple devices. PasteFerry works on the same network as soon as it's installed; across networks, both computers reach your server or run Tailscale. So different Apple IDs work, one Mac and one Windows PC work, and so does one at home and one at the office. It also keeps a history and lets you pull large files on demand.</p><p>If your Macs share an Apple ID, sit side by side, and you mostly copy text, the built-in feature is already enough.</p></div>
+ <div class="answer"><p>Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. Now connect across networks by enabling official access, with no server to host. Direct connections first, end-to-end encryption throughout.</p><p>If your Macs share an Apple ID, sit side by side, and you mostly copy text, the built-in feature is already enough.</p></div>
</details>
<details>
<summary>Can the server see what I copy?</summary>
- <div class="answer"><p>No. With a direct connection the data never touches the server. When it relays, it forwards DTLS-encrypted packets. It keeps no accounts and stores no clipboard content. The code is open, so you can check.</p></div>
+ <div class="answer"><p>It cannot decrypt copied content: direct traffic stays between your devices, and relay forwards end-to-end encrypted packets. Official access retains essential device and quota statistics, described in the privacy notice. The public client and server source does not by itself prove how private production storage is operated.</p></div>
</details>
<details>
<summary>Does it connect directly on office networks with several uplinks?</summary>
@@ -550,11 +567,11 @@
</details>
<details>
<summary>Do I need my own server?</summary>
- <div class="answer"><p>Not necessarily. When your computers are on the <a href="lan/">same network</a>, install the app and pair; there's no server.</p><p>Across networks there are two ways: a <a href="cloud/">public server</a>, where the smallest VM is enough and sync works from anywhere; or <a href="tailscale/">Tailscale</a> on each computer, entering the other computer's Tailscale address when pairing, with no server at all. There's no public PasteFerry server, so nobody's data passes through anyone else's machine.</p></div>
+ <div class="answer"><p>No. For different networks, enable <a href="official/">official access</a> on both computers. No cloud VM or address to configure. It is off by default and currently includes 100 MB/day of relay traffic; direct connections do not use that allowance. LAN, <a href="cloud/">self-hosting</a> and <a href="tailscale/">Tailscale</a> remain available.</p></div>
</details>
<details>
<summary>No public IP at home. Can I sync between home and the office?</summary>
- <div class="answer"><p>Yes, in two ways. With a public server, run PasteFerry's server there and connect both computers to it; see the <a href="cloud/">public server guide</a>. Without one, install Tailscale on every computer under the same account and enter the other computer's Tailscale address when pairing; see the <a href="tailscale/">Tailscale guide</a>.</p></div>
+ <div class="answer"><p>No. For different networks, enable <a href="official/">official access</a> on both computers. No cloud VM or address to configure. It is off by default and currently includes 100 MB/day of relay traffic; direct connections do not use that allowance. LAN, <a href="cloud/">self-hosting</a> and <a href="tailscale/">Tailscale</a> remain available.</p></div>
</details>
<details>
<summary>Both computers are on the same network. Why can't they find each other?</summary>
@@ -576,6 +593,10 @@
<summary>Is it free? Can my company use it?</summary>
<div class="answer"><p>Yes. PasteFerry is open source under the GNU AGPL-3.0, so individuals and companies can use and modify it for free. If you distribute it, or offer a modified version over a network, you publish your source under the same license.</p></div>
</details>
+ <details>
+ <summary>Is official relay unlimited?</summary>
+ <div class="answer"><p>The current default is 100 MB per machine quota group per day, upload plus download, resetting at midnight Beijing time. Reinstalling does not guarantee a fresh allowance. The usage page shows the actual limit, remaining amount and update time. Direct connections still work when relay allowance runs out. Allowances and availability may change; check the app.</p></div>
+ </details>
</div>
</div>
</section>
diff --git a/docs/en/official/index.html b/docs/en/official/index.html
new file mode 100644
index 0000000..a4f335d
--- /dev/null
+++ b/docs/en/official/index.html
@@ -0,0 +1,113 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Official access: no server to host — PasteFerry</title>
+ <meta name="description" content="One switch helps your home and office computers find each other. Direct connections first, automatic encrypted relay if needed. No cloud VM or server address to configure.">
+ <link rel="canonical" href="https://pasteferry.cc/en/official/">
+ <link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/">
+ <link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/">
+ <link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/">
+ <link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/">
+ <link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/">
+ <meta name="theme-color" content="#141416">
+ <meta property="og:type" content="article">
+ <meta property="og:site_name" content="PasteFerry">
+ <meta property="og:title" content="Official access: no server to host — PasteFerry">
+ <meta property="og:description" content="One switch helps your home and office computers find each other. Direct connections first, automatic encrypted relay if needed. No cloud VM or server address to configure.">
+ <meta property="og:url" content="https://pasteferry.cc/en/official/">
+ <meta property="og:image" content="https://pasteferry.cc/assets/og-en.png">
+ <meta property="og:locale" content="en_US">
+ <meta name="twitter:card" content="summary_large_image">
+ <link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml">
+ <link rel="icon" href="../../assets/favicon-32.png" sizes="32x32" type="image/png">
+ <link rel="apple-touch-icon" href="../../assets/apple-touch-icon.png">
+ <link rel="stylesheet" href="../../assets/site.css">
+</head>
+<body>
+ <a class="skip" href="#main">Skip to content</a>
+
+ <header class="bar">
+ <div class="wrap">
+ <a class="brand" href="../../en/" aria-label="PasteFerry home"><img src="../../assets/icon.svg" alt="" width="26" height="26">PasteFerry</a>
+ <nav aria-label="Page">
+ <a href="../../en/start/">Quick start</a>
+ <a class="wide" href="../../en/#how">How it works</a>
+ <a class="wide" href="../../en/#faq">FAQ</a>
+ <a class="mid" href="../../en/start/#server">Ways to connect</a>
+ <a href="../../en/download/">Download</a>
+ <a class="wide" href="https://github.com/baiyuze/pasteferry">GitHub</a>
+ <details class="lang">
+ <summary aria-label="Language:English"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="10" cy="10" r="7.25"/><path d="M2.75 10h14.5M10 2.75c-2.1 2-3.1 4.4-3.1 7.25s1 5.25 3.1 7.25M10 2.75c2.1 2 3.1 4.4 3.1 7.25s-1 5.25-3.1 7.25"/></svg><span>English</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
+ <ul>
+ <li><a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a></li>
+ <li><a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a></li>
+ <li><a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a></li>
+ <li><a href="../../en/official/" hreflang="en" lang="en" data-lang="en" aria-current="page">English</a></li>
+ <li><a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a></li>
+ </ul>
+ </details>
+ </nav>
+ </div>
+ </header>
+
+ <main id="main">
+ <section class="hero guide-hero"><div class="wrap">
+ <p class="crumb"><a href="../../en/">PasteFerry</a> / Official service</p>
+ <h1 class="display">Across networks, no hosting</h1>
+ <p class="lede">Install 2.1.0 or later on every computer, enable official access in Settings, then pair. Signaling introduces the devices; content travels directly whenever possible and uses encrypted relay only after direct failure.</p>
+ <a class="button" href="../../en/download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Download the latest app</a>
+ </div></section>
+ <section class="section"><div class="wrap">
+ <h2>Three steps to sync across networks</h2>
+ <div class="os-grid"><ol class="steps"> <li>Install the latest app and turn on background sync on every computer.</li>
+ <li>Enable Settings → Use official service on each computer and review the essential-data notice. No official hostname or port to enter.</li>
+ <li>Show a pairing code on one computer, enter it on the other, and compare both fingerprint lines before confirming. Existing pairings are kept.</li></ol>
+ <figure class="shot"><img src="../../assets/screenshots/en/official-settings-dark.png" width="2112" height="1472" alt="The Use official service switch in Settings, without an official address field"></figure>
+ </div>
+ </div></section>
+ <section class="section"><div class="wrap official-copy"><h2>Direct first, relay when needed</h2><p class="intro">Official signaling exchanges connection information between online peers. The clients try STUN discovery and NAT traversal first, requesting relay only after that direct attempt fails. Content remains end-to-end encrypted.</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>Direct traffic does not use relay allowance</h2><p class="intro">The current default is 100 MB per machine quota group per day, upload plus download, resetting at midnight Beijing time. Reinstalling does not guarantee a fresh allowance. The usage page shows the actual limit, remaining amount and update time. Direct connections still work when relay allowance runs out. Allowances and availability may change; check the app.</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>Your choice to enable it</h2><p class="intro">Official access is off on fresh installs. Enabling it records essential access statistics; an application-specific machine digest is derived only when relay is requested. Real device names, raw system identifiers and copied content are not uploaded as statistics. See the privacy notice for fields and retention.</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>Self-hosting stays independent</h2><p class="intro">LAN, custom servers and Tailscale continue to work without the official gateway. Host your own public server when you need to control capacity, then use Save and connect beside its custom address.</p></div></section>
+ <section class="section"><div class="wrap official-copy">
+ <figure class="shot"><img src="../../assets/screenshots/en/official-usage-dark.png" width="2112" height="1472" loading="lazy" alt="Demo usage page showing a 100.00 MB allowance and 80.00 MB remaining"></figure>
+ <p class="note"><a href="../../en/privacy/">Privacy and essential data</a> · <a href="../../en/cloud/">Self-hosting guide</a> · <a href="https://pasteferry.cc/">pasteferry.cc</a></p>
+ </div></section>
+ </main>
+
+ <footer class="footer">
+ <div class="wrap">
+ <p>PasteFerry is open source under the GNU AGPL-3.0.</p>
+ <nav aria-label="Footer">
+ <a href="https://github.com/baiyuze/pasteferry/releases">All releases</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">Changelog</a>
+ <a href="https://pasteferry.cc/design/nat-traversal.html">Design notes (Chinese)</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/LICENSING.md">License</a>
+ <a href="https://github.com/baiyuze/pasteferry/issues">Report an issue</a>
+ <a href="../../en/privacy/">Privacy and essential data</a>
+ </nav>
+ <nav aria-label="Language">
+ <a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a>
+ <a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a>
+ <a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a>
+ <a href="../../en/official/" hreflang="en" lang="en" data-lang="en" aria-current="page">English</a>
+ <a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a>
+ </nav>
+ </div>
+ </footer>
+
+ <script src="../../assets/site.js" defer></script>
+ <script type="module" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "7ee226baf4a949a397c4bfd69a9e7461"}'></script>
+</body>
+</html>
diff --git a/docs/en/privacy/index.html b/docs/en/privacy/index.html
index bef5b00..f0de5a2 100644
--- a/docs/en/privacy/index.html
+++ b/docs/en/privacy/index.html
@@ -2,6 +2,15 @@
<html lang="en">
<head>
<meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Privacy and essential data — PasteFerry</title>
<meta name="description" content="Fresh installs use LAN mode. Official access and essential connection statistics begin only when enabled. Custom servers do not report to the official service. Direct connections are attempted first; machine quota identification and relay authorization happen only after direct failure.">
diff --git a/docs/en/start/index.html b/docs/en/start/index.html
index 9fb2491..e9abaa2 100644
--- a/docs/en/start/index.html
+++ b/docs/en/start/index.html
@@ -119,14 +119,37 @@
<div class="wrap">
<p class="eyebrow">Step 2</p>
<h2 id="server-title">Pick a way to connect</h2>
- <p class="intro">On the same network there's nothing to set up. Across networks, your computers find each other through a public server or Tailscale, and nothing you copy is stored there.</p>
+ <p class="intro">Same network? Install and pair. Different networks? Enable official access without hosting a server. Custom servers and Tailscale remain available when you prefer to manage the connection yourself.</p>
<div class="os-tabs" data-tabs="plan">
<div class="tablist" role="tablist" aria-label="Ways to connect" hidden>
+ <button type="button" role="tab" id="tab-plan-official" aria-controls="plan-official">Official service</button>
<button type="button" role="tab" id="tab-plan-lan" aria-controls="plan-lan">Same network</button>
- <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">Public server</button>
+ <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">Self-hosted server</button>
<button type="button" role="tab" id="tab-plan-ts" aria-controls="plan-ts">Tailscale</button>
</div>
+ <section class="os" id="plan-official" role="tabpanel" aria-labelledby="tab-plan-official">
+ <h3 class="os-title">Official service</h3>
+ <div class="plan-grid">
+ <div>
+ <ol class="steps">
+ <li>Install the latest app and turn on background sync on every computer.</li>
+ <li>Enable Settings → Use official service on each computer and review the essential-data notice. No official hostname or port to enter.</li>
+ <li>Show a pairing code on one computer, enter it on the other, and compare both fingerprint lines before confirming. Existing pairings are kept.</li>
+ </ol>
+ <p class="plan-address">Official access is off on fresh installs. Enabling it records essential access statistics; an application-specific machine digest is derived only when relay is requested. Real device names, raw system identifiers and copied content are not uploaded as statistics. See the privacy notice for fields and retention.</p>
+ <a class="button quiet" href="../../en/official/">Enable official access →</a>
+ </div>
+ <div class="plan-card">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <dl>
+ <div><dt>Direct first, relay when needed</dt><dd>Official signaling exchanges connection information between online peers. The clients try STUN discovery and NAT traversal first, requesting relay only after that direct attempt fails. Content remains end-to-end encrypted.</dd></div>
+ <div><dt>Direct traffic does not use relay allowance</dt><dd>The current default is 100 MB per machine quota group per day, upload plus download, resetting at midnight Beijing time. Reinstalling does not guarantee a fresh allowance. The usage page shows the actual limit, remaining amount and update time. Direct connections still work when relay allowance runs out. Allowances and availability may change; check the app.</dd></div>
+ </dl>
+ </div>
+ </div>
+ </section>
+
<section class="os" id="plan-lan" role="tabpanel" aria-labelledby="tab-plan-lan">
<h3 class="os-title">Same network</h3>
<div class="plan-grid">
@@ -151,7 +174,7 @@
</section>
<section class="os" id="plan-cloud" role="tabpanel" aria-labelledby="tab-plan-cloud">
- <h3 class="os-title">Public server</h3>
+ <h3 class="os-title">Self-hosted server</h3>
<div class="plan-grid">
<div>
<ol class="steps">
@@ -165,7 +188,7 @@
<div class="plan-card">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
<dl>
- <div><dt>Best for</dt><dd>Computers spread across networks that should sync from anywhere. The simplest way across networks.</dd></div>
+ <div><dt>Best for</dt><dd>Control your own capacity</dd></div>
<div><dt>You need</dt><dd>A Linux VM with a public IP, as root; the smallest one is enough.</dd></div>
<div><dt>Keep in mind</dt><dd>The VM costs money. When a direct connection fails, the relay is limited by the server's bandwidth. In mainland China, use the IP unless the domain has an ICP filing.</dd></div>
</dl>
diff --git a/docs/en/tour/index.html b/docs/en/tour/index.html
index f7158b0..ca2c4db 100644
--- a/docs/en/tour/index.html
+++ b/docs/en/tour/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Meet PasteFerry in 85 seconds — PasteFerry</title>
- <meta name="description" content="Mac, Windows and Linux. Text, images, files and folders across accounts and networks; peer-to-peer, end-to-end encrypted, no server needed on the same network. Free and open source.">
+ <meta name="description" content="PasteFerry syncs clipboard text, images, files and folders across Mac, Windows and Linux. Enable optional official access to connect across networks without hosting a server: direct first, encrypted relay when needed. Free and open source.">
<meta name="theme-color" content="#141416">
<link rel="canonical" href="https://pasteferry.cc/en/tour/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/tour/">
@@ -194,7 +194,7 @@
</div>
<div class="way">
<svg viewBox="0 0 240 112"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/><circle class="p-dot" r="3.2" data-x1="80" data-x2="160" data-y="80"/></svg>
- <h3>Public server</h3>
+ <h3>Self-hosted server</h3>
<p>Host a small cloud VM,<br>sync from anywhere</p>
</div>
<div class="way">
@@ -218,7 +218,7 @@
<div class="row"><span>Between Mac and Windows</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="yes">✓</span></div>
<div class="row"><span>Files and whole folders</span><span class="yes">✓</span><span class="meh">Unreliable</span><span class="yes">✓</span><span class="meh">Zip first</span></div>
<div class="row"><span>Find something you copied earlier</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="meh">Scroll back</span></div>
- <div class="row"><span>Content stays off third-party servers</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
+ <div class="row"><span>Only your devices can decrypt content</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
</div>
</section>
diff --git a/docs/index.html b/docs/index.html
index 01089c8..e5dbd26 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>隔空贴 PasteFerry:在 Mac、Windows 与 Linux 之间同步剪贴板与文件,跨账号跨网络</title>
- <meta name="description" content="隔空贴让你在一台电脑上复制,另一台上直接粘贴,Mac、Windows、Linux 互通。支持文本、图片、文件和文件夹,不要求同一个账号。同一个网络里装好就能用,不需要服务器;跨网络时用自己部署的服务器或 Tailscale。设备间 P2P 直连、端到端加密。免费开源。">
+ <meta name="description" content="隔空贴让 Mac、Windows、Linux 之间复制粘贴文字、图片、文件和文件夹。开启官方服务即可跨网络同步,无需自建服务器;优先打洞直连,失败自动加密中转。免费开源。">
<link rel="canonical" href="https://pasteferry.cc/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/">
<link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/">
@@ -25,7 +25,7 @@
<meta property="og:type" content="website">
<meta property="og:site_name" content="隔空贴">
<meta property="og:title" content="隔空贴:在这台电脑复制,到那台电脑粘贴">
- <meta property="og:description" content="Mac、Windows、Linux 互通。文本、图片、文件、文件夹,跨账号、跨网络,P2P 直连、端到端加密,同一网络里不需要服务器。免费开源。">
+ <meta property="og:description" content="隔空贴让 Mac、Windows、Linux 之间复制粘贴文字、图片、文件和文件夹。开启官方服务即可跨网络同步,无需自建服务器;优先打洞直连,失败自动加密中转。免费开源。">
<meta property="og:url" content="https://pasteferry.cc/">
<meta property="og:image" content="https://pasteferry.cc/assets/og.png">
<meta property="og:image:width" content="1200">
@@ -126,7 +126,7 @@
"name": "和 macOS 自带的「通用剪贴板」有什么区别?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "通用剪贴板要求两台设备登录同一个 Apple ID、开着蓝牙和 Wi‑Fi,并且离得近,也只能在苹果设备之间用。隔空贴在同一个网络里装好就能用;跨网络时,两台电脑能连上你部署的服务器、或者都装了 Tailscale 就行:不同 Apple ID、一台在家一台在公司、一台 Mac 一台 Windows,都可以。另外它有复制记录,大文件也可以按需拉取。 如果你的两台 Mac 是同一个 Apple ID、总在一起、主要复制文字,系统自带的已经够用了。"
+ "text": "Mac、Windows、Linux 互通,文字、图片、文件、整个文件夹都可以,不要求同一个账号。现在开启官方服务就能跨网络同步,无需自己搭服务器。优先直连,始终端到端加密。 如果你的两台 Mac 是同一个 Apple ID、总在一起、主要复制文字,系统自带的已经够用了。"
}
},
{
@@ -134,7 +134,7 @@
"name": "服务器会看到我复制的内容吗?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "不会。直连时数据根本不经过服务器;需要中转时,服务器转发的是 DTLS 加密后的数据包。服务器不存账号,也不存任何复制内容。代码是开源的,可以自己核对。"
+ "text": "服务器无法解密复制内容:直连时内容不经过中转服务器;中转时转发的是端到端加密数据包。官方服务保留必要设备与用量统计,详见隐私说明。客户端和服务器源码公开,但源码可审计不等于对私有生产存储行为的证明。"
}
},
{
@@ -150,7 +150,7 @@
"name": "必须自己准备服务器吗?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "不一定。两台电脑在同一个网络里时,装好 App 直接配对就行,不需要服务器。 跨网络时有两种做法:公网服务器,最低配置的云主机就够,在哪儿都能同步;Tailscale,每台电脑装上它,配对时输入对方的 Tailscale 地址,不需要服务器。隔空贴不提供公共服务器,所以不会有任何人的数据经过别人的机器。"
+ "text": "不需要。不同网络时,在两台电脑上开启官方服务即可,不用购买云主机或填写地址。默认关闭,当前提供每日 100 MB 中转额度,直连不消耗此额度。局域网、自建服务器与 Tailscale 继续可用。"
}
},
{
@@ -158,7 +158,7 @@
"name": "家里没有公网 IP,能在家和公司之间同步吗?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "能,有两种做法。有一台公网服务器的话,把服务器部署在上面,家里和公司的电脑都直接连它,见公网服务器部署。没有的话,每台电脑装上 Tailscale、登录同一个账号,配对时输入对方的 Tailscale 地址,见Tailscale 教程。"
+ "text": "不需要。不同网络时,在两台电脑上开启官方服务即可,不用购买云主机或填写地址。默认关闭,当前提供每日 100 MB 中转额度,直连不消耗此额度。局域网、自建服务器与 Tailscale 继续可用。"
}
},
{
@@ -200,6 +200,14 @@
"@type": "Answer",
"text": "免费。隔空贴以 GNU AGPL-3.0 开源,个人和公司都可以免费使用和修改。分发它、或通过网络提供修改过的版本时,需要以同样的许可公开源码。"
}
+ },
+ {
+ "@type": "Question",
+ "name": "官方中转无限量吗?",
+ "acceptedAnswer": {
+ "@type": "Answer",
+ "text": "当前默认每机器额度组每日 100 MB 中转流量,上传与下载合计,北京时间零点重置。重新安装不会保证获得新额度。用量页显示实际额度、剩余量与更新时间;额度用尽仍可直连。额度与服务可用性可能调整,以客户端显示为准。"
+ }
}
]
}
@@ -237,8 +245,9 @@
<main id="main">
<section class="hero">
<div class="wrap">
+ <a class="release-note" href="official/">2.1 新增:跨网络同步,无需自建服务器 →</a>
<h1 class="display">在这台电脑复制,<br>到那台电脑粘贴。</h1>
- <p class="lede">Mac、Windows、Linux 互通。文本、图片、文件、整个文件夹都可以,不要求同一个账号。同一个网络里装好就能用,不需要服务器;跨网络也可以。数据在你的设备之间直接传输,端到端加密。</p>
+ <p class="lede">Mac、Windows、Linux 互通,文字、图片、文件、整个文件夹都可以,不要求同一个账号。现在开启官方服务就能跨网络同步,无需自己搭服务器。优先直连,始终端到端加密。</p>
<div class="cta">
<a class="button" href="download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下载隔空贴</a>
<a class="button quiet tour-link" href="tour/" data-tour-open aria-haspopup="dialog"><span aria-hidden="true">▶</span> 看完整演示 <span class="tour-duration">1:25</span></a>
@@ -275,8 +284,15 @@
<section class="section" id="deploy" aria-labelledby="deploy-title">
<div class="wrap">
<h2 id="deploy-title">两台电脑怎么连起来</h2>
- <p class="intro">在同一个网络里,装好 App 就能直接配对,不需要服务器。跨网络时,两台电脑要靠服务器或 Tailscale 找到彼此,复制的内容不会存在上面。按你的情况选一种。</p>
+ <p class="intro">同一网络里装好就能配对;不同网络里,开启官方服务即可,无需自建。也保留自建服务器与 Tailscale,按你的需要选择。</p>
<div class="paths">
+ <a class="path" href="official/">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <span class="path-when">跨网络,无需自建</span>
+ <h3>官方服务</h3>
+ <p>打开一个开关,让家里与公司的电脑找到彼此。优先打洞直连,失败后自动中转,无需购买云主机或填写地址。</p>
+ <span class="path-go">开启官方服务 →</span>
+ </a>
<a class="path" href="lan/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-net" x="6" y="6" width="228" height="100" rx="14"/><path class="p-data" d="M82 52h76"/><rect class="p-dev" x="39" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M34 69h48"/><rect class="p-dev" x="163" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M158 69h48"/></svg>
<span class="path-when">什么都不用部署</span>
@@ -286,8 +302,8 @@
</a>
<a class="path" href="cloud/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
- <span class="path-when">在哪儿都能同步</span>
- <h3>公网服务器</h3>
+ <span class="path-when">自己管理容量与部署</span>
+ <h3>自建公网服务器</h3>
<p>一台有公网 IP 的 Linux 云主机,最低配置就够。每台电脑直接连它,在家、在公司、在外面都能用,不用另装软件。</p>
<span class="path-go">公网服务器部署教程 →</span>
</a>
@@ -299,7 +315,7 @@
<span class="path-go">Tailscale 教程 →</span>
</a>
</div>
- <p class="note">拿不准?<a href="start/#server">快速开始</a>里有三种方式的对比。</p>
+ <p class="note">第一次用?跟着<a href="start/#server">快速开始</a>。官方服务可选,当前默认每日 100 MB 中转额度,直连不扣此额度。</p>
</div>
</section>
@@ -340,7 +356,7 @@
<tr><th scope="row">复制后直接粘贴,不用点接收</th><td class="yes ours">可以</td><td class="yes">可以</td><td class="no">不行</td><td class="no">不行</td></tr>
<tr><th scope="row">文件与整个文件夹</th><td class="yes ours">可以</td><td class="partial">不稳定</td><td class="yes">可以</td><td class="partial">要先打包</td></tr>
<tr><th scope="row">找回之前复制过的内容</th><td class="yes ours">可以</td><td class="no">不行</td><td class="no">不行</td><td class="partial">翻聊天记录</td></tr>
- <tr><th scope="row">内容不经过第三方服务器</th><td class="yes ours">不经过</td><td class="yes">不经过</td><td class="yes">不经过</td><td class="no">经过</td></tr>
+ <tr><th scope="row">仅自己的设备可解密内容</th><td class="yes ours">不经过</td><td class="yes">不经过</td><td class="yes">不经过</td><td class="no">经过</td></tr>
</tbody>
</table>
</div>
@@ -489,7 +505,7 @@
<li>下载 DMG,打开后把隔空贴拖进「应用程序」。<span class="aside">Apple 芯片与 Intel 芯片各有一版,下载页会告诉你怎么看自己的 Mac 是哪种。</span></li>
<li>从「应用程序」里打开。<span class="aside">第一次会提示「无法验证开发者」:隔空贴还没有经过 Apple 公证。到「系统设置 → 隐私与安全性」,点页面下方的「仍要打开」,只需要这一次。</span></li>
<li>点「启用后台同步」。系统询问是否允许读取剪贴板、能否查找本地网络上的设备时,都选择允许。</li>
- <li>跨网络同步时,在「设置」里填入服务器地址 <code>ws://服务器地址:8787/signal</code>,按回车;同一个网络里不用填。</li>
+ <li>跨网络时,在每台电脑的「设置」中开启「使用官方服务」,无需填写服务器地址;也可以继续自建。</li>
</ol>
<a class="button" href="download/#macos"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下载 Mac 版</a>
</div>
@@ -498,7 +514,7 @@
<ol>
<li>运行 PasteFerry-Setup.exe。装在当前用户目录下,不需要管理员权限。<span class="aside">隔空贴还没有代码签名,Windows 会提示「Windows 已保护你的电脑」:点「更多信息」,再点「仍要运行」。不想运行安装程序的话,可以下载<a href="https://github.com/baiyuze/pasteferry/releases/latest/download/PasteFerry-windows-x64.zip">便携版</a>。</span></li>
<li>打开隔空贴,点「启用后台同步」。关掉窗口后它在右下角的托盘里继续运行。防火墙询问时选择允许。</li>
- <li>跨网络同步时,在「设置」里填入服务器地址,按回车;同一个网络里不用填。</li>
+ <li>跨网络时,在每台电脑的「设置」中开启「使用官方服务」,无需填写服务器地址;也可以继续自建。</li>
</ol>
<a class="button" href="download/#windows"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下载 Windows 版</a>
</div>
@@ -507,17 +523,18 @@
<ol>
<li>Ubuntu、Debian 等下载 .deb,运行 <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>;其他发行版下载 tar.gz,解压后运行 <code>./PasteFerry/install.sh</code>。</li>
<li>从应用菜单里打开隔空贴,点「启用后台同步」。之后它随登录自动启动。</li>
- <li>跨网络同步时,在「设置」里填入服务器地址,按回车;同一个网络里不用填。</li>
+ <li>跨网络时,在每台电脑的「设置」中开启「使用官方服务」,无需填写服务器地址;也可以继续自建。</li>
</ol>
<a class="button" href="download/#linux"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下载 Linux 版</a>
</div>
</div>
<div class="install-more">
<h3><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="4" width="16" height="7" rx="1.5"/><rect x="4" y="13" width="16" height="7" rx="1.5"/><path d="M8 7.5h.01M8 16.5h.01"/></svg>连接方式</h3>
- <p class="small">同一个网络里不需要服务器。三种方式按你的情况选一种,每种都有图文教程:</p>
+ <p class="small">同一网络里装好就能配对;不同网络里,开启官方服务即可,无需自建。也保留自建服务器与 Tailscale,按你的需要选择。</p>
<ul class="opts">
+ <li><a href="official/">官方服务</a><span>跨网络,无需自建</span></li>
<li><a href="lan/">同一网络</a><span>什么都不用部署</span></li>
- <li><a href="cloud/">公网服务器</a><span>在哪儿都能同步</span></li>
+ <li><a href="cloud/">自建公网服务器</a><span>自己管理容量与部署</span></li>
<li><a href="tailscale/">Tailscale</a><span>跨网络,不用服务器</span></li>
</ul>
<a class="button quiet" href="start/#server">对比三种方式</a>
@@ -563,11 +580,11 @@
</details>
<details>
<summary>和 macOS 自带的「通用剪贴板」有什么区别?</summary>
- <div class="answer"><p>通用剪贴板要求两台设备登录同一个 Apple ID、开着蓝牙和 Wi‑Fi,并且离得近,也只能在苹果设备之间用。隔空贴在同一个网络里装好就能用;跨网络时,两台电脑能连上你部署的服务器、或者都装了 Tailscale 就行:不同 Apple ID、一台在家一台在公司、一台 Mac 一台 Windows,都可以。另外它有复制记录,大文件也可以按需拉取。</p><p>如果你的两台 Mac 是同一个 Apple ID、总在一起、主要复制文字,系统自带的已经够用了。</p></div>
+ <div class="answer"><p>Mac、Windows、Linux 互通,文字、图片、文件、整个文件夹都可以,不要求同一个账号。现在开启官方服务就能跨网络同步,无需自己搭服务器。优先直连,始终端到端加密。</p><p>如果你的两台 Mac 是同一个 Apple ID、总在一起、主要复制文字,系统自带的已经够用了。</p></div>
</details>
<details>
<summary>服务器会看到我复制的内容吗?</summary>
- <div class="answer"><p>不会。直连时数据根本不经过服务器;需要中转时,服务器转发的是 DTLS 加密后的数据包。服务器不存账号,也不存任何复制内容。代码是开源的,可以自己核对。</p></div>
+ <div class="answer"><p>服务器无法解密复制内容:直连时内容不经过中转服务器;中转时转发的是端到端加密数据包。官方服务保留必要设备与用量统计,详见隐私说明。客户端和服务器源码公开,但源码可审计不等于对私有生产存储行为的证明。</p></div>
</details>
<details>
<summary>公司网络(双线、多出口)能直连吗?</summary>
@@ -575,11 +592,11 @@
</details>
<details>
<summary>必须自己准备服务器吗?</summary>
- <div class="answer"><p>不一定。两台电脑在<a href="lan/">同一个网络</a>里时,装好 App 直接配对就行,不需要服务器。</p><p>跨网络时有两种做法:<a href="cloud/">公网服务器</a>,最低配置的云主机就够,在哪儿都能同步;<a href="tailscale/">Tailscale</a>,每台电脑装上它,配对时输入对方的 Tailscale 地址,不需要服务器。隔空贴不提供公共服务器,所以不会有任何人的数据经过别人的机器。</p></div>
+ <div class="answer"><p>不需要。不同网络时,在两台电脑上开启<a href="official/">官方服务</a>即可,不用购买云主机或填写地址。默认关闭,当前提供每日 100 MB 中转额度,直连不消耗此额度。局域网、<a href="cloud/">自建服务器</a>与 <a href="tailscale/">Tailscale</a> 继续可用。</p></div>
</details>
<details>
<summary>家里没有公网 IP,能在家和公司之间同步吗?</summary>
- <div class="answer"><p>能,有两种做法。有一台公网服务器的话,把服务器部署在上面,家里和公司的电脑都直接连它,见<a href="cloud/">公网服务器部署</a>。没有的话,每台电脑装上 Tailscale、登录同一个账号,配对时输入对方的 Tailscale 地址,见<a href="tailscale/">Tailscale 教程</a>。</p></div>
+ <div class="answer"><p>不需要。不同网络时,在两台电脑上开启<a href="official/">官方服务</a>即可,不用购买云主机或填写地址。默认关闭,当前提供每日 100 MB 中转额度,直连不消耗此额度。局域网、<a href="cloud/">自建服务器</a>与 <a href="tailscale/">Tailscale</a> 继续可用。</p></div>
</details>
<details>
<summary>在同一个网络里,为什么找不到另一台?</summary>
@@ -601,6 +618,10 @@
<summary>免费吗?公司能用吗?</summary>
<div class="answer"><p>免费。隔空贴以 GNU AGPL-3.0 开源,个人和公司都可以免费使用和修改。分发它、或通过网络提供修改过的版本时,需要以同样的许可公开源码。</p></div>
</details>
+ <details>
+ <summary>官方中转无限量吗?</summary>
+ <div class="answer"><p>当前默认每机器额度组每日 100 MB 中转流量,上传与下载合计,北京时间零点重置。重新安装不会保证获得新额度。用量页显示实际额度、剩余量与更新时间;额度用尽仍可直连。额度与服务可用性可能调整,以客户端显示为准。</p></div>
+ </details>
</div>
</div>
</section>
diff --git a/docs/ja/index.html b/docs/ja/index.html
index d6b504b..a41e401 100644
--- a/docs/ja/index.html
+++ b/docs/ja/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PasteFerry:Mac、Windows、Linux のあいだでクリップボードとファイルを同期。アカウントもネットワークも別々で OK</title>
- <meta name="description" content="PasteFerry は、一台でコピーしたものをもう一台でそのまま貼り付けられるアプリです。Mac、Windows、Linux に対応し、テキスト、画像、ファイル、フォルダを同期します。同じアカウントは不要。同じネットワークならサーバーなしで使え、ネットワークをまたぐときは自分で用意したサーバーか Tailscale を使います。デバイス間は P2P で直接つながり、エンドツーエンドで暗号化。無料・オープンソース。">
+ <meta name="description" content="PasteFerry は Mac・Windows・Linux 間でテキスト、画像、ファイル、フォルダを同期します。公式サービスを有効にすればサーバー構築なしで別ネットワーク間も接続。直接接続を優先し、必要時のみ暗号化中継。無料・オープンソース。">
<link rel="canonical" href="https://pasteferry.cc/ja/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/">
<link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/">
@@ -25,7 +25,7 @@
<meta property="og:type" content="website">
<meta property="og:site_name" content="PasteFerry">
<meta property="og:title" content="PasteFerry:このコンピューターでコピーして、あのコンピューターで貼り付け">
- <meta property="og:description" content="Mac、Windows、Linux に対応。テキスト、画像、ファイル、フォルダを、アカウントやネットワークをまたいで同期。P2P 直接接続、エンドツーエンド暗号化、同じネットワークならサーバー不要。無料・オープンソース。">
+ <meta property="og:description" content="PasteFerry は Mac・Windows・Linux 間でテキスト、画像、ファイル、フォルダを同期します。公式サービスを有効にすればサーバー構築なしで別ネットワーク間も接続。直接接続を優先し、必要時のみ暗号化中継。無料・オープンソース。">
<meta property="og:url" content="https://pasteferry.cc/ja/">
<meta property="og:image" content="https://pasteferry.cc/assets/og-en.png">
<meta property="og:image:width" content="1200">
@@ -101,7 +101,7 @@
"name": "macOS のユニバーサルクリップボードとの違いは?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "ユニバーサルクリップボードは、両方のデバイスが同じ Apple ID でサインインし、Bluetooth と Wi‑Fi をオンにして近くにある必要があり、Apple 製品どうしでしか使えません。PasteFerry は同じネットワークならインストールしてすぐ使え、ネットワークをまたぐときは両方があなたのサーバーにつながるか、Tailscale を入れていれば使えます。Apple ID が別でも、自宅と会社に離れていても、Mac と Windows の組み合わせでも使えます。さらに履歴があり、大きなファイルは必要なときに取り込めます。 2 台の Mac が同じ Apple ID でいつも並んでいて、主にテキストをコピーするだけなら、標準機能で十分です。"
+ "text": "Mac・Windows・Linux でテキスト、画像、ファイル、フォルダを同期。同じアカウントは不要。公式サービスをオンにすれば、サーバーを構築せずに別ネットワーク間でも使えます。直接接続を優先し、常にエンドツーエンド暗号化。 2 台の Mac が同じ Apple ID でいつも並んでいて、主にテキストをコピーするだけなら、標準機能で十分です。"
}
},
{
@@ -109,7 +109,7 @@
"name": "サーバーにコピーした内容は見えますか?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "見えません。直接接続のときデータはサーバーを通りません。中継が必要なときも、サーバーが転送するのは DTLS で暗号化されたパケットです。サーバーはアカウントもコピーした内容も保存しません。コードは公開されているので、ご自身で確かめられます。"
+ "text": "コピー内容は復号できません。直接通信は端末間で行い、中継はエンドツーエンド暗号化されたパケットを転送します。公式サービスは必要な端末・使用量統計を保持します。公開ソースだけで非公開の本番保存動作まで証明できるわけではありません。"
}
},
{
@@ -125,7 +125,7 @@
"name": "サーバーは自分で用意する必要がありますか?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "場合によります。コンピューターが同じネットワークにあるなら、アプリを入れてペアリングするだけで、サーバーは要りません。 ネットワークをまたぐ方法は 2 つあります。公開サーバーは最小構成のクラウドサーバーで足り、どこからでも同期できます。Tailscale は各コンピューターに入れ、ペアリング時に相手の Tailscale アドレスを入力するだけで、サーバーは要りません。PasteFerry は公開サーバーを提供しないので、誰のデータも他人のマシンを通りません。"
+ "text": "不要です。別ネットワークなら両方で公式サービスを有効にします。クラウド契約やアドレス入力は不要。初期状態はオフで、現在の中継上限は 100 MB/日、直接通信は消費しません。LAN、独自サーバー、Tailscale も使えます。"
}
},
{
@@ -133,7 +133,7 @@
"name": "自宅にグローバル IP がありません。自宅と会社のあいだで同期できますか?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "できます。方法は 2 つあります。公開サーバーがあれば、そこにサーバーを置いて両方のコンピューターから直接つなぎます(公開サーバーでの手順)。なければ、すべてのコンピューターに Tailscale を入れて同じアカウントでサインインし、ペアリング時に相手の Tailscale アドレスを入力します(Tailscale での手順)。"
+ "text": "不要です。別ネットワークなら両方で公式サービスを有効にします。クラウド契約やアドレス入力は不要。初期状態はオフで、現在の中継上限は 100 MB/日、直接通信は消費しません。LAN、独自サーバー、Tailscale も使えます。"
}
},
{
@@ -175,6 +175,14 @@
"@type": "Answer",
"text": "無料です。PasteFerry は GNU AGPL-3.0 のオープンソースで、個人も会社も無料で使い、改変できます。配布する場合や、改変したものをネットワーク越しに提供する場合は、同じライセンスでソースコードを公開する必要があります。"
}
+ },
+ {
+ "@type": "Question",
+ "name": "公式中継は無制限ですか?",
+ "acceptedAnswer": {
+ "@type": "Answer",
+ "text": "現在の標準中継上限は端末の上限グループごとに送受信合計 100 MB/日で、北京時間午前 0 時にリセットします。再インストールで新たな残量が得られる保証はありません。使用量画面に実際の上限、残量、更新時刻を表示します。上限に達しても直接接続は利用できます。上限と提供状況は変更される場合があるため、アプリでご確認ください。"
+ }
}
]
}
@@ -212,8 +220,9 @@
<main id="main">
<section class="hero">
<div class="wrap">
+ <a class="release-note" href="official/">2.1 新機能:サーバー不要で別ネットワーク間を同期 →</a>
<h1 class="display">こっちでコピーして、<br>あっちで貼り付け。</h1>
- <p class="lede">Mac、Windows、Linux に対応。テキスト、画像、ファイル、フォルダまるごと。同じアカウントは要りません。同じネットワークならサーバーなしで使え、ネットワークをまたいでも使えます。データはデバイス間を直接流れ、エンドツーエンドで暗号化されます。</p>
+ <p class="lede">Mac・Windows・Linux でテキスト、画像、ファイル、フォルダを同期。同じアカウントは不要。公式サービスをオンにすれば、サーバーを構築せずに別ネットワーク間でも使えます。直接接続を優先し、常にエンドツーエンド暗号化。</p>
<div class="cta">
<a class="button" href="download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>PasteFerry をダウンロード</a>
<a class="button quiet tour-link" href="tour/" data-tour-open aria-haspopup="dialog"><span aria-hidden="true">▶</span> 紹介ムービーを見る <span class="tour-duration">1:25</span></a>
@@ -250,8 +259,15 @@
<section class="section" id="deploy" aria-labelledby="deploy-title">
<div class="wrap">
<h2 id="deploy-title">2 台をどうつなぐか</h2>
- <p class="intro">同じネットワークなら、アプリを入れてペアリングするだけで、サーバーは要りません。ネットワークをまたぐときは、サーバーか Tailscale を通じてお互いを見つけます。コピーした内容がそこに保存されることはありません。状況に合うものを選んでください。</p>
+ <p class="intro">同じネットワークならインストールしてペアリング。別ネットワークなら公式サービスをオンにするだけで、サーバーの準備は不要です。独自サーバーと Tailscale も選べます。</p>
<div class="paths">
+ <a class="path" href="official/">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <span class="path-when">別ネットワーク間、構築不要</span>
+ <h3>公式サービス</h3>
+ <p>スイッチひとつで自宅と会社のパソコンを接続。直接接続を優先し、失敗時のみ暗号化中継を使います。クラウド契約やアドレス入力は不要です。</p>
+ <span class="path-go">公式サービスを有効にする →</span>
+ </a>
<a class="path" href="lan/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-net" x="6" y="6" width="228" height="100" rx="14"/><path class="p-data" d="M82 52h76"/><rect class="p-dev" x="39" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M34 69h48"/><rect class="p-dev" x="163" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M158 69h48"/></svg>
<span class="path-when">準備は何も要らない</span>
@@ -261,8 +277,8 @@
</a>
<a class="path" href="cloud/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
- <span class="path-when">どこからでも同期</span>
- <h3>公開サーバー</h3>
+ <span class="path-when">容量と運用を自分で管理</span>
+ <h3>独自の公開サーバー</h3>
<p>グローバル IP を持つ Linux のクラウドサーバー。最小構成で足ります。各コンピューターが直接つながり、自宅でも会社でも外出先でも、ほかに入れるものはありません。</p>
<span class="path-go">公開サーバーでの手順 →</span>
</a>
@@ -274,7 +290,7 @@
<span class="path-go">Tailscale での手順 →</span>
</a>
</div>
- <p class="note">迷ったら<a href="start/#server">はじめかた</a>で 3 通りを比べられます。</p>
+ <p class="note">初めての方は<a href="start/#server">クイックスタート</a>へ。公式サービスは任意です。現在の標準中継上限は 100 MB/日で、直接通信では消費しません。</p>
</div>
</section>
@@ -315,7 +331,7 @@
<tr><th scope="row">コピーしてすぐ貼り付け、受け取り操作なし</th><td class="yes ours">できる</td><td class="yes">できる</td><td class="no">できない</td><td class="no">できない</td></tr>
<tr><th scope="row">ファイルとフォルダまるごと</th><td class="yes ours">できる</td><td class="partial">不安定</td><td class="yes">できる</td><td class="partial">先に圧縮</td></tr>
<tr><th scope="row">前にコピーしたものを探す</th><td class="yes ours">できる</td><td class="no">できない</td><td class="no">できない</td><td class="partial">履歴をさかのぼる</td></tr>
- <tr><th scope="row">内容が第三者のサーバーを通らない</th><td class="yes ours">通らない</td><td class="yes">通らない</td><td class="yes">通らない</td><td class="no">通る</td></tr>
+ <tr><th scope="row">内容を復号できるのは自分の端末のみ</th><td class="yes ours">通らない</td><td class="yes">通らない</td><td class="yes">通らない</td><td class="no">通る</td></tr>
</tbody>
</table>
</div>
@@ -464,7 +480,7 @@
<li>DMG をダウンロードして開き、PasteFerry を「アプリケーション」にドラッグします。<span class="aside">Apple シリコン版と Intel 版があります。自分の Mac がどちらかの確かめ方は、ダウンロードページにあります。</span></li>
<li>「アプリケーション」から開きます。<span class="aside">初回は「開発元を検証できません」と表示されます。PasteFerry はまだ Apple の公証を受けていないためです。「システム設定 → プライバシーとセキュリティ」を開き、ページ下部の「このまま開く」をクリックします。必要なのは一度だけです。</span></li>
<li>「バックグラウンド同期を有効にする」をクリックします。クリップボードの読み取りと、ローカルネットワーク上のデバイスを探すことについて聞かれたら、どちらも許可します。</li>
- <li>ネットワークをまたいで同期するときは、「設定」でサーバーのアドレス <code>ws://サーバーアドレス:8787/signal</code> を入力して Return を押します。同じネットワークなら空欄のままです。</li>
+ <li>別ネットワークで使う場合は各パソコンの「設定 → 公式サービスを使う」をオンにします。アドレス入力は不要。独自サーバーも利用できます。</li>
</ol>
<a class="button" href="download/#macos"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Mac 版をダウンロード</a>
</div>
@@ -473,7 +489,7 @@
<ol>
<li>PasteFerry-Setup.exe を実行します。現在のユーザーのフォルダにインストールされ、管理者権限は要りません。<span class="aside">PasteFerry はまだコード署名されていないため、「Windows によって PC が保護されました」と表示されます。「詳細情報」を押してから「実行」を押してください。インストーラーを使いたくない場合は<a href="https://github.com/baiyuze/pasteferry/releases/latest/download/PasteFerry-windows-x64.zip">ポータブル版</a>もあります。</span></li>
<li>PasteFerry を開き、「バックグラウンド同期を有効にする」をクリックします。ファイアウォールに聞かれたら許可します。ウィンドウを閉じても、画面右下の通知領域で動き続けます。</li>
- <li>ネットワークをまたいで同期するときは、「設定」でサーバーのアドレスを入力して Enter を押します。同じネットワークなら空欄のままです。</li>
+ <li>別ネットワークで使う場合は各パソコンの「設定 → 公式サービスを使う」をオンにします。アドレス入力は不要。独自サーバーも利用できます。</li>
</ol>
<a class="button" href="download/#windows"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Windows 版をダウンロード</a>
</div>
@@ -482,17 +498,18 @@
<ol>
<li>Ubuntu や Debian などでは .deb をダウンロードし、<code>sudo apt install ./PasteFerry-linux-amd64.deb</code> を実行します。ほかのディストリビューションでは tar.gz をダウンロードして展開し、<code>./PasteFerry/install.sh</code> を実行します。</li>
<li>アプリケーションメニューから PasteFerry を開き、「バックグラウンド同期を有効にする」をクリックします。以後はログイン時に自動で起動します。</li>
- <li>ネットワークをまたいで同期するときは、「設定」でサーバーのアドレスを入力して Enter を押します。同じネットワークなら空欄のままです。</li>
+ <li>別ネットワークで使う場合は各パソコンの「設定 → 公式サービスを使う」をオンにします。アドレス入力は不要。独自サーバーも利用できます。</li>
</ol>
<a class="button" href="download/#linux"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Linux 版をダウンロード</a>
</div>
</div>
<div class="install-more">
<h3><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="4" width="16" height="7" rx="1.5"/><rect x="4" y="13" width="16" height="7" rx="1.5"/><path d="M8 7.5h.01M8 16.5h.01"/></svg>接続方法</h3>
- <p class="small">同じネットワークならサーバーは要りません。状況に合うものを選んでください。どれにも手順のページがあります:</p>
+ <p class="small">同じネットワークならインストールしてペアリング。別ネットワークなら公式サービスをオンにするだけで、サーバーの準備は不要です。独自サーバーと Tailscale も選べます。</p>
<ul class="opts">
+ <li><a href="official/">公式サービス</a><span>別ネットワーク間、構築不要</span></li>
<li><a href="lan/">同じネットワーク</a><span>準備は何も要らない</span></li>
- <li><a href="cloud/">公開サーバー</a><span>どこからでも同期</span></li>
+ <li><a href="cloud/">独自の公開サーバー</a><span>容量と運用を自分で管理</span></li>
<li><a href="tailscale/">Tailscale</a><span>ネットワークをまたぐ、サーバーなし</span></li>
</ul>
<a class="button quiet" href="start/#server">3 通りを比べる</a>
@@ -538,11 +555,11 @@
</details>
<details>
<summary>macOS のユニバーサルクリップボードとの違いは?</summary>
- <div class="answer"><p>ユニバーサルクリップボードは、両方のデバイスが同じ Apple ID でサインインし、Bluetooth と Wi‑Fi をオンにして近くにある必要があり、Apple 製品どうしでしか使えません。PasteFerry は同じネットワークならインストールしてすぐ使え、ネットワークをまたぐときは両方があなたのサーバーにつながるか、Tailscale を入れていれば使えます。Apple ID が別でも、自宅と会社に離れていても、Mac と Windows の組み合わせでも使えます。さらに履歴があり、大きなファイルは必要なときに取り込めます。</p><p>2 台の Mac が同じ Apple ID でいつも並んでいて、主にテキストをコピーするだけなら、標準機能で十分です。</p></div>
+ <div class="answer"><p>Mac・Windows・Linux でテキスト、画像、ファイル、フォルダを同期。同じアカウントは不要。公式サービスをオンにすれば、サーバーを構築せずに別ネットワーク間でも使えます。直接接続を優先し、常にエンドツーエンド暗号化。</p><p>2 台の Mac が同じ Apple ID でいつも並んでいて、主にテキストをコピーするだけなら、標準機能で十分です。</p></div>
</details>
<details>
<summary>サーバーにコピーした内容は見えますか?</summary>
- <div class="answer"><p>見えません。直接接続のときデータはサーバーを通りません。中継が必要なときも、サーバーが転送するのは DTLS で暗号化されたパケットです。サーバーはアカウントもコピーした内容も保存しません。コードは公開されているので、ご自身で確かめられます。</p></div>
+ <div class="answer"><p>コピー内容は復号できません。直接通信は端末間で行い、中継はエンドツーエンド暗号化されたパケットを転送します。公式サービスは必要な端末・使用量統計を保持します。公開ソースだけで非公開の本番保存動作まで証明できるわけではありません。</p></div>
</details>
<details>
<summary>出口が複数ある会社のネットワークでも直接つながりますか?</summary>
@@ -550,11 +567,11 @@
</details>
<details>
<summary>サーバーは自分で用意する必要がありますか?</summary>
- <div class="answer"><p>場合によります。コンピューターが<a href="lan/">同じネットワーク</a>にあるなら、アプリを入れてペアリングするだけで、サーバーは要りません。</p><p>ネットワークをまたぐ方法は 2 つあります。<a href="cloud/">公開サーバー</a>は最小構成のクラウドサーバーで足り、どこからでも同期できます。<a href="tailscale/">Tailscale</a> は各コンピューターに入れ、ペアリング時に相手の Tailscale アドレスを入力するだけで、サーバーは要りません。PasteFerry は公開サーバーを提供しないので、誰のデータも他人のマシンを通りません。</p></div>
+ <div class="answer"><p>不要です。別ネットワークなら両方で<a href="official/">公式サービス</a>を有効にします。クラウド契約やアドレス入力は不要。初期状態はオフで、現在の中継上限は 100 MB/日、直接通信は消費しません。LAN、<a href="cloud/">独自サーバー</a>、<a href="tailscale/">Tailscale</a> も使えます。</p></div>
</details>
<details>
<summary>自宅にグローバル IP がありません。自宅と会社のあいだで同期できますか?</summary>
- <div class="answer"><p>できます。方法は 2 つあります。公開サーバーがあれば、そこにサーバーを置いて両方のコンピューターから直接つなぎます(<a href="cloud/">公開サーバーでの手順</a>)。なければ、すべてのコンピューターに Tailscale を入れて同じアカウントでサインインし、ペアリング時に相手の Tailscale アドレスを入力します(<a href="tailscale/">Tailscale での手順</a>)。</p></div>
+ <div class="answer"><p>不要です。別ネットワークなら両方で<a href="official/">公式サービス</a>を有効にします。クラウド契約やアドレス入力は不要。初期状態はオフで、現在の中継上限は 100 MB/日、直接通信は消費しません。LAN、<a href="cloud/">独自サーバー</a>、<a href="tailscale/">Tailscale</a> も使えます。</p></div>
</details>
<details>
<summary>同じネットワークなのに、もう一台が見つからないのはなぜ?</summary>
@@ -576,6 +593,10 @@
<summary>無料ですか?会社で使えますか?</summary>
<div class="answer"><p>無料です。PasteFerry は GNU AGPL-3.0 のオープンソースで、個人も会社も無料で使い、改変できます。配布する場合や、改変したものをネットワーク越しに提供する場合は、同じライセンスでソースコードを公開する必要があります。</p></div>
</details>
+ <details>
+ <summary>公式中継は無制限ですか?</summary>
+ <div class="answer"><p>現在の標準中継上限は端末の上限グループごとに送受信合計 100 MB/日で、北京時間午前 0 時にリセットします。再インストールで新たな残量が得られる保証はありません。使用量画面に実際の上限、残量、更新時刻を表示します。上限に達しても直接接続は利用できます。上限と提供状況は変更される場合があるため、アプリでご確認ください。</p></div>
+ </details>
</div>
</div>
</section>
diff --git a/docs/ja/official/index.html b/docs/ja/official/index.html
new file mode 100644
index 0000000..4d70e83
--- /dev/null
+++ b/docs/ja/official/index.html
@@ -0,0 +1,113 @@
+<!doctype html>
+<html lang="ja">
+<head>
+ <meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>公式サービス:サーバーの準備は不要 — PasteFerry</title>
+ <meta name="description" content="スイッチひとつで自宅と会社のパソコンを接続。直接接続を優先し、失敗時のみ暗号化中継を使います。クラウド契約やアドレス入力は不要です。">
+ <link rel="canonical" href="https://pasteferry.cc/ja/official/">
+ <link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/">
+ <link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/">
+ <link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/">
+ <link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/">
+ <link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/">
+ <meta name="theme-color" content="#141416">
+ <meta property="og:type" content="article">
+ <meta property="og:site_name" content="PasteFerry">
+ <meta property="og:title" content="公式サービス:サーバーの準備は不要 — PasteFerry">
+ <meta property="og:description" content="スイッチひとつで自宅と会社のパソコンを接続。直接接続を優先し、失敗時のみ暗号化中継を使います。クラウド契約やアドレス入力は不要です。">
+ <meta property="og:url" content="https://pasteferry.cc/ja/official/">
+ <meta property="og:image" content="https://pasteferry.cc/assets/og-en.png">
+ <meta property="og:locale" content="ja_JP">
+ <meta name="twitter:card" content="summary_large_image">
+ <link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml">
+ <link rel="icon" href="../../assets/favicon-32.png" sizes="32x32" type="image/png">
+ <link rel="apple-touch-icon" href="../../assets/apple-touch-icon.png">
+ <link rel="stylesheet" href="../../assets/site.css">
+</head>
+<body>
+ <a class="skip" href="#main">本文へ移動</a>
+
+ <header class="bar">
+ <div class="wrap">
+ <a class="brand" href="../../ja/" aria-label="PasteFerry ホーム"><img src="../../assets/icon.svg" alt="" width="26" height="26">PasteFerry</a>
+ <nav aria-label="ページ内の移動">
+ <a href="../../ja/start/">はじめかた</a>
+ <a class="wide" href="../../ja/#how">しくみ</a>
+ <a class="wide" href="../../ja/#faq">よくある質問</a>
+ <a class="mid" href="../../ja/start/#server">接続方法</a>
+ <a href="../../ja/download/">ダウンロード</a>
+ <a class="wide" href="https://github.com/baiyuze/pasteferry">GitHub</a>
+ <details class="lang">
+ <summary aria-label="言語:日本語"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="10" cy="10" r="7.25"/><path d="M2.75 10h14.5M10 2.75c-2.1 2-3.1 4.4-3.1 7.25s1 5.25 3.1 7.25M10 2.75c2.1 2 3.1 4.4 3.1 7.25s-1 5.25-3.1 7.25"/></svg><span>日本語</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
+ <ul>
+ <li><a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a></li>
+ <li><a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a></li>
+ <li><a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a></li>
+ <li><a href="../../en/official/" hreflang="en" lang="en" data-lang="en">English</a></li>
+ <li><a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja" aria-current="page">日本語</a></li>
+ </ul>
+ </details>
+ </nav>
+ </div>
+ </header>
+
+ <main id="main">
+ <section class="hero guide-hero"><div class="wrap">
+ <p class="crumb"><a href="../../ja/">PasteFerry</a> / 公式サービス</p>
+ <h1 class="display">別ネットワーク間、構築不要</h1>
+ <p class="lede">各パソコンに 2.1.0 以降を入れ、設定で公式サービスを有効にしてペアリングします。シグナリングが端末を引き合わせ、内容はまず直接送信。直接接続に失敗した場合のみ暗号化中継を使います。</p>
+ <a class="button" href="../../ja/download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>最新版をダウンロード</a>
+ </div></section>
+ <section class="section"><div class="wrap">
+ <h2>3 ステップでネットワークを越えて同期</h2>
+ <div class="os-grid"><ol class="steps"> <li>同期する各パソコンに最新版を入れ、バックグラウンド同期を有効にします。</li>
+ <li>各パソコンで「設定 → 公式サービスを使う」をオンにし、必要なデータの説明を確認します。公式のホスト名やポートの入力は不要です。</li>
+ <li>一方でコードを表示し、もう一方で入力。両画面の指紋を照合して確認します。既存のペアリングはそのまま使えます。</li></ol>
+ <figure class="shot"><img src="../../assets/screenshots/ja/official-settings-dark.png" width="2112" height="1472" alt="公式アドレスの入力が不要な設定画面の公式サービススイッチ"></figure>
+ </div>
+ </div></section>
+ <section class="section"><div class="wrap official-copy"><h2>直接接続を先に、中継は必要なときだけ</h2><p class="intro">公式シグナリングはオンライン端末間の接続情報を交換します。まず STUN と NAT トラバーサルを試し、その試行に失敗した場合のみ中継を申請します。内容は常にエンドツーエンド暗号化されます。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>直接通信は中継残量を消費しません</h2><p class="intro">現在の標準中継上限は端末の上限グループごとに送受信合計 100 MB/日で、北京時間午前 0 時にリセットします。再インストールで新たな残量が得られる保証はありません。使用量画面に実際の上限、残量、更新時刻を表示します。上限に達しても直接接続は利用できます。上限と提供状況は変更される場合があるため、アプリでご確認ください。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>有効にするかは自分で選べます</h2><p class="intro">新規インストールではオフです。有効にした場合のみ必要な接続統計を記録し、中継申請時にのみ専用の端末ダイジェストを導出します。実際の端末名、元のシステム識別子、コピー内容を統計として送信しません。項目と保持期間はプライバシー説明をご覧ください。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>独自サーバーも引き続き利用可能</h2><p class="intro">LAN、独自サーバー、Tailscale は公式ゲートウェイから独立して動作します。容量を自分で管理したい場合はサーバーを構築し、独自アドレスの横にある「保存して接続」を使えます。</p></div></section>
+ <section class="section"><div class="wrap official-copy">
+ <figure class="shot"><img src="../../assets/screenshots/ja/official-usage-dark.png" width="2112" height="1472" loading="lazy" alt="上限 100.00 MB、残量 80.00 MB のデモ使用量画面"></figure>
+ <p class="note"><a href="../../ja/privacy/">プライバシーと必要なデータ</a> · <a href="../../ja/cloud/">独自サーバーの構築</a> · <a href="https://pasteferry.cc/">pasteferry.cc</a></p>
+ </div></section>
+ </main>
+
+ <footer class="footer">
+ <div class="wrap">
+ <p>PasteFerry は GNU AGPL-3.0 のオープンソースです。</p>
+ <nav aria-label="フッターのリンク">
+ <a href="https://github.com/baiyuze/pasteferry/releases">すべてのリリース</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">更新履歴</a>
+ <a href="https://pasteferry.cc/design/nat-traversal.html">技術資料(中国語)</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/LICENSING.md">ライセンス</a>
+ <a href="https://github.com/baiyuze/pasteferry/issues">問題を報告</a>
+ <a href="../../ja/privacy/">プライバシーと必要なデータ</a>
+ </nav>
+ <nav aria-label="言語">
+ <a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a>
+ <a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a>
+ <a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a>
+ <a href="../../en/official/" hreflang="en" lang="en" data-lang="en">English</a>
+ <a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja" aria-current="page">日本語</a>
+ </nav>
+ </div>
+ </footer>
+
+ <script src="../../assets/site.js" defer></script>
+ <script type="module" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "7ee226baf4a949a397c4bfd69a9e7461"}'></script>
+</body>
+</html>
diff --git a/docs/ja/privacy/index.html b/docs/ja/privacy/index.html
index 5c30993..3cd7789 100644
--- a/docs/ja/privacy/index.html
+++ b/docs/ja/privacy/index.html
@@ -2,6 +2,15 @@
<html lang="ja">
<head>
<meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>プライバシーと必要なデータ — PasteFerry</title>
<meta name="description" content="新規インストールではLANのみを使用します。有効にした場合のみ公式シグナリングに接続し、必要な接続統計を記録します。独自サーバーは公式へ報告しません。まず直接接続を試し、失敗した場合のみ中継の認証と端末の残量識別を行います。">
diff --git a/docs/ja/start/index.html b/docs/ja/start/index.html
index 17886e4..3ac6432 100644
--- a/docs/ja/start/index.html
+++ b/docs/ja/start/index.html
@@ -119,14 +119,37 @@
<div class="wrap">
<p class="eyebrow">ステップ 2</p>
<h2 id="server-title">接続方法を選ぶ</h2>
- <p class="intro">同じネットワークなら、準備は何も要りません。ネットワークをまたぐときは、公開サーバーか Tailscale を通じてお互いを見つけます。コピーした内容がそこに保存されることはありません。</p>
+ <p class="intro">同じネットワークならインストールしてペアリング。別ネットワークなら公式サービスをオンにするだけで、サーバーの準備は不要です。独自サーバーと Tailscale も選べます。</p>
<div class="os-tabs" data-tabs="plan">
<div class="tablist" role="tablist" aria-label="接続方法" hidden>
+ <button type="button" role="tab" id="tab-plan-official" aria-controls="plan-official">公式サービス</button>
<button type="button" role="tab" id="tab-plan-lan" aria-controls="plan-lan">同じネットワーク</button>
- <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">公開サーバー</button>
+ <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">独自の公開サーバー</button>
<button type="button" role="tab" id="tab-plan-ts" aria-controls="plan-ts">Tailscale</button>
</div>
+ <section class="os" id="plan-official" role="tabpanel" aria-labelledby="tab-plan-official">
+ <h3 class="os-title">公式サービス</h3>
+ <div class="plan-grid">
+ <div>
+ <ol class="steps">
+ <li>同期する各パソコンに最新版を入れ、バックグラウンド同期を有効にします。</li>
+ <li>各パソコンで「設定 → 公式サービスを使う」をオンにし、必要なデータの説明を確認します。公式のホスト名やポートの入力は不要です。</li>
+ <li>一方でコードを表示し、もう一方で入力。両画面の指紋を照合して確認します。既存のペアリングはそのまま使えます。</li>
+ </ol>
+ <p class="plan-address">新規インストールではオフです。有効にした場合のみ必要な接続統計を記録し、中継申請時にのみ専用の端末ダイジェストを導出します。実際の端末名、元のシステム識別子、コピー内容を統計として送信しません。項目と保持期間はプライバシー説明をご覧ください。</p>
+ <a class="button quiet" href="../../ja/official/">公式サービスを有効にする →</a>
+ </div>
+ <div class="plan-card">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <dl>
+ <div><dt>直接接続を先に、中継は必要なときだけ</dt><dd>公式シグナリングはオンライン端末間の接続情報を交換します。まず STUN と NAT トラバーサルを試し、その試行に失敗した場合のみ中継を申請します。内容は常にエンドツーエンド暗号化されます。</dd></div>
+ <div><dt>直接通信は中継残量を消費しません</dt><dd>現在の標準中継上限は端末の上限グループごとに送受信合計 100 MB/日で、北京時間午前 0 時にリセットします。再インストールで新たな残量が得られる保証はありません。使用量画面に実際の上限、残量、更新時刻を表示します。上限に達しても直接接続は利用できます。上限と提供状況は変更される場合があるため、アプリでご確認ください。</dd></div>
+ </dl>
+ </div>
+ </div>
+ </section>
+
<section class="os" id="plan-lan" role="tabpanel" aria-labelledby="tab-plan-lan">
<h3 class="os-title">同じネットワーク</h3>
<div class="plan-grid">
@@ -151,7 +174,7 @@
</section>
<section class="os" id="plan-cloud" role="tabpanel" aria-labelledby="tab-plan-cloud">
- <h3 class="os-title">公開サーバー</h3>
+ <h3 class="os-title">独自の公開サーバー</h3>
<div class="plan-grid">
<div>
<ol class="steps">
@@ -165,7 +188,7 @@
<div class="plan-card">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
<dl>
- <div><dt>向いている</dt><dd>コンピューターが別々のネットワークにあり、どこからでも同期したい場合。ネットワークをまたぐならいちばん手間がかかりません。</dd></div>
+ <div><dt>向いている</dt><dd>容量と運用を自分で管理</dd></div>
<div><dt>必要なもの</dt><dd>グローバル IP を持つ Linux のクラウドサーバー(最小構成で可)と root 権限。</dd></div>
<div><dt>注意</dt><dd>クラウドサーバーの費用がかかります。直接つながらないときの中継はサーバーの帯域に左右されます。中国本土では、ICP 登録のないドメインは使えないので IP を入力します。</dd></div>
</dl>
diff --git a/docs/ja/tour/index.html b/docs/ja/tour/index.html
index df47007..db69924 100644
--- a/docs/ja/tour/index.html
+++ b/docs/ja/tour/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>85 秒でわかる PasteFerry — PasteFerry</title>
- <meta name="description" content="Mac、Windows、Linux に対応。テキスト、画像、ファイル、フォルダを、アカウントやネットワークをまたいで同期。P2P 直接接続、エンドツーエンド暗号化、同じネットワークならサーバー不要。無料・オープンソース。">
+ <meta name="description" content="PasteFerry は Mac・Windows・Linux 間でテキスト、画像、ファイル、フォルダを同期します。公式サービスを有効にすればサーバー構築なしで別ネットワーク間も接続。直接接続を優先し、必要時のみ暗号化中継。無料・オープンソース。">
<meta name="theme-color" content="#141416">
<link rel="canonical" href="https://pasteferry.cc/ja/tour/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/tour/">
@@ -194,7 +194,7 @@
</div>
<div class="way">
<svg viewBox="0 0 240 112"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/><circle class="p-dot" r="3.2" data-x1="80" data-x2="160" data-y="80"/></svg>
- <h3>公開サーバー</h3>
+ <h3>独自の公開サーバー</h3>
<p>小さなクラウド VM を用意して、<br>どこからでも同期</p>
</div>
<div class="way">
@@ -218,7 +218,7 @@
<div class="row"><span>Mac と Windows のあいだ</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="yes">✓</span></div>
<div class="row"><span>ファイルとフォルダまるごと</span><span class="yes">✓</span><span class="meh">不安定</span><span class="yes">✓</span><span class="meh">先に圧縮</span></div>
<div class="row"><span>前にコピーしたものを探す</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="meh">履歴をさかのぼる</span></div>
- <div class="row"><span>内容が第三者のサーバーを通らない</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
+ <div class="row"><span>内容を復号できるのは自分の端末のみ</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
</div>
</section>
diff --git a/docs/llms.txt b/docs/llms.txt
index fbe1127..7b0447c 100644
--- a/docs/llms.txt
+++ b/docs/llms.txt
@@ -1,14 +1,14 @@
# PasteFerry (隔空贴)
-> PasteFerry is a free, open-source (GNU AGPL-3.0) app for macOS, Windows and Linux that syncs the clipboard and files between computers: copy on one, paste on another, in any combination of Mac, Windows and Linux. It works across different accounts and different networks. On the same network no server is needed: devices find each other over mDNS and pair with a code. Across networks, a server the user hosts (or Tailscale) introduces them. Devices connect peer-to-peer over WebRTC with end-to-end DTLS encryption; when a direct connection fails, traffic is relayed through the user's TURN server. The server stores no accounts and cannot read clipboard content.
+> PasteFerry is a free, open-source (GNU AGPL-3.0) app for macOS, Windows and Linux that syncs the clipboard and files between computers: copy on one, paste on another, in any combination of Mac, Windows and Linux. It works across different accounts and different networks. On the same network no server is needed: devices find each other over mDNS and pair with a code. Across networks, opt-in official access introduces them without requiring users to host a server; custom servers and Tailscale also remain available. Devices connect peer-to-peer over WebRTC with end-to-end DTLS encryption; when a direct connection fails, official traffic is relayed over an authorized WSS tunnel to TURN, with a current default allowance of 100 MB per machine quota group per day (upload plus download, Beijing midnight reset); direct traffic is not charged. The server stores no accounts and cannot read clipboard content.
>
-> 隔空贴是一款免费开源(GNU AGPL-3.0)的 macOS、Windows 与 Linux 工具,在两台电脑之间同步剪贴板与文件:一台复制,另一台直接粘贴,Mac、Windows、Linux 互通。不要求同一个账号,跨网络可用。同一网络里不需要服务器,设备靠 mDNS 互相发现、用配对码配对;跨网络时由用户自建的服务器或 Tailscale 牵线。设备间 WebRTC 直连、DTLS 端到端加密,打不通时经用户服务器的 TURN 中转;服务器不存账号,看不到复制内容。
+> 隔空贴是一款免费开源(GNU AGPL-3.0)的 macOS、Windows 与 Linux 工具,在两台电脑之间同步剪贴板与文件:一台复制,另一台直接粘贴,Mac、Windows、Linux 互通。不要求同一个账号,跨网络可用。同一网络里不需要服务器,设备靠 mDNS 互相发现、用配对码配对;跨网络时主动开启官方服务即可,无需自建;也可继续使用自建服务器或 Tailscale。设备间 WebRTC 直连、DTLS 端到端加密,打不通时才申请加密中转,当前默认每机器额度组每日 100 MB 上下行合计,直连不扣额度;服务器不存账号,看不到复制内容。
Name: PasteFerry in English, 隔空贴 in Chinese. Versions before 2.0.0 (October 2026) were called CopySync.
Key facts:
-- Current version: 2.1.0, prepared 2026-10-16. Adds optional official public access, direct-first connection with authorized relay fallback, and a daily relay usage page. Official access is off for new installations. Custom servers and LAN work without the private gateway. Both peers need 2.1.0 for official relay; existing direct and self-hosted protocols remain compatible. See https://pasteferry.cc/privacy/ and the public gateway protocol in design/official-gateway.md.
+- Current version: 2.1.0, released 2026-10-16. Adds optional official public access, direct-first connection with authorized relay fallback, and a daily relay usage page. Official access is off for new installations. Custom servers and LAN work without the private gateway. Both peers need 2.1.0 for official relay; existing direct and self-hosted protocols remain compatible. See https://pasteferry.cc/privacy/ and the public gateway protocol in design/official-gateway.md.
- Mac client: macOS 13 Ventura or later. Distributed as a DMG for Apple silicon (PasteFerry-mac-apple-silicon.dmg), one for Intel (PasteFerry-mac-intel.dmg), and a universal one (PasteFerry.dmg); not notarized by Apple, so the first launch needs "Open Anyway" in System Settings → Privacy & Security.
- Windows client: Windows 10 and Windows 11, x64. Per-user installer (PasteFerry-Setup.exe, no admin rights) or portable zip; not code-signed, so SmartScreen needs "More info → Run anyway" once. Runs in the notification area; pasted files are real files usable in Explorer, WeChat and Office. Skips content that password managers mark as sensitive.
- Linux client: x64 and ARM64, GTK 3; X11 desktops, or Wayland desktops with XWayland (GNOME and KDE include it by default). Tested on Ubuntu 24.04 GNOME. A .deb for Debian, Ubuntu and derivatives (installs to /opt/PasteFerry and adds a menu entry), or a tar.gz for other distributions (run install.sh to add a menu entry). The background service starts at login through an XDG autostart entry; data lives in ~/.local/share/pasteferry. No tray icon; reopen the window from the app menu. Skips content that password managers mark as sensitive.
@@ -42,6 +42,8 @@ Key facts:
- [Linux client design (中文)](https://pasteferry.cc/design/linux-client.html): X11 clipboard over XWayland, INCR transfers, XDG autostart, packaging
- [Changelog](https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md)
+- [Official service](https://pasteferry.cc/en/official/): optional cross-network access without self-hosting, direct-first relay and quota ([中文](https://pasteferry.cc/official/))
+
## Download
- [Latest release](https://github.com/baiyuze/pasteferry/releases/latest): DMGs for macOS (Apple silicon, Intel, universal), PasteFerry-Setup.exe and a portable zip for Windows, .deb and tar.gz packages for Linux (x64, ARM64), and server packages for Linux, macOS and Windows
diff --git a/docs/official/index.html b/docs/official/index.html
new file mode 100644
index 0000000..54d1a97
--- /dev/null
+++ b/docs/official/index.html
@@ -0,0 +1,113 @@
+<!doctype html>
+<html lang="zh-CN">
+<head>
+ <meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>官方公网服务:无需自建服务器 — 隔空贴 PasteFerry</title>
+ <meta name="description" content="打开一个开关,让家里与公司的电脑找到彼此。优先打洞直连,失败后自动中转,无需购买云主机或填写地址。">
+ <link rel="canonical" href="https://pasteferry.cc/official/">
+ <link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/">
+ <link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/">
+ <link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/">
+ <link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/">
+ <link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/">
+ <meta name="theme-color" content="#141416">
+ <meta property="og:type" content="article">
+ <meta property="og:site_name" content="隔空贴">
+ <meta property="og:title" content="官方公网服务:无需自建服务器 — 隔空贴 PasteFerry">
+ <meta property="og:description" content="打开一个开关,让家里与公司的电脑找到彼此。优先打洞直连,失败后自动中转,无需购买云主机或填写地址。">
+ <meta property="og:url" content="https://pasteferry.cc/official/">
+ <meta property="og:image" content="https://pasteferry.cc/assets/og.png">
+ <meta property="og:locale" content="zh_CN">
+ <meta name="twitter:card" content="summary_large_image">
+ <link rel="icon" href="../assets/favicon.svg" type="image/svg+xml">
+ <link rel="icon" href="../assets/favicon-32.png" sizes="32x32" type="image/png">
+ <link rel="apple-touch-icon" href="../assets/apple-touch-icon.png">
+ <link rel="stylesheet" href="../assets/site.css">
+</head>
+<body>
+ <a class="skip" href="#main">跳到正文</a>
+
+ <header class="bar">
+ <div class="wrap">
+ <a class="brand" href=".././" aria-label="隔空贴首页"><img src="../assets/icon.svg" alt="" width="26" height="26">隔空贴</a>
+ <nav aria-label="页面导航">
+ <a href="../start/">快速开始</a>
+ <a class="wide" href=".././#how">工作原理</a>
+ <a class="wide" href=".././#faq">常见问题</a>
+ <a class="mid" href="../start/#server">连接方式</a>
+ <a href="../download/">下载</a>
+ <a class="wide" href="https://github.com/baiyuze/pasteferry">GitHub</a>
+ <details class="lang">
+ <summary aria-label="语言:简体中文"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="10" cy="10" r="7.25"/><path d="M2.75 10h14.5M10 2.75c-2.1 2-3.1 4.4-3.1 7.25s1 5.25 3.1 7.25M10 2.75c2.1 2 3.1 4.4 3.1 7.25s-1 5.25-3.1 7.25"/></svg><span>简体中文</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
+ <ul>
+ <li><a href="../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh" aria-current="page">简体中文</a></li>
+ <li><a href="../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a></li>
+ <li><a href="../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a></li>
+ <li><a href="../en/official/" hreflang="en" lang="en" data-lang="en">English</a></li>
+ <li><a href="../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a></li>
+ </ul>
+ </details>
+ </nav>
+ </div>
+ </header>
+
+ <main id="main">
+ <section class="hero guide-hero"><div class="wrap">
+ <p class="crumb"><a href="../">隔空贴</a> / 官方服务</p>
+ <h1 class="display">跨网络,无需自建</h1>
+ <p class="lede">每台电脑安装 2.1.0 或更新版本,在设置中开启官方服务,再配对。信令帮助设备找到彼此,内容优先直接传输,打洞失败才走加密中转。</p>
+ <a class="button" href="../download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下载最新版本</a>
+ </div></section>
+ <section class="section"><div class="wrap">
+ <h2>三个步骤,开始跨网络同步</h2>
+ <div class="os-grid"><ol class="steps"> <li>在需要同步的每台电脑上安装最新版本,启用后台同步。</li>
+ <li>在每台电脑的「设置」中开启「使用官方服务」,阅读并确认必要统计说明。不用填写官方域名或端口。</li>
+ <li>一台生成配对码,另一台输入;核对两边的安全指纹后确认。已有配对关系可以继续使用。</li></ol>
+ <figure class="shot"><img src="../assets/screenshots/official-settings-dark.png" width="2112" height="1472" alt="设置中的使用官方服务开关,无需填写官方地址"></figure>
+ </div>
+ </div></section>
+ <section class="section"><div class="wrap official-copy"><h2>先直连,再中转</h2><p class="intro">官方信令只帮助在线设备交换连接信息。客户端先用 STUN 探测和打洞;本轮直连失败后,才申请官方中转。传输内容始终端到端加密。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>直连不消耗中转额度</h2><p class="intro">当前默认每机器额度组每日 100 MB 中转流量,上传与下载合计,北京时间零点重置。重新安装不会保证获得新额度。用量页显示实际额度、剩余量与更新时间;额度用尽仍可直连。额度与服务可用性可能调整,以客户端显示为准。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>由你决定是否开启</h2><p class="intro">新安装默认关闭。开启后记录必要接入统计;仅申请中转时派生项目专用机器摘要。真实设备名、原始系统标识和复制内容不会作为统计上传。完整字段与保留期限见隐私说明。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>仍可独立自建</h2><p class="intro">局域网、自定义服务器和 Tailscale 继续可用,不依赖官方网关。需要自行管理容量时,可选择自建公网服务器;在自定义地址旁点击「保存并连接」。</p></div></section>
+ <section class="section"><div class="wrap official-copy">
+ <figure class="shot"><img src="../assets/screenshots/official-usage-dark.png" width="2112" height="1472" loading="lazy" alt="官方服务用量页的演示数据:每日 100.00 MB、剩余 80.00 MB"></figure>
+ <p class="note"><a href="../privacy/">隐私与必要数据</a> · <a href="../cloud/">自建服务器教程</a> · <a href="https://pasteferry.cc/">pasteferry.cc</a></p>
+ </div></section>
+ </main>
+
+ <footer class="footer">
+ <div class="wrap">
+ <p>隔空贴以 GNU AGPL-3.0 开源。</p>
+ <nav aria-label="页脚链接">
+ <a href="https://github.com/baiyuze/pasteferry/releases">所有版本</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">更新记录</a>
+ <a href="https://pasteferry.cc/design/nat-traversal.html">技术方案</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/LICENSING.md">许可说明</a>
+ <a href="https://github.com/baiyuze/pasteferry/issues">反馈问题</a>
+ <a href="../privacy/">隐私与必要数据</a>
+ </nav>
+ <nav aria-label="语言">
+ <a href="../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh" aria-current="page">简体中文</a>
+ <a href="../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a>
+ <a href="../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a>
+ <a href="../en/official/" hreflang="en" lang="en" data-lang="en">English</a>
+ <a href="../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a>
+ </nav>
+ </div>
+ </footer>
+
+ <script src="../assets/site.js" defer></script>
+ <script type="module" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "7ee226baf4a949a397c4bfd69a9e7461"}'></script>
+</body>
+</html>
diff --git a/docs/privacy/index.html b/docs/privacy/index.html
index c588124..6d0211e 100644
--- a/docs/privacy/index.html
+++ b/docs/privacy/index.html
@@ -2,6 +2,15 @@
<html lang="zh-CN">
<head>
<meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>隐私与必要数据 — PasteFerry</title>
<meta name="description" content="新安装默认只使用局域网。开启官方公网后才连接官方信令并记录必要接入统计;自建服务器模式不向官方上报。先尝试直连,失败后才申请中转授权和读取机器额度摘要。">
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index aff2dfc..0f785e9 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -96,6 +96,51 @@
<xhtml:link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/start/"/>
<xhtml:link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/start/"/>
</url>
+ <url>
+ <loc>https://pasteferry.cc/official/</loc>
+ <lastmod>2026-10-16</lastmod>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/"/>
+ <xhtml:link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/"/>
+ <xhtml:link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/"/>
+ </url>
+ <url>
+ <loc>https://pasteferry.cc/zh-tw/official/</loc>
+ <lastmod>2026-10-16</lastmod>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/"/>
+ <xhtml:link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/"/>
+ <xhtml:link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/"/>
+ </url>
+ <url>
+ <loc>https://pasteferry.cc/zh-hk/official/</loc>
+ <lastmod>2026-10-16</lastmod>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/"/>
+ <xhtml:link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/"/>
+ <xhtml:link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/"/>
+ </url>
+ <url>
+ <loc>https://pasteferry.cc/en/official/</loc>
+ <lastmod>2026-10-16</lastmod>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/"/>
+ <xhtml:link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/"/>
+ <xhtml:link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/"/>
+ </url>
+ <url>
+ <loc>https://pasteferry.cc/ja/official/</loc>
+ <lastmod>2026-10-16</lastmod>
+ <xhtml:link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/"/>
+ <xhtml:link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/"/>
+ <xhtml:link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/"/>
+ <xhtml:link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/"/>
+ </url>
<url>
<loc>https://pasteferry.cc/lan/</loc>
<lastmod>2026-10-16</lastmod>
diff --git a/docs/start/index.html b/docs/start/index.html
index 5d104c2..efe04b6 100644
--- a/docs/start/index.html
+++ b/docs/start/index.html
@@ -119,14 +119,37 @@
<div class="wrap">
<p class="eyebrow">第 2 步</p>
<h2 id="server-title">选一种连接方式</h2>
- <p class="intro">两台电脑在同一个网络里时,什么都不用部署。跨网络时,要靠公网服务器或 Tailscale 找到彼此,复制的内容不会存在上面。</p>
+ <p class="intro">同一网络里装好就能配对;不同网络里,开启官方服务即可,无需自建。也保留自建服务器与 Tailscale,按你的需要选择。</p>
<div class="os-tabs" data-tabs="plan">
<div class="tablist" role="tablist" aria-label="连接方式" hidden>
+ <button type="button" role="tab" id="tab-plan-official" aria-controls="plan-official">官方服务</button>
<button type="button" role="tab" id="tab-plan-lan" aria-controls="plan-lan">同一网络</button>
- <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">公网服务器</button>
+ <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">自建公网服务器</button>
<button type="button" role="tab" id="tab-plan-ts" aria-controls="plan-ts">Tailscale</button>
</div>
+ <section class="os" id="plan-official" role="tabpanel" aria-labelledby="tab-plan-official">
+ <h3 class="os-title">官方服务</h3>
+ <div class="plan-grid">
+ <div>
+ <ol class="steps">
+ <li>在需要同步的每台电脑上安装最新版本,启用后台同步。</li>
+ <li>在每台电脑的「设置」中开启「使用官方服务」,阅读并确认必要统计说明。不用填写官方域名或端口。</li>
+ <li>一台生成配对码,另一台输入;核对两边的安全指纹后确认。已有配对关系可以继续使用。</li>
+ </ol>
+ <p class="plan-address">新安装默认关闭。开启后记录必要接入统计;仅申请中转时派生项目专用机器摘要。真实设备名、原始系统标识和复制内容不会作为统计上传。完整字段与保留期限见隐私说明。</p>
+ <a class="button quiet" href="../official/">开启官方服务 →</a>
+ </div>
+ <div class="plan-card">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <dl>
+ <div><dt>先直连,再中转</dt><dd>官方信令只帮助在线设备交换连接信息。客户端先用 STUN 探测和打洞;本轮直连失败后,才申请官方中转。传输内容始终端到端加密。</dd></div>
+ <div><dt>直连不消耗中转额度</dt><dd>当前默认每机器额度组每日 100 MB 中转流量,上传与下载合计,北京时间零点重置。重新安装不会保证获得新额度。用量页显示实际额度、剩余量与更新时间;额度用尽仍可直连。额度与服务可用性可能调整,以客户端显示为准。</dd></div>
+ </dl>
+ </div>
+ </div>
+ </section>
+
<section class="os" id="plan-lan" role="tabpanel" aria-labelledby="tab-plan-lan">
<h3 class="os-title">同一网络</h3>
<div class="plan-grid">
@@ -151,7 +174,7 @@
</section>
<section class="os" id="plan-cloud" role="tabpanel" aria-labelledby="tab-plan-cloud">
- <h3 class="os-title">公网服务器</h3>
+ <h3 class="os-title">自建公网服务器</h3>
<div class="plan-grid">
<div>
<ol class="steps">
@@ -165,7 +188,7 @@
<div class="plan-card">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
<dl>
- <div><dt>适合</dt><dd>电脑分散在不同的网络里,想在哪儿都能同步。跨网络时最省心。</dd></div>
+ <div><dt>适合</dt><dd>自己管理容量与部署</dd></div>
<div><dt>要准备</dt><dd>一台有公网 IP 的 Linux 云主机,最低配置就够,需要 root。</dd></div>
<div><dt>要注意</dt><dd>云主机要花钱。打不通直连时走中转,速度受服务器带宽限制。国内域名没有备案时,客户端要填 IP。</dd></div>
</dl>
diff --git a/docs/tour/index.html b/docs/tour/index.html
index 263c1a1..5a47d77 100644
--- a/docs/tour/index.html
+++ b/docs/tour/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>一分钟多,了解隔空贴 — 隔空贴</title>
- <meta name="description" content="Mac、Windows、Linux 互通。文本、图片、文件、文件夹,跨账号、跨网络,P2P 直连、端到端加密,同一网络里不需要服务器。免费开源。">
+ <meta name="description" content="隔空贴让 Mac、Windows、Linux 之间复制粘贴文字、图片、文件和文件夹。开启官方服务即可跨网络同步,无需自建服务器;优先打洞直连,失败自动加密中转。免费开源。">
<meta name="theme-color" content="#141416">
<link rel="canonical" href="https://pasteferry.cc/tour/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/tour/">
@@ -194,7 +194,7 @@
</div>
<div class="way">
<svg viewBox="0 0 240 112"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/><circle class="p-dot" r="3.2" data-x1="80" data-x2="160" data-y="80"/></svg>
- <h3>公网服务器</h3>
+ <h3>自建公网服务器</h3>
<p>自己部署,一台小云主机就够,<br>在哪儿都能同步</p>
</div>
<div class="way">
@@ -218,7 +218,7 @@
<div class="row"><span>Mac 与 Windows 之间</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="yes">✓</span></div>
<div class="row"><span>文件与整个文件夹</span><span class="yes">✓</span><span class="meh">不稳定</span><span class="yes">✓</span><span class="meh">要先打包</span></div>
<div class="row"><span>找回之前复制过的内容</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="meh">翻聊天记录</span></div>
- <div class="row"><span>内容不经过第三方服务器</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
+ <div class="row"><span>仅自己的设备可解密内容</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
</div>
</section>
diff --git a/docs/zh-hk/index.html b/docs/zh-hk/index.html
index ce0f2f5..0038928 100644
--- a/docs/zh-hk/index.html
+++ b/docs/zh-hk/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>隔空貼 PasteFerry:在 Mac、Windows 與 Linux 之間同步剪貼簿與檔案,跨帳戶、跨網絡</title>
- <meta name="description" content="隔空貼讓你在一部電腦上複製,到另一部電腦直接貼上,Mac、Windows、Linux 互通。支援文字、圖片、檔案和資料夾,不必使用同一個帳戶。在同一個網絡裏安裝好就能用,不需要伺服器;跨網絡時可用自己部署的伺服器或 Tailscale。裝置之間 P2P 直連、端對端加密。免費開源。">
+ <meta name="description" content="隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網絡同步,無需自建伺服器;優先打洞直連,失敗自動加密中轉。免費開源。">
<link rel="canonical" href="https://pasteferry.cc/zh-hk/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/">
<link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/">
@@ -25,7 +25,7 @@
<meta property="og:type" content="website">
<meta property="og:site_name" content="隔空貼">
<meta property="og:title" content="隔空貼:在這部電腦複製,到那部電腦貼上">
- <meta property="og:description" content="Mac、Windows、Linux 互通。文字、圖片、檔案、資料夾,跨帳戶、跨網絡,P2P 直連、端對端加密,同一網絡內不需要伺服器。免費開源。">
+ <meta property="og:description" content="隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網絡同步,無需自建伺服器;優先打洞直連,失敗自動加密中轉。免費開源。">
<meta property="og:url" content="https://pasteferry.cc/zh-hk/">
<meta property="og:image" content="https://pasteferry.cc/assets/og-zh-hant.png">
<meta property="og:image:width" content="1200">
@@ -101,7 +101,7 @@
"name": "和 macOS 內建的「通用剪貼簿」有甚麼分別?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "「通用剪貼簿」要求兩部裝置登入同一個 Apple ID、開啟藍牙和 Wi‑Fi,而且要靠近,也只能在 Apple 裝置之間使用。隔空貼在同一個網絡裏安裝好就能用;跨網絡時,只要兩部電腦能連上你部署的伺服器,或者都安裝了 Tailscale 就可以:不同 Apple ID、一部在家一部在公司、一部 Mac 一部 Windows 電腦,都沒有問題。另外它有複製記錄,大檔案也可以按需要拉取。 如果你的兩部 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能已經足夠。"
+ "text": "Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一帳戶。現在啟用官方服務就能跨網絡同步,無需自行架設伺服器。優先直連,始終端到端加密。 如果你的兩部 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能已經足夠。"
}
},
{
@@ -109,7 +109,7 @@
"name": "伺服器會看到我複製的內容嗎?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "不會。直連時資料根本不經過伺服器;需要中轉時,伺服器轉發的是經 DTLS 加密的封包。伺服器不儲存帳戶,也不儲存任何複製內容。程式碼是開源的,你可以自己核對。"
+ "text": "伺服器無法解密複製內容:直連時內容不經過中轉伺服器;中轉時轉發端到端加密封包。官方服務保留必要裝置與用量統計,詳見私隱說明。原始碼可供審計,不代表能證明私有正式環境的儲存行為。"
}
},
{
@@ -125,7 +125,7 @@
"name": "一定要自己準備伺服器嗎?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "不一定。兩部電腦在同一個網絡裏時,安裝好 App 直接配對就可以,不需要伺服器。 跨網絡時有兩種做法:公網伺服器,最低配置的雲端伺服器已經足夠,在哪裏都能同步;Tailscale,每部電腦安裝它,配對時輸入對方的 Tailscale 地址,不需要伺服器。隔空貼不提供公共伺服器,所以任何人的資料都不會經過別人的機器。"
+ "text": "不需要。不同網絡時,在兩部電腦上啟用官方服務即可,不用購買雲端主機或填寫地址。預設關閉,目前提供每日 100 MB 中轉額度,直連不消耗此額度。區域網絡、自建伺服器與 Tailscale 繼續可用。"
}
},
{
@@ -133,7 +133,7 @@
"name": "家裏沒有公網 IP,能在家和公司之間同步嗎?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "能,有兩種做法。如果有一部公網伺服器,把伺服器部署在上面,家裏和公司的電腦都直接連線到它,見公網伺服器部署。沒有的話,每部電腦安裝 Tailscale、登入同一個帳戶,配對時輸入對方的 Tailscale 地址,見Tailscale 教學。"
+ "text": "不需要。不同網絡時,在兩部電腦上啟用官方服務即可,不用購買雲端主機或填寫地址。預設關閉,目前提供每日 100 MB 中轉額度,直連不消耗此額度。區域網絡、自建伺服器與 Tailscale 繼續可用。"
}
},
{
@@ -175,6 +175,14 @@
"@type": "Answer",
"text": "免費。隔空貼以 GNU AGPL-3.0 開源,個人和公司都可以免費使用和修改。分發它,或透過網絡提供修改過的版本時,需要以同樣的授權公開原始碼。"
}
+ },
+ {
+ "@type": "Question",
+ "name": "官方中轉不限量嗎?",
+ "acceptedAnswer": {
+ "@type": "Answer",
+ "text": "目前預設每機器額度組每日 100 MB 中轉流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。"
+ }
}
]
}
@@ -212,8 +220,9 @@
<main id="main">
<section class="hero">
<div class="wrap">
+ <a class="release-note" href="official/">2.1 新增:跨網絡同步,無需自建伺服器 →</a>
<h1 class="display">在這部電腦複製,<br>到那部電腦貼上。</h1>
- <p class="lede">Mac、Windows、Linux 互通。文字、圖片、檔案以至整個資料夾都可以,不必使用同一個帳戶。在同一個網絡裏安裝好就能用,不需要伺服器;跨網絡也可以。資料在你的裝置之間直接傳輸,端對端加密。</p>
+ <p class="lede">Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一帳戶。現在啟用官方服務就能跨網絡同步,無需自行架設伺服器。優先直連,始終端到端加密。</p>
<div class="cta">
<a class="button" href="download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載隔空貼</a>
<a class="button quiet tour-link" href="tour/" data-tour-open aria-haspopup="dialog"><span aria-hidden="true">▶</span> 觀看完整示範 <span class="tour-duration">1:25</span></a>
@@ -250,8 +259,15 @@
<section class="section" id="deploy" aria-labelledby="deploy-title">
<div class="wrap">
<h2 id="deploy-title">兩部電腦怎樣連起來</h2>
- <p class="intro">在同一個網絡裏,安裝好 App 就能直接配對,不需要伺服器。跨網絡時,兩部電腦要靠伺服器或 Tailscale 找到彼此,複製的內容不會儲存在上面。按你的情況選一種。</p>
+ <p class="intro">同一網絡裏裝好就能配對;不同網絡裏,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,按需要選擇。</p>
<div class="paths">
+ <a class="path" href="official/">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <span class="path-when">跨網絡,無需自建</span>
+ <h3>官方服務</h3>
+ <p>開啟一個開關,讓家裏與公司的電腦找到彼此。優先打洞直連,失敗後自動中轉,不用購買雲端主機或填寫地址。</p>
+ <span class="path-go">啟用官方服務 →</span>
+ </a>
<a class="path" href="lan/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-net" x="6" y="6" width="228" height="100" rx="14"/><path class="p-data" d="M82 52h76"/><rect class="p-dev" x="39" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M34 69h48"/><rect class="p-dev" x="163" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M158 69h48"/></svg>
<span class="path-when">甚麼都不用部署</span>
@@ -261,8 +277,8 @@
</a>
<a class="path" href="cloud/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
- <span class="path-when">在哪裏都能同步</span>
- <h3>公網伺服器</h3>
+ <span class="path-when">自行管理容量與部署</span>
+ <h3>自建公網伺服器</h3>
<p>一部有公網 IP 的 Linux 雲端伺服器,最低配置已經足夠。每部電腦直接連線到它,在家、在公司、在外面都能用,不用另外安裝軟件。</p>
<span class="path-go">公網伺服器部署教學 →</span>
</a>
@@ -274,7 +290,7 @@
<span class="path-go">Tailscale 教學 →</span>
</a>
</div>
- <p class="note">拿不定主意?<a href="start/#server">快速開始</a>裏有三種方式的比較。</p>
+ <p class="note">第一次用?跟著<a href="start/#server">快速開始</a>。官方服務可選,目前預設每日 100 MB 中轉額度,直連不扣此額度。</p>
</div>
</section>
@@ -315,7 +331,7 @@
<tr><th scope="row">複製後直接貼上,不用按接受</th><td class="yes ours">可以</td><td class="yes">可以</td><td class="no">不行</td><td class="no">不行</td></tr>
<tr><th scope="row">檔案與整個資料夾</th><td class="yes ours">可以</td><td class="partial">不穩定</td><td class="yes">可以</td><td class="partial">要先壓縮</td></tr>
<tr><th scope="row">找回之前複製過的內容</th><td class="yes ours">可以</td><td class="no">不行</td><td class="no">不行</td><td class="partial">翻查聊天記錄</td></tr>
- <tr><th scope="row">內容不經過第三方伺服器</th><td class="yes ours">不經過</td><td class="yes">不經過</td><td class="yes">不經過</td><td class="no">經過</td></tr>
+ <tr><th scope="row">只有自己的裝置可解密內容</th><td class="yes ours">不經過</td><td class="yes">不經過</td><td class="yes">不經過</td><td class="no">經過</td></tr>
</tbody>
</table>
</div>
@@ -464,7 +480,7 @@
<li>下載 DMG,開啟後把隔空貼拖進「應用程式」。<span class="aside">Apple 晶片與 Intel 處理器的 Mac 各有一個版本,下載頁會告訴你怎樣分辨自己的 Mac 屬於哪種。</span></li>
<li>從「應用程式」裏開啟。<span class="aside">第一次會提示「無法驗證開發者」:隔空貼仍未經 Apple 公證。到「系統設定 → 私隱與保安」,按頁面下方的「強制開啟」,只需要做一次。</span></li>
<li>按「啟用背景同步」。系統詢問是否允許讀取剪貼簿、能否尋找本地網絡上的裝置時,都選擇允許。</li>
- <li>跨網絡同步時,在「設定」裏填入伺服器地址 <code>ws://伺服器地址:8787/signal</code>,按 Enter;在同一個網絡裏則不用填。</li>
+ <li>跨網絡時,在每部電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器地址;也可以繼續自建。</li>
</ol>
<a class="button" href="download/#macos"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載 Mac 版</a>
</div>
@@ -473,7 +489,7 @@
<ol>
<li>執行 PasteFerry-Setup.exe。它會安裝在目前用戶的目錄下,不需要管理員權限。<span class="aside">隔空貼仍未有程式碼簽署,Windows 會提示「Windows 已保護您的電腦」:按「其他資訊」,再按「仍要執行」。不想執行安裝程式的話,可以下載<a href="https://github.com/baiyuze/pasteferry/releases/latest/download/PasteFerry-windows-x64.zip">免安裝版</a>。</span></li>
<li>開啟隔空貼,按「啟用背景同步」。關閉視窗後,它會在右下角的系統匣裏繼續執行。防火牆詢問時選擇允許。</li>
- <li>跨網絡同步時,在「設定」裏填入伺服器地址,按 Enter;在同一個網絡裏則不用填。</li>
+ <li>跨網絡時,在每部電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器地址;也可以繼續自建。</li>
</ol>
<a class="button" href="download/#windows"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載 Windows 版</a>
</div>
@@ -482,17 +498,18 @@
<ol>
<li>Ubuntu、Debian 等發行版下載 .deb,執行 <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>;其他發行版下載 tar.gz,解壓後執行 <code>./PasteFerry/install.sh</code>。</li>
<li>從應用程式選單開啟隔空貼,按「啟用背景同步」。之後它會在登入時自動啟動。</li>
- <li>跨網絡同步時,在「設定」裏填入伺服器地址,按 Enter;在同一個網絡裏則不用填。</li>
+ <li>跨網絡時,在每部電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器地址;也可以繼續自建。</li>
</ol>
<a class="button" href="download/#linux"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載 Linux 版</a>
</div>
</div>
<div class="install-more">
<h3><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="4" width="16" height="7" rx="1.5"/><rect x="4" y="13" width="16" height="7" rx="1.5"/><path d="M8 7.5h.01M8 16.5h.01"/></svg>連線方式</h3>
- <p class="small">在同一個網絡裏不需要伺服器。三種方式按你的情況選一種,每種都有圖文教學:</p>
+ <p class="small">同一網絡裏裝好就能配對;不同網絡裏,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,按需要選擇。</p>
<ul class="opts">
+ <li><a href="official/">官方服務</a><span>跨網絡,無需自建</span></li>
<li><a href="lan/">同一網絡</a><span>甚麼都不用部署</span></li>
- <li><a href="cloud/">公網伺服器</a><span>在哪裏都能同步</span></li>
+ <li><a href="cloud/">自建公網伺服器</a><span>自行管理容量與部署</span></li>
<li><a href="tailscale/">Tailscale</a><span>跨網絡,不用伺服器</span></li>
</ul>
<a class="button quiet" href="start/#server">比較三種方式</a>
@@ -538,11 +555,11 @@
</details>
<details>
<summary>和 macOS 內建的「通用剪貼簿」有甚麼分別?</summary>
- <div class="answer"><p>「通用剪貼簿」要求兩部裝置登入同一個 Apple ID、開啟藍牙和 Wi‑Fi,而且要靠近,也只能在 Apple 裝置之間使用。隔空貼在同一個網絡裏安裝好就能用;跨網絡時,只要兩部電腦能連上你部署的伺服器,或者都安裝了 Tailscale 就可以:不同 Apple ID、一部在家一部在公司、一部 Mac 一部 Windows 電腦,都沒有問題。另外它有複製記錄,大檔案也可以按需要拉取。</p><p>如果你的兩部 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能已經足夠。</p></div>
+ <div class="answer"><p>Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一帳戶。現在啟用官方服務就能跨網絡同步,無需自行架設伺服器。優先直連,始終端到端加密。</p><p>如果你的兩部 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能已經足夠。</p></div>
</details>
<details>
<summary>伺服器會看到我複製的內容嗎?</summary>
- <div class="answer"><p>不會。直連時資料根本不經過伺服器;需要中轉時,伺服器轉發的是經 DTLS 加密的封包。伺服器不儲存帳戶,也不儲存任何複製內容。程式碼是開源的,你可以自己核對。</p></div>
+ <div class="answer"><p>伺服器無法解密複製內容:直連時內容不經過中轉伺服器;中轉時轉發端到端加密封包。官方服務保留必要裝置與用量統計,詳見私隱說明。原始碼可供審計,不代表能證明私有正式環境的儲存行為。</p></div>
</details>
<details>
<summary>公司網絡(雙線、多出口)能直連嗎?</summary>
@@ -550,11 +567,11 @@
</details>
<details>
<summary>一定要自己準備伺服器嗎?</summary>
- <div class="answer"><p>不一定。兩部電腦在<a href="lan/">同一個網絡</a>裏時,安裝好 App 直接配對就可以,不需要伺服器。</p><p>跨網絡時有兩種做法:<a href="cloud/">公網伺服器</a>,最低配置的雲端伺服器已經足夠,在哪裏都能同步;<a href="tailscale/">Tailscale</a>,每部電腦安裝它,配對時輸入對方的 Tailscale 地址,不需要伺服器。隔空貼不提供公共伺服器,所以任何人的資料都不會經過別人的機器。</p></div>
+ <div class="answer"><p>不需要。不同網絡時,在兩部電腦上啟用<a href="official/">官方服務</a>即可,不用購買雲端主機或填寫地址。預設關閉,目前提供每日 100 MB 中轉額度,直連不消耗此額度。區域網絡、<a href="cloud/">自建伺服器</a>與 <a href="tailscale/">Tailscale</a> 繼續可用。</p></div>
</details>
<details>
<summary>家裏沒有公網 IP,能在家和公司之間同步嗎?</summary>
- <div class="answer"><p>能,有兩種做法。如果有一部公網伺服器,把伺服器部署在上面,家裏和公司的電腦都直接連線到它,見<a href="cloud/">公網伺服器部署</a>。沒有的話,每部電腦安裝 Tailscale、登入同一個帳戶,配對時輸入對方的 Tailscale 地址,見<a href="tailscale/">Tailscale 教學</a>。</p></div>
+ <div class="answer"><p>不需要。不同網絡時,在兩部電腦上啟用<a href="official/">官方服務</a>即可,不用購買雲端主機或填寫地址。預設關閉,目前提供每日 100 MB 中轉額度,直連不消耗此額度。區域網絡、<a href="cloud/">自建伺服器</a>與 <a href="tailscale/">Tailscale</a> 繼續可用。</p></div>
</details>
<details>
<summary>在同一個網絡裏,為甚麼找不到另一部電腦?</summary>
@@ -576,6 +593,10 @@
<summary>免費嗎?公司可以用嗎?</summary>
<div class="answer"><p>免費。隔空貼以 GNU AGPL-3.0 開源,個人和公司都可以免費使用和修改。分發它,或透過網絡提供修改過的版本時,需要以同樣的授權公開原始碼。</p></div>
</details>
+ <details>
+ <summary>官方中轉不限量嗎?</summary>
+ <div class="answer"><p>目前預設每機器額度組每日 100 MB 中轉流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。</p></div>
+ </details>
</div>
</div>
</section>
diff --git a/docs/zh-hk/official/index.html b/docs/zh-hk/official/index.html
new file mode 100644
index 0000000..5b6a832
--- /dev/null
+++ b/docs/zh-hk/official/index.html
@@ -0,0 +1,113 @@
+<!doctype html>
+<html lang="zh-HK">
+<head>
+ <meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>官方公網服務:無需自建伺服器 — 隔空貼 PasteFerry</title>
+ <meta name="description" content="開啟一個開關,讓家裏與公司的電腦找到彼此。優先打洞直連,失敗後自動中轉,不用購買雲端主機或填寫地址。">
+ <link rel="canonical" href="https://pasteferry.cc/zh-hk/official/">
+ <link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/">
+ <link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/">
+ <link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/">
+ <link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/">
+ <link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/">
+ <meta name="theme-color" content="#141416">
+ <meta property="og:type" content="article">
+ <meta property="og:site_name" content="隔空貼">
+ <meta property="og:title" content="官方公網服務:無需自建伺服器 — 隔空貼 PasteFerry">
+ <meta property="og:description" content="開啟一個開關,讓家裏與公司的電腦找到彼此。優先打洞直連,失敗後自動中轉,不用購買雲端主機或填寫地址。">
+ <meta property="og:url" content="https://pasteferry.cc/zh-hk/official/">
+ <meta property="og:image" content="https://pasteferry.cc/assets/og-zh-hant.png">
+ <meta property="og:locale" content="zh_HK">
+ <meta name="twitter:card" content="summary_large_image">
+ <link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml">
+ <link rel="icon" href="../../assets/favicon-32.png" sizes="32x32" type="image/png">
+ <link rel="apple-touch-icon" href="../../assets/apple-touch-icon.png">
+ <link rel="stylesheet" href="../../assets/site.css">
+</head>
+<body>
+ <a class="skip" href="#main">跳至主要內容</a>
+
+ <header class="bar">
+ <div class="wrap">
+ <a class="brand" href="../../zh-hk/" aria-label="隔空貼首頁"><img src="../../assets/icon.svg" alt="" width="26" height="26">隔空貼</a>
+ <nav aria-label="頁面導覽">
+ <a href="../../zh-hk/start/">快速開始</a>
+ <a class="wide" href="../../zh-hk/#how">運作原理</a>
+ <a class="wide" href="../../zh-hk/#faq">常見問題</a>
+ <a class="mid" href="../../zh-hk/start/#server">連線方式</a>
+ <a href="../../zh-hk/download/">下載</a>
+ <a class="wide" href="https://github.com/baiyuze/pasteferry">GitHub</a>
+ <details class="lang">
+ <summary aria-label="語言:繁體中文(香港)"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="10" cy="10" r="7.25"/><path d="M2.75 10h14.5M10 2.75c-2.1 2-3.1 4.4-3.1 7.25s1 5.25 3.1 7.25M10 2.75c2.1 2 3.1 4.4 3.1 7.25s-1 5.25-3.1 7.25"/></svg><span>繁體中文(香港)</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
+ <ul>
+ <li><a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a></li>
+ <li><a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a></li>
+ <li><a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk" aria-current="page">繁體中文(香港)</a></li>
+ <li><a href="../../en/official/" hreflang="en" lang="en" data-lang="en">English</a></li>
+ <li><a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a></li>
+ </ul>
+ </details>
+ </nav>
+ </div>
+ </header>
+
+ <main id="main">
+ <section class="hero guide-hero"><div class="wrap">
+ <p class="crumb"><a href="../../zh-hk/">隔空貼</a> / 官方服務</p>
+ <h1 class="display">跨網絡,無需自建</h1>
+ <p class="lede">每部電腦安裝 2.1.0 或更新版本,在設定中啟用官方服務,再配對。信令協助裝置找到彼此,內容優先直接傳輸,打洞失敗才走加密中轉。</p>
+ <a class="button" href="../../zh-hk/download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載最新版本</a>
+ </div></section>
+ <section class="section"><div class="wrap">
+ <h2>三個步驟,開始跨網絡同步</h2>
+ <div class="os-grid"><ol class="steps"> <li>在每部需要同步的電腦上安裝最新版本,啟用背景同步。</li>
+ <li>在每部電腦的「設定」中開啟「使用官方服務」,閱讀並確認必要統計說明。不用填寫官方網域或端口。</li>
+ <li>一部產生配對碼,另一部輸入;核對兩邊的安全指紋後確認。原有配對關係可以繼續使用。</li></ol>
+ <figure class="shot"><img src="../../assets/screenshots/zh-hk/official-settings-dark.png" width="2112" height="1472" alt="設定中的使用官方服務開關,無需填寫官方地址"></figure>
+ </div>
+ </div></section>
+ <section class="section"><div class="wrap official-copy"><h2>先直連,再中轉</h2><p class="intro">官方信令只協助在線裝置交換連線資料。用戶端先用 STUN 探測和打洞;本輪直連失敗後,才申請官方中轉。傳輸內容始終端到端加密。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>直連不消耗中轉額度</h2><p class="intro">目前預設每機器額度組每日 100 MB 中轉流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>由你決定是否啟用</h2><p class="intro">新安裝預設關閉。啟用後記錄必要連線統計;只在申請中轉時衍生項目專用機器摘要。真實裝置名稱、原始系統識別碼和複製內容不作為統計上傳。完整欄位與保留期限見私隱說明。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>仍可獨立自建</h2><p class="intro">區域網絡、自訂伺服器與 Tailscale 繼續可用,不依賴官方網關。需要自行管理容量時,可選擇自建公網伺服器;在自訂地址旁按「儲存並連接」。</p></div></section>
+ <section class="section"><div class="wrap official-copy">
+ <figure class="shot"><img src="../../assets/screenshots/zh-hk/official-usage-dark.png" width="2112" height="1472" loading="lazy" alt="官方用量頁示範資料:每日 100.00 MB、剩餘 80.00 MB"></figure>
+ <p class="note"><a href="../../zh-hk/privacy/">私隱與必要資料</a> · <a href="../../zh-hk/cloud/">自建伺服器教學</a> · <a href="https://pasteferry.cc/">pasteferry.cc</a></p>
+ </div></section>
+ </main>
+
+ <footer class="footer">
+ <div class="wrap">
+ <p>隔空貼以 GNU AGPL-3.0 開源。</p>
+ <nav aria-label="頁尾連結">
+ <a href="https://github.com/baiyuze/pasteferry/releases">所有版本</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">更新記錄</a>
+ <a href="https://pasteferry.cc/design/nat-traversal.html">技術方案</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/LICENSING.md">授權說明</a>
+ <a href="https://github.com/baiyuze/pasteferry/issues">回報問題</a>
+ <a href="../../zh-hk/privacy/">私隱與必要資料</a>
+ </nav>
+ <nav aria-label="語言">
+ <a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a>
+ <a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw">繁體中文(台灣)</a>
+ <a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk" aria-current="page">繁體中文(香港)</a>
+ <a href="../../en/official/" hreflang="en" lang="en" data-lang="en">English</a>
+ <a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a>
+ </nav>
+ </div>
+ </footer>
+
+ <script src="../../assets/site.js" defer></script>
+ <script type="module" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "7ee226baf4a949a397c4bfd69a9e7461"}'></script>
+</body>
+</html>
diff --git a/docs/zh-hk/privacy/index.html b/docs/zh-hk/privacy/index.html
index 1edb104..e7f91b2 100644
--- a/docs/zh-hk/privacy/index.html
+++ b/docs/zh-hk/privacy/index.html
@@ -2,6 +2,15 @@
<html lang="zh-HK">
<head>
<meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>私隱與必要資料 — PasteFerry</title>
<meta name="description" content="新安裝預設只使用區域網絡。啟用官方公網後才連接官方信令並記錄必要連線統計;自訂伺服器不向官方回報。先嘗試直連,失敗才申請中轉並讀取機器額度摘要。">
diff --git a/docs/zh-hk/start/index.html b/docs/zh-hk/start/index.html
index 7507eea..e9afa18 100644
--- a/docs/zh-hk/start/index.html
+++ b/docs/zh-hk/start/index.html
@@ -119,14 +119,37 @@
<div class="wrap">
<p class="eyebrow">第 2 步</p>
<h2 id="server-title">選擇一種連線方式</h2>
- <p class="intro">兩部電腦在同一個網絡裏時,甚麼都不用部署。跨網絡時,要靠公網伺服器或 Tailscale 找到彼此,複製的內容不會儲存在上面。</p>
+ <p class="intro">同一網絡裏裝好就能配對;不同網絡裏,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,按需要選擇。</p>
<div class="os-tabs" data-tabs="plan">
<div class="tablist" role="tablist" aria-label="連線方式" hidden>
+ <button type="button" role="tab" id="tab-plan-official" aria-controls="plan-official">官方服務</button>
<button type="button" role="tab" id="tab-plan-lan" aria-controls="plan-lan">同一網絡</button>
- <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">公網伺服器</button>
+ <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">自建公網伺服器</button>
<button type="button" role="tab" id="tab-plan-ts" aria-controls="plan-ts">Tailscale</button>
</div>
+ <section class="os" id="plan-official" role="tabpanel" aria-labelledby="tab-plan-official">
+ <h3 class="os-title">官方服務</h3>
+ <div class="plan-grid">
+ <div>
+ <ol class="steps">
+ <li>在每部需要同步的電腦上安裝最新版本,啟用背景同步。</li>
+ <li>在每部電腦的「設定」中開啟「使用官方服務」,閱讀並確認必要統計說明。不用填寫官方網域或端口。</li>
+ <li>一部產生配對碼,另一部輸入;核對兩邊的安全指紋後確認。原有配對關係可以繼續使用。</li>
+ </ol>
+ <p class="plan-address">新安裝預設關閉。啟用後記錄必要連線統計;只在申請中轉時衍生項目專用機器摘要。真實裝置名稱、原始系統識別碼和複製內容不作為統計上傳。完整欄位與保留期限見私隱說明。</p>
+ <a class="button quiet" href="../../zh-hk/official/">啟用官方服務 →</a>
+ </div>
+ <div class="plan-card">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <dl>
+ <div><dt>先直連,再中轉</dt><dd>官方信令只協助在線裝置交換連線資料。用戶端先用 STUN 探測和打洞;本輪直連失敗後,才申請官方中轉。傳輸內容始終端到端加密。</dd></div>
+ <div><dt>直連不消耗中轉額度</dt><dd>目前預設每機器額度組每日 100 MB 中轉流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。</dd></div>
+ </dl>
+ </div>
+ </div>
+ </section>
+
<section class="os" id="plan-lan" role="tabpanel" aria-labelledby="tab-plan-lan">
<h3 class="os-title">同一網絡</h3>
<div class="plan-grid">
@@ -151,7 +174,7 @@
</section>
<section class="os" id="plan-cloud" role="tabpanel" aria-labelledby="tab-plan-cloud">
- <h3 class="os-title">公網伺服器</h3>
+ <h3 class="os-title">自建公網伺服器</h3>
<div class="plan-grid">
<div>
<ol class="steps">
@@ -165,7 +188,7 @@
<div class="plan-card">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
<dl>
- <div><dt>適合</dt><dd>電腦分散在不同的網絡,想在哪裏都能同步。跨網絡時最省事。</dd></div>
+ <div><dt>適合</dt><dd>自行管理容量與部署</dd></div>
<div><dt>要準備</dt><dd>一部有公網 IP 的 Linux 雲端伺服器,最低配置已經足夠,需要 root 權限。</dd></div>
<div><dt>要注意</dt><dd>雲端伺服器要付費。打不通直連時經中轉,速度受伺服器頻寬限制。在內地的雲端伺服器上,域名未有 ICP 備案時,用戶端要填 IP。</dd></div>
</dl>
diff --git a/docs/zh-hk/tour/index.html b/docs/zh-hk/tour/index.html
index 330746f..ca10373 100644
--- a/docs/zh-hk/tour/index.html
+++ b/docs/zh-hk/tour/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>一分多鐘,認識隔空貼 — 隔空貼</title>
- <meta name="description" content="Mac、Windows、Linux 互通。文字、圖片、檔案、資料夾,跨帳戶、跨網絡,P2P 直連、端對端加密,同一網絡內不需要伺服器。免費開源。">
+ <meta name="description" content="隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網絡同步,無需自建伺服器;優先打洞直連,失敗自動加密中轉。免費開源。">
<meta name="theme-color" content="#141416">
<link rel="canonical" href="https://pasteferry.cc/zh-hk/tour/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/tour/">
@@ -194,7 +194,7 @@
</div>
<div class="way">
<svg viewBox="0 0 240 112"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/><circle class="p-dot" r="3.2" data-x1="80" data-x2="160" data-y="80"/></svg>
- <h3>公網伺服器</h3>
+ <h3>自建公網伺服器</h3>
<p>自行部署,一部小雲端主機就夠,<br>在哪裏都能同步</p>
</div>
<div class="way">
@@ -218,7 +218,7 @@
<div class="row"><span>Mac 與 Windows 之間</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="yes">✓</span></div>
<div class="row"><span>檔案與整個資料夾</span><span class="yes">✓</span><span class="meh">不穩定</span><span class="yes">✓</span><span class="meh">要先壓縮</span></div>
<div class="row"><span>找回之前複製過的內容</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="meh">翻查聊天記錄</span></div>
- <div class="row"><span>內容不經過第三方伺服器</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
+ <div class="row"><span>只有自己的裝置可解密內容</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
</div>
</section>
diff --git a/docs/zh-tw/index.html b/docs/zh-tw/index.html
index 1809e6f..76c48b7 100644
--- a/docs/zh-tw/index.html
+++ b/docs/zh-tw/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>隔空貼 PasteFerry:在 Mac、Windows 與 Linux 之間同步剪貼簿與檔案,跨帳號跨網路</title>
- <meta name="description" content="隔空貼讓你在一台電腦上複製,到另一台直接貼上,Mac、Windows、Linux 互通。支援文字、圖片、檔案和資料夾,不必使用同一個帳號。在同一個網路裡裝好就能用,不需要伺服器;跨網路時可以用自己架設的伺服器或 Tailscale。裝置之間 P2P 直連、端對端加密。免費開源。">
+ <meta name="description" content="隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網路同步,無需自建伺服器;優先打洞直連,失敗自動加密中繼。免費開源。">
<link rel="canonical" href="https://pasteferry.cc/zh-tw/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/">
<link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/">
@@ -25,7 +25,7 @@
<meta property="og:type" content="website">
<meta property="og:site_name" content="隔空貼">
<meta property="og:title" content="隔空貼:在這台電腦複製,到那台電腦貼上">
- <meta property="og:description" content="Mac、Windows、Linux 互通。文字、圖片、檔案、資料夾,跨帳號、跨網路,P2P 直連、端對端加密,同一個網路裡不需要伺服器。免費開源。">
+ <meta property="og:description" content="隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網路同步,無需自建伺服器;優先打洞直連,失敗自動加密中繼。免費開源。">
<meta property="og:url" content="https://pasteferry.cc/zh-tw/">
<meta property="og:image" content="https://pasteferry.cc/assets/og-zh-hant.png">
<meta property="og:image:width" content="1200">
@@ -101,7 +101,7 @@
"name": "和 macOS 內建的「通用剪貼板」有什麼不同?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "通用剪貼板要求兩台裝置登入同一個 Apple ID、開著藍牙和 Wi‑Fi,而且距離要近,也只能在 Apple 裝置之間使用。隔空貼在同一個網路裡裝好就能用;跨網路時,只要兩台電腦都能連上你架設的伺服器,或都裝了 Tailscale 就行:不同 Apple ID、一台在家一台在公司、一台 Mac 一台 Windows,都可以。另外它有複製記錄,大檔案也可以依需要再拉取。 如果你的兩台 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能就夠用了。"
+ "text": "Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一個帳號。現在啟用官方服務就能跨網路同步,無需自行架設伺服器。優先直連,始終端到端加密。 如果你的兩台 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能就夠用了。"
}
},
{
@@ -109,7 +109,7 @@
"name": "伺服器會看到我複製的內容嗎?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "不會。直連時資料根本不經過伺服器;需要中繼時,伺服器轉送的是 DTLS 加密後的封包。伺服器不存帳號,也不存任何複製的內容。程式碼是開源的,可以自己檢查。"
+ "text": "伺服器無法解密複製內容:直連時內容不經過中繼伺服器;中繼時轉送端到端加密封包。官方服務保留必要裝置與用量統計,詳見隱私說明。原始碼可供稽核,不代表能證明私有正式環境的儲存行為。"
}
},
{
@@ -125,7 +125,7 @@
"name": "一定要自己準備伺服器嗎?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "不一定。兩台電腦在同一個網路裡時,裝好 App 直接配對就行,不需要伺服器。 跨網路時有兩種做法:雲端伺服器,最低規格的雲端主機就夠,在哪裡都能同步;Tailscale,每台電腦裝上它,配對時輸入對方的 Tailscale 位址,不需要伺服器。隔空貼不提供公共伺服器,所以任何人的資料都不會經過別人的機器。"
+ "text": "不需要。不同網路時,在兩台電腦上啟用官方服務即可,不需購買雲端主機或填寫位址。預設關閉,目前提供每日 100 MB 中繼額度,直連不消耗此額度。區域網路、自建伺服器與 Tailscale 繼續可用。"
}
},
{
@@ -133,7 +133,7 @@
"name": "家裡沒有公用 IP,能在家和公司之間同步嗎?",
"acceptedAnswer": {
"@type": "Answer",
- "text": "可以,有兩種做法。如果有一台具備公用 IP 的伺服器,就把伺服器架在上面,家裡和公司的電腦都直接連它,見雲端伺服器架設。沒有的話,每台電腦裝上 Tailscale、登入同一個帳號,配對時輸入對方的 Tailscale 位址,見Tailscale 教學。"
+ "text": "不需要。不同網路時,在兩台電腦上啟用官方服務即可,不需購買雲端主機或填寫位址。預設關閉,目前提供每日 100 MB 中繼額度,直連不消耗此額度。區域網路、自建伺服器與 Tailscale 繼續可用。"
}
},
{
@@ -175,6 +175,14 @@
"@type": "Answer",
"text": "免費。隔空貼以 GNU AGPL-3.0 授權開源,個人和公司都可以免費使用和修改。散布它,或透過網路提供修改過的版本時,需要以同樣的授權公開原始碼。"
}
+ },
+ {
+ "@type": "Question",
+ "name": "官方中繼不限量嗎?",
+ "acceptedAnswer": {
+ "@type": "Answer",
+ "text": "目前預設每機器額度組每日 100 MB 中繼流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。"
+ }
}
]
}
@@ -212,8 +220,9 @@
<main id="main">
<section class="hero">
<div class="wrap">
+ <a class="release-note" href="official/">2.1 新增:跨網路同步,無需自建伺服器 →</a>
<h1 class="display">在這台電腦複製,<br>到那台電腦貼上。</h1>
- <p class="lede">Mac、Windows、Linux 互通。文字、圖片、檔案、整個資料夾都可以,不必使用同一個帳號。在同一個網路裡裝好就能用,不需要伺服器;跨網路也可以。資料在你的裝置之間直接傳輸,端對端加密。</p>
+ <p class="lede">Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一個帳號。現在啟用官方服務就能跨網路同步,無需自行架設伺服器。優先直連,始終端到端加密。</p>
<div class="cta">
<a class="button" href="download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載隔空貼</a>
<a class="button quiet tour-link" href="tour/" data-tour-open aria-haspopup="dialog"><span aria-hidden="true">▶</span> 看完整示範 <span class="tour-duration">1:25</span></a>
@@ -250,8 +259,15 @@
<section class="section" id="deploy" aria-labelledby="deploy-title">
<div class="wrap">
<h2 id="deploy-title">兩台電腦怎麼連起來</h2>
- <p class="intro">在同一個網路裡,裝好 App 就能直接配對,不需要伺服器。跨網路時,兩台電腦要靠伺服器或 Tailscale 找到彼此,複製的內容不會存在上面。依你的情況選一種。</p>
+ <p class="intro">同一網路裡裝好就能配對;不同網路裡,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,依需求選擇。</p>
<div class="paths">
+ <a class="path" href="official/">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <span class="path-when">跨網路,無需自建</span>
+ <h3>官方服務</h3>
+ <p>開啟一個開關,讓家裡與公司的電腦找到彼此。優先打洞直連,失敗後自動中繼,不需購買雲端主機或填寫位址。</p>
+ <span class="path-go">啟用官方服務 →</span>
+ </a>
<a class="path" href="lan/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-net" x="6" y="6" width="228" height="100" rx="14"/><path class="p-data" d="M82 52h76"/><rect class="p-dev" x="39" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M34 69h48"/><rect class="p-dev" x="163" y="40" width="38" height="24" rx="3"/><path class="p-dev" d="M158 69h48"/></svg>
<span class="path-when">什麼都不用架設</span>
@@ -261,8 +277,8 @@
</a>
<a class="path" href="cloud/">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
- <span class="path-when">在哪裡都能同步</span>
- <h3>雲端伺服器</h3>
+ <span class="path-when">自行管理容量與部署</span>
+ <h3>自建公網伺服器</h3>
<p>一台有公用 IP 的 Linux 雲端主機,最低規格就夠了。每台電腦直接連到它,在家、在公司、在外面都能用,不必另外安裝軟體。</p>
<span class="path-go">雲端伺服器架設教學 →</span>
</a>
@@ -274,7 +290,7 @@
<span class="path-go">Tailscale 教學 →</span>
</a>
</div>
- <p class="note">拿不定主意?<a href="start/#server">快速入門</a>裡有三種方式的比較。</p>
+ <p class="note">第一次用?跟著<a href="start/#server">快速開始</a>。官方服務為選用,目前預設每日 100 MB 中繼額度,直連不扣此額度。</p>
</div>
</section>
@@ -315,7 +331,7 @@
<tr><th scope="row">複製後直接貼上,不用點接受</th><td class="yes ours">可以</td><td class="yes">可以</td><td class="no">不行</td><td class="no">不行</td></tr>
<tr><th scope="row">檔案與整個資料夾</th><td class="yes ours">可以</td><td class="partial">不穩定</td><td class="yes">可以</td><td class="partial">要先壓縮</td></tr>
<tr><th scope="row">找回之前複製過的內容</th><td class="yes ours">可以</td><td class="no">不行</td><td class="no">不行</td><td class="partial">翻聊天記錄</td></tr>
- <tr><th scope="row">內容不經過第三方伺服器</th><td class="yes ours">不經過</td><td class="yes">不經過</td><td class="yes">不經過</td><td class="no">經過</td></tr>
+ <tr><th scope="row">僅自己的裝置可解密內容</th><td class="yes ours">不經過</td><td class="yes">不經過</td><td class="yes">不經過</td><td class="no">經過</td></tr>
</tbody>
</table>
</div>
@@ -464,7 +480,7 @@
<li>下載 DMG,打開後把隔空貼拖進「應用程式」。<span class="aside">Apple 晶片與 Intel 晶片各有一個版本,下載頁會告訴你怎麼查自己的 Mac 是哪一種。</span></li>
<li>從「應用程式」裡打開。<span class="aside">第一次會提示「無法驗證開發者」:隔空貼還沒有經過 Apple 公證。到「系統設定 → 隱私權與安全性」,點頁面下方的「強制打開」,只需要這一次。</span></li>
<li>點「啟用背景同步」。系統詢問是否允許讀取剪貼簿、是否允許尋找區域網路上的裝置時,都選擇允許。</li>
- <li>跨網路同步時,在「設定」裡填入伺服器位址 <code>ws://伺服器位址:8787/signal</code>,按 Enter;在同一個網路裡不用填。</li>
+ <li>跨網路時,在每台電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器位址;也可以繼續自建。</li>
</ol>
<a class="button" href="download/#macos"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載 Mac 版</a>
</div>
@@ -473,7 +489,7 @@
<ol>
<li>執行 PasteFerry-Setup.exe。它會安裝在目前使用者的目錄下,不需要系統管理員權限。<span class="aside">隔空貼還沒有程式碼簽章,Windows 會提示「Windows 已保護您的電腦」:點「其他資訊」,再點「仍要執行」。不想執行安裝程式的話,可以下載<a href="https://github.com/baiyuze/pasteferry/releases/latest/download/PasteFerry-windows-x64.zip">免安裝版</a>。</span></li>
<li>打開隔空貼,點「啟用背景同步」。關掉視窗後,它會在右下角的通知區域繼續執行。防火牆詢問時選擇允許。</li>
- <li>跨網路同步時,在「設定」裡填入伺服器位址,按 Enter;在同一個網路裡不用填。</li>
+ <li>跨網路時,在每台電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器位址;也可以繼續自建。</li>
</ol>
<a class="button" href="download/#windows"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載 Windows 版</a>
</div>
@@ -482,17 +498,18 @@
<ol>
<li>Ubuntu、Debian 等發行版下載 .deb,執行 <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>;其他發行版下載 tar.gz,解壓縮後執行 <code>./PasteFerry/install.sh</code>。</li>
<li>從應用程式選單打開隔空貼,點「啟用背景同步」。之後它會在登入時自動啟動。</li>
- <li>跨網路同步時,在「設定」裡填入伺服器位址,按 Enter;在同一個網路裡不用填。</li>
+ <li>跨網路時,在每台電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器位址;也可以繼續自建。</li>
</ol>
<a class="button" href="download/#linux"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載 Linux 版</a>
</div>
</div>
<div class="install-more">
<h3><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="4" width="16" height="7" rx="1.5"/><rect x="4" y="13" width="16" height="7" rx="1.5"/><path d="M8 7.5h.01M8 16.5h.01"/></svg>連線方式</h3>
- <p class="small">在同一個網路裡不需要伺服器。三種方式依你的情況選一種,每種都有圖文教學:</p>
+ <p class="small">同一網路裡裝好就能配對;不同網路裡,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,依需求選擇。</p>
<ul class="opts">
+ <li><a href="official/">官方服務</a><span>跨網路,無需自建</span></li>
<li><a href="lan/">同一網路</a><span>什麼都不用架設</span></li>
- <li><a href="cloud/">雲端伺服器</a><span>在哪裡都能同步</span></li>
+ <li><a href="cloud/">自建公網伺服器</a><span>自行管理容量與部署</span></li>
<li><a href="tailscale/">Tailscale</a><span>跨網路,不用伺服器</span></li>
</ul>
<a class="button quiet" href="start/#server">比較三種方式</a>
@@ -538,11 +555,11 @@
</details>
<details>
<summary>和 macOS 內建的「通用剪貼板」有什麼不同?</summary>
- <div class="answer"><p>通用剪貼板要求兩台裝置登入同一個 Apple ID、開著藍牙和 Wi‑Fi,而且距離要近,也只能在 Apple 裝置之間使用。隔空貼在同一個網路裡裝好就能用;跨網路時,只要兩台電腦都能連上你架設的伺服器,或都裝了 Tailscale 就行:不同 Apple ID、一台在家一台在公司、一台 Mac 一台 Windows,都可以。另外它有複製記錄,大檔案也可以依需要再拉取。</p><p>如果你的兩台 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能就夠用了。</p></div>
+ <div class="answer"><p>Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一個帳號。現在啟用官方服務就能跨網路同步,無需自行架設伺服器。優先直連,始終端到端加密。</p><p>如果你的兩台 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能就夠用了。</p></div>
</details>
<details>
<summary>伺服器會看到我複製的內容嗎?</summary>
- <div class="answer"><p>不會。直連時資料根本不經過伺服器;需要中繼時,伺服器轉送的是 DTLS 加密後的封包。伺服器不存帳號,也不存任何複製的內容。程式碼是開源的,可以自己檢查。</p></div>
+ <div class="answer"><p>伺服器無法解密複製內容:直連時內容不經過中繼伺服器;中繼時轉送端到端加密封包。官方服務保留必要裝置與用量統計,詳見隱私說明。原始碼可供稽核,不代表能證明私有正式環境的儲存行為。</p></div>
</details>
<details>
<summary>公司網路(雙線路、多出口)能直連嗎?</summary>
@@ -550,11 +567,11 @@
</details>
<details>
<summary>一定要自己準備伺服器嗎?</summary>
- <div class="answer"><p>不一定。兩台電腦在<a href="lan/">同一個網路</a>裡時,裝好 App 直接配對就行,不需要伺服器。</p><p>跨網路時有兩種做法:<a href="cloud/">雲端伺服器</a>,最低規格的雲端主機就夠,在哪裡都能同步;<a href="tailscale/">Tailscale</a>,每台電腦裝上它,配對時輸入對方的 Tailscale 位址,不需要伺服器。隔空貼不提供公共伺服器,所以任何人的資料都不會經過別人的機器。</p></div>
+ <div class="answer"><p>不需要。不同網路時,在兩台電腦上啟用<a href="official/">官方服務</a>即可,不需購買雲端主機或填寫位址。預設關閉,目前提供每日 100 MB 中繼額度,直連不消耗此額度。區域網路、<a href="cloud/">自建伺服器</a>與 <a href="tailscale/">Tailscale</a> 繼續可用。</p></div>
</details>
<details>
<summary>家裡沒有公用 IP,能在家和公司之間同步嗎?</summary>
- <div class="answer"><p>可以,有兩種做法。如果有一台具備公用 IP 的伺服器,就把伺服器架在上面,家裡和公司的電腦都直接連它,見<a href="cloud/">雲端伺服器架設</a>。沒有的話,每台電腦裝上 Tailscale、登入同一個帳號,配對時輸入對方的 Tailscale 位址,見<a href="tailscale/">Tailscale 教學</a>。</p></div>
+ <div class="answer"><p>不需要。不同網路時,在兩台電腦上啟用<a href="official/">官方服務</a>即可,不需購買雲端主機或填寫位址。預設關閉,目前提供每日 100 MB 中繼額度,直連不消耗此額度。區域網路、<a href="cloud/">自建伺服器</a>與 <a href="tailscale/">Tailscale</a> 繼續可用。</p></div>
</details>
<details>
<summary>在同一個網路裡,為什麼找不到另一台?</summary>
@@ -576,6 +593,10 @@
<summary>免費嗎?公司能用嗎?</summary>
<div class="answer"><p>免費。隔空貼以 GNU AGPL-3.0 授權開源,個人和公司都可以免費使用和修改。散布它,或透過網路提供修改過的版本時,需要以同樣的授權公開原始碼。</p></div>
</details>
+ <details>
+ <summary>官方中繼不限量嗎?</summary>
+ <div class="answer"><p>目前預設每機器額度組每日 100 MB 中繼流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。</p></div>
+ </details>
</div>
</div>
</section>
diff --git a/docs/zh-tw/official/index.html b/docs/zh-tw/official/index.html
new file mode 100644
index 0000000..ad90e1b
--- /dev/null
+++ b/docs/zh-tw/official/index.html
@@ -0,0 +1,113 @@
+<!doctype html>
+<html lang="zh-TW">
+<head>
+ <meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>官方公網服務:無需自建伺服器 — 隔空貼 PasteFerry</title>
+ <meta name="description" content="開啟一個開關,讓家裡與公司的電腦找到彼此。優先打洞直連,失敗後自動中繼,不需購買雲端主機或填寫位址。">
+ <link rel="canonical" href="https://pasteferry.cc/zh-tw/official/">
+ <link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/official/">
+ <link rel="alternate" hreflang="zh-TW" href="https://pasteferry.cc/zh-tw/official/">
+ <link rel="alternate" hreflang="zh-HK" href="https://pasteferry.cc/zh-hk/official/">
+ <link rel="alternate" hreflang="en" href="https://pasteferry.cc/en/official/">
+ <link rel="alternate" hreflang="ja" href="https://pasteferry.cc/ja/official/">
+ <meta name="theme-color" content="#141416">
+ <meta property="og:type" content="article">
+ <meta property="og:site_name" content="隔空貼">
+ <meta property="og:title" content="官方公網服務:無需自建伺服器 — 隔空貼 PasteFerry">
+ <meta property="og:description" content="開啟一個開關,讓家裡與公司的電腦找到彼此。優先打洞直連,失敗後自動中繼,不需購買雲端主機或填寫位址。">
+ <meta property="og:url" content="https://pasteferry.cc/zh-tw/official/">
+ <meta property="og:image" content="https://pasteferry.cc/assets/og-zh-hant.png">
+ <meta property="og:locale" content="zh_TW">
+ <meta name="twitter:card" content="summary_large_image">
+ <link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml">
+ <link rel="icon" href="../../assets/favicon-32.png" sizes="32x32" type="image/png">
+ <link rel="apple-touch-icon" href="../../assets/apple-touch-icon.png">
+ <link rel="stylesheet" href="../../assets/site.css">
+</head>
+<body>
+ <a class="skip" href="#main">跳到主要內容</a>
+
+ <header class="bar">
+ <div class="wrap">
+ <a class="brand" href="../../zh-tw/" aria-label="隔空貼首頁"><img src="../../assets/icon.svg" alt="" width="26" height="26">隔空貼</a>
+ <nav aria-label="頁面導覽">
+ <a href="../../zh-tw/start/">快速入門</a>
+ <a class="wide" href="../../zh-tw/#how">運作原理</a>
+ <a class="wide" href="../../zh-tw/#faq">常見問題</a>
+ <a class="mid" href="../../zh-tw/start/#server">連線方式</a>
+ <a href="../../zh-tw/download/">下載</a>
+ <a class="wide" href="https://github.com/baiyuze/pasteferry">GitHub</a>
+ <details class="lang">
+ <summary aria-label="語言:繁體中文(台灣)"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="10" cy="10" r="7.25"/><path d="M2.75 10h14.5M10 2.75c-2.1 2-3.1 4.4-3.1 7.25s1 5.25 3.1 7.25M10 2.75c2.1 2 3.1 4.4 3.1 7.25s-1 5.25-3.1 7.25"/></svg><span>繁體中文(台灣)</span><svg class="chev" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 4.5 3 3 3-3"/></svg></summary>
+ <ul>
+ <li><a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a></li>
+ <li><a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw" aria-current="page">繁體中文(台灣)</a></li>
+ <li><a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a></li>
+ <li><a href="../../en/official/" hreflang="en" lang="en" data-lang="en">English</a></li>
+ <li><a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a></li>
+ </ul>
+ </details>
+ </nav>
+ </div>
+ </header>
+
+ <main id="main">
+ <section class="hero guide-hero"><div class="wrap">
+ <p class="crumb"><a href="../../zh-tw/">隔空貼</a> / 官方服務</p>
+ <h1 class="display">跨網路,無需自建</h1>
+ <p class="lede">每台電腦安裝 2.1.0 或更新版本,在設定中啟用官方服務,再配對。信令協助裝置找到彼此,內容優先直接傳輸,打洞失敗才走加密中繼。</p>
+ <a class="button" href="../../zh-tw/download/"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>下載最新版本</a>
+ </div></section>
+ <section class="section"><div class="wrap">
+ <h2>三個步驟,開始跨網路同步</h2>
+ <div class="os-grid"><ol class="steps"> <li>在每台需要同步的電腦上安裝最新版本,啟用背景同步。</li>
+ <li>在每台電腦的「設定」中開啟「使用官方服務」,閱讀並確認必要統計說明。不需填寫官方網域或連接埠。</li>
+ <li>一台產生配對碼,另一台輸入;核對兩邊的安全指紋後確認。原有配對關係可繼續使用。</li></ol>
+ <figure class="shot"><img src="../../assets/screenshots/zh-tw/official-settings-dark.png" width="2112" height="1472" alt="設定中的使用官方服務開關,無需填寫官方位址"></figure>
+ </div>
+ </div></section>
+ <section class="section"><div class="wrap official-copy"><h2>先直連,再中繼</h2><p class="intro">官方信令只協助在線裝置交換連線資訊。用戶端先透過 STUN 探測和打洞;本輪直連失敗後,才申請官方中繼。傳輸內容始終端到端加密。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>直連不消耗中繼額度</h2><p class="intro">目前預設每機器額度組每日 100 MB 中繼流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>由你決定是否啟用</h2><p class="intro">新安裝預設關閉。啟用後記錄必要連線統計;僅申請中繼時衍生專案專用機器摘要。真實裝置名稱、原始系統識別碼和複製內容不作為統計上傳。完整欄位與保留期限見隱私說明。</p></div></section>
+<section class="section"><div class="wrap official-copy"><h2>仍可獨立自建</h2><p class="intro">區域網路、自訂伺服器與 Tailscale 繼續可用,不依賴官方網關。需要自行管理容量時,可選擇自建公網伺服器;在自訂位址旁點擊「儲存並連線」。</p></div></section>
+ <section class="section"><div class="wrap official-copy">
+ <figure class="shot"><img src="../../assets/screenshots/zh-tw/official-usage-dark.png" width="2112" height="1472" loading="lazy" alt="官方用量頁示範資料:每日 100.00 MB、剩餘 80.00 MB"></figure>
+ <p class="note"><a href="../../zh-tw/privacy/">隱私與必要資料</a> · <a href="../../zh-tw/cloud/">自建伺服器教學</a> · <a href="https://pasteferry.cc/">pasteferry.cc</a></p>
+ </div></section>
+ </main>
+
+ <footer class="footer">
+ <div class="wrap">
+ <p>隔空貼以 GNU AGPL-3.0 授權開源。</p>
+ <nav aria-label="頁尾連結">
+ <a href="https://github.com/baiyuze/pasteferry/releases">所有版本</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/CHANGELOG.md">更新記錄</a>
+ <a href="https://pasteferry.cc/design/nat-traversal.html">技術說明</a>
+ <a href="https://github.com/baiyuze/pasteferry/blob/main/LICENSING.md">授權說明</a>
+ <a href="https://github.com/baiyuze/pasteferry/issues">回報問題</a>
+ <a href="../../zh-tw/privacy/">隱私與必要資料</a>
+ </nav>
+ <nav aria-label="語言">
+ <a href="../../official/" hreflang="zh-CN" lang="zh-CN" data-lang="zh">简体中文</a>
+ <a href="../../zh-tw/official/" hreflang="zh-TW" lang="zh-TW" data-lang="zh-tw" aria-current="page">繁體中文(台灣)</a>
+ <a href="../../zh-hk/official/" hreflang="zh-HK" lang="zh-HK" data-lang="zh-hk">繁體中文(香港)</a>
+ <a href="../../en/official/" hreflang="en" lang="en" data-lang="en">English</a>
+ <a href="../../ja/official/" hreflang="ja" lang="ja" data-lang="ja">日本語</a>
+ </nav>
+ </div>
+ </footer>
+
+ <script src="../../assets/site.js" defer></script>
+ <script type="module" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"token": "7ee226baf4a949a397c4bfd69a9e7461"}'></script>
+</body>
+</html>
diff --git a/docs/zh-tw/privacy/index.html b/docs/zh-tw/privacy/index.html
index 4adf35b..9fece93 100644
--- a/docs/zh-tw/privacy/index.html
+++ b/docs/zh-tw/privacy/index.html
@@ -2,6 +2,15 @@
<html lang="zh-TW">
<head>
<meta charset="utf-8">
+ <script>
+ (function () {
+ if (location.hostname !== "baiyuze.github.io") return;
+ var prefix = /^\/(?:pasteferry|copysync)(?=\/|$)/.exec(location.pathname);
+ if (!prefix) return;
+ var path = location.pathname.slice(prefix[0].length) || "/";
+ location.replace("https://pasteferry.cc" + path + location.search + location.hash);
+ })();
+ </script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>隱私與必要資料 — PasteFerry</title>
<meta name="description" content="新安裝預設僅使用區域網路。啟用官方公網後才連線官方信令並記錄必要連線統計;自訂伺服器不向官方回報。先嘗試直連,失敗才申請中繼並讀取機器額度摘要。">
diff --git a/docs/zh-tw/start/index.html b/docs/zh-tw/start/index.html
index 4bebeb5..bb9c7ed 100644
--- a/docs/zh-tw/start/index.html
+++ b/docs/zh-tw/start/index.html
@@ -119,14 +119,37 @@
<div class="wrap">
<p class="eyebrow">第 2 步</p>
<h2 id="server-title">選擇一種連線方式</h2>
- <p class="intro">兩台電腦在同一個網路裡時,什麼都不用架設。跨網路時,要靠雲端伺服器或 Tailscale 找到彼此,複製的內容不會存在上面。</p>
+ <p class="intro">同一網路裡裝好就能配對;不同網路裡,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,依需求選擇。</p>
<div class="os-tabs" data-tabs="plan">
<div class="tablist" role="tablist" aria-label="連線方式" hidden>
+ <button type="button" role="tab" id="tab-plan-official" aria-controls="plan-official">官方服務</button>
<button type="button" role="tab" id="tab-plan-lan" aria-controls="plan-lan">同一網路</button>
- <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">雲端伺服器</button>
+ <button type="button" role="tab" id="tab-plan-cloud" aria-controls="plan-cloud">自建公網伺服器</button>
<button type="button" role="tab" id="tab-plan-ts" aria-controls="plan-ts">Tailscale</button>
</div>
+ <section class="os" id="plan-official" role="tabpanel" aria-labelledby="tab-plan-official">
+ <h3 class="os-title">官方服務</h3>
+ <div class="plan-grid">
+ <div>
+ <ol class="steps">
+ <li>在每台需要同步的電腦上安裝最新版本,啟用背景同步。</li>
+ <li>在每台電腦的「設定」中開啟「使用官方服務」,閱讀並確認必要統計說明。不需填寫官方網域或連接埠。</li>
+ <li>一台產生配對碼,另一台輸入;核對兩邊的安全指紋後確認。原有配對關係可繼續使用。</li>
+ </ol>
+ <p class="plan-address">新安裝預設關閉。啟用後記錄必要連線統計;僅申請中繼時衍生專案專用機器摘要。真實裝置名稱、原始系統識別碼和複製內容不作為統計上傳。完整欄位與保留期限見隱私說明。</p>
+ <a class="button quiet" href="../../zh-tw/official/">啟用官方服務 →</a>
+ </div>
+ <div class="plan-card">
+ <svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
+ <dl>
+ <div><dt>先直連,再中繼</dt><dd>官方信令只協助在線裝置交換連線資訊。用戶端先透過 STUN 探測和打洞;本輪直連失敗後,才申請官方中繼。傳輸內容始終端到端加密。</dd></div>
+ <div><dt>直連不消耗中繼額度</dt><dd>目前預設每機器額度組每日 100 MB 中繼流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。</dd></div>
+ </dl>
+ </div>
+ </div>
+ </section>
+
<section class="os" id="plan-lan" role="tabpanel" aria-labelledby="tab-plan-lan">
<h3 class="os-title">同一網路</h3>
<div class="plan-grid">
@@ -151,7 +174,7 @@
</section>
<section class="os" id="plan-cloud" role="tabpanel" aria-labelledby="tab-plan-cloud">
- <h3 class="os-title">雲端伺服器</h3>
+ <h3 class="os-title">自建公網伺服器</h3>
<div class="plan-grid">
<div>
<ol class="steps">
@@ -165,7 +188,7 @@
<div class="plan-card">
<svg viewBox="0 0 240 112" aria-hidden="true"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/></svg>
<dl>
- <div><dt>適合</dt><dd>電腦分散在不同的網路裡,想在哪裡都能同步。跨網路時最省事。</dd></div>
+ <div><dt>適合</dt><dd>自行管理容量與部署</dd></div>
<div><dt>要準備</dt><dd>一台有公用 IP 的 Linux 雲端主機,最低規格就夠,需要 root。</dd></div>
<div><dt>要注意</dt><dd>雲端主機要花錢。直連打不通時改走中繼,速度受伺服器頻寬限制。用中國大陸的雲端主機、網域又沒有 ICP 備案時,用戶端要填 IP。</dd></div>
</dl>
diff --git a/docs/zh-tw/tour/index.html b/docs/zh-tw/tour/index.html
index a7e727d..57e575b 100644
--- a/docs/zh-tw/tour/index.html
+++ b/docs/zh-tw/tour/index.html
@@ -13,7 +13,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>一分多鐘,認識隔空貼 — 隔空貼</title>
- <meta name="description" content="Mac、Windows、Linux 互通。文字、圖片、檔案、資料夾,跨帳號、跨網路,P2P 直連、端對端加密,同一個網路裡不需要伺服器。免費開源。">
+ <meta name="description" content="隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網路同步,無需自建伺服器;優先打洞直連,失敗自動加密中繼。免費開源。">
<meta name="theme-color" content="#141416">
<link rel="canonical" href="https://pasteferry.cc/zh-tw/tour/">
<link rel="alternate" hreflang="zh-CN" href="https://pasteferry.cc/tour/">
@@ -194,7 +194,7 @@
</div>
<div class="way">
<svg viewBox="0 0 240 112"><rect class="p-dev" x="98" y="8" width="44" height="12" rx="3"/><rect class="p-dev" x="98" y="23" width="44" height="12" rx="3"/><rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/><rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/><path class="p-sig" d="M56 64V22h42M184 64V22h-42"/><path class="p-data" d="M80 80h80"/><rect class="p-dev" x="37" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M32 93h48"/><rect class="p-dev" x="165" y="64" width="38" height="24" rx="3"/><path class="p-dev" d="M160 93h48"/><circle class="p-dot" r="3.2" data-x1="80" data-x2="160" data-y="80"/></svg>
- <h3>雲端伺服器</h3>
+ <h3>自建公網伺服器</h3>
<p>自行部署,一台小雲端主機就夠,<br>在哪裡都能同步</p>
</div>
<div class="way">
@@ -218,7 +218,7 @@
<div class="row"><span>Mac 與 Windows 之間</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="yes">✓</span></div>
<div class="row"><span>檔案與整個資料夾</span><span class="yes">✓</span><span class="meh">不穩定</span><span class="yes">✓</span><span class="meh">要先壓縮</span></div>
<div class="row"><span>找回之前複製過的內容</span><span class="yes">✓</span><span class="no">—</span><span class="no">—</span><span class="meh">翻聊天記錄</span></div>
- <div class="row"><span>內容不經過第三方伺服器</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
+ <div class="row"><span>僅自己的裝置可解密內容</span><span class="yes">✓</span><span class="yes">✓</span><span class="yes">✓</span><span class="no">—</span></div>
</div>
</section>
diff --git a/guide/how-it-works.md b/guide/how-it-works.md
index b7300da..8feab57 100644
--- a/guide/how-it-works.md
+++ b/guide/how-it-works.md
@@ -2,7 +2,11 @@
[简体中文](how-it-works.zh-CN.md) · [Back to README](../README.md)
-Two computers connect directly and encrypt everything between them. On the same network they find each other over mDNS, with no server. Across networks, your server helps them find each other, and relays encrypted packets when a direct connection can't be made.
+Two computers connect directly and encrypt everything between them. On the same network they find each other over mDNS, with no server. Across networks, the official service or your own server helps them find each other, and relays encrypted packets when a direct connection can't be made.
+
+## Official service in 2.1
+
+Enable **Settings → Use official service** on every computer to connect across networks without hosting a server. The clients exchange candidates through signaling and try direct NAT traversal first. Only after a valid direct attempt fails do both peers request an authorized WSS relay tunnel. Default relay allowance is 100 MB/day per machine quota group, upload plus download; direct traffic is not charged. LAN and custom servers remain independent. See the [official guide](https://pasteferry.cc/en/official/), [privacy fields](../PRIVACY.md) and [gateway protocol](../design/official-gateway.md).
## Architecture
diff --git a/guide/how-it-works.zh-CN.md b/guide/how-it-works.zh-CN.md
index 60c129a..486dad2 100644
--- a/guide/how-it-works.zh-CN.md
+++ b/guide/how-it-works.zh-CN.md
@@ -2,7 +2,11 @@
[English](how-it-works.md) · [回到 README](../README.zh-CN.md)
-两台电脑之间直接建立加密连接。同一个网络里,它们靠 mDNS 自己找到彼此,不需要服务器;跨网络时,你的服务器负责让它们找到彼此,打不通直连的时候再帮忙转发加密后的数据包。
+两台电脑之间直接建立加密连接。同一个网络里,它们靠 mDNS 自己找到彼此,不需要服务器;跨网络时,官方服务或自建服务器帮助它们找到彼此,打不通直连的时候再帮忙转发加密后的数据包。
+
+## 2.1 官方服务
+
+在每台电脑的「设置」中开启「使用官方服务」,无需自己部署公网服务器。客户端通过信令交换候选,先尝试打洞直连;完成有效尝试后仍失败,双方才申请受额度约束的 WSS 中转通道。当前默认每机器额度组每日 100 MB,上下行合计,直连不计费。局域网和自建服务保持独立。详见[官方服务教程](https://pasteferry.cc/official/)、[隐私字段](../PRIVACY.md)与[网关协议](../design/official-gateway.md)。
## 架构
diff --git a/guide/troubleshooting.md b/guide/troubleshooting.md
index 7c60476..5d6ddbd 100644
--- a/guide/troubleshooting.md
+++ b/guide/troubleshooting.md
@@ -2,6 +2,9 @@
[简体中文](troubleshooting.zh-CN.md) · [Back to README](../README.md)
+**Official relay is unavailable or allowance is exhausted**
+Both peers need 2.1.0 or later and must enable official access. Check the Official service page for current data, the reset time and the reason. Relay allowance resets at midnight Beijing time; direct traffic does not consume it. If you change the quota in the service policy, the running client refreshes its usage without restarting. Self-hosting is configured separately with Save and connect.
+
**The other computer can't be found on the same network**
Make sure both have background sync on and are on the same network. Wired and Wi‑Fi in many offices, guest networks and Wi‑Fi with client isolation don't let devices see each other: on the computer entering the code, click **On a different subnet?** and enter the address shown under the other computer's code. Still nothing? Check the other computer's firewall: on Windows, click **Allow** under Settings → Local network (one administrator prompt); on a Mac, turn on PasteFerry Daemon in System Settings → Privacy & Security → Local Network. The Local network part of `pasteferry-cli nat` shows this computer's port, how many PasteFerry devices it found, whether each paired device is reachable and which addresses it remembers. See the [same network guide](https://pasteferry.cc/en/lan/).
diff --git a/guide/troubleshooting.zh-CN.md b/guide/troubleshooting.zh-CN.md
index 98ef8f3..e4e1370 100644
--- a/guide/troubleshooting.zh-CN.md
+++ b/guide/troubleshooting.zh-CN.md
@@ -2,6 +2,9 @@
[English](troubleshooting.md) · [回到 README](../README.zh-CN.md)
+**官方中转不可用或额度用尽**
+双方都需要 2.1.0 或更新版本,并主动开启官方服务。在「官方服务」页检查更新时间、重置时间与原因。中转额度北京时间零点重置,直连不扣额度;后台调整策略后,运行中的客户端会刷新用量,无需重启。自建地址在「保存并连接」后生效。
+
**同一网络里找不到另一台电脑**
先确认两台都启用了后台同步、连着同一个网络。公司里有线和无线、访客网络、开了「AP 隔离」的 Wi‑Fi 常常不互通:在输入配对码的那台点「不在同一网段?」,填上对方配对码下面显示的地址。还是找不到就看对方的防火墙:Windows 上在「设置 → 局域网」里点「放行」(会请求一次管理员权限);Mac 上到「系统设置 → 隐私与安全性 → 本地网络」打开 PasteFerry Daemon。`pasteferry-cli nat` 的「局域网」一节能看到本机的端口、发现了几台隔空贴、每台设备能否找到、记住了哪些地址。见[同一网络教程](https://pasteferry.cc/lan/)。
diff --git a/tools/site/build.py b/tools/site/build.py
index d5086a1..bb7f4d0 100644
--- a/tools/site/build.py
+++ b/tools/site/build.py
@@ -17,6 +17,7 @@ from pathlib import Path
from content.tour import localized as tour_copy
from content.privacy import COPY as PRIVACY_COPY
+from content.official import COPY as OFFICIAL_COPY
ROOT = Path(__file__).resolve().parents[2]
DOCS = ROOT / "docs"
@@ -61,7 +62,8 @@ TAILSCALE = "tailscale/"
DOWNLOAD = "download/"
TOUR = "tour/"
PRIVACY = "privacy/"
-SUBPAGES = [START, LAN, CLOUD, GUIDE, TAILSCALE, DOWNLOAD, TOUR, PRIVACY]
+OFFICIAL = "official/"
+SUBPAGES = [START, OFFICIAL, LAN, CLOUD, GUIDE, TAILSCALE, DOWNLOAD, TOUR, PRIVACY]
DEPLOY_PAGES = [LAN, CLOUD, GUIDE, TAILSCALE]
# 放到网站上的技术方案:文件名 → 网页名。其他 design/*.md 链接到 GitHub
@@ -143,7 +145,15 @@ def load(code: str) -> dict:
spec = importlib.util.spec_from_file_location(f"content_{code}", path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
- return module.C
+ c = module.C
+ o = OFFICIAL_COPY[code]
+ c["official"] = o
+ c["plans"]["official"] = {
+ "name": o["name"], "fit": o["fit"], "summary": o["summary"], "go": o["go"],
+ "facts": [(o["routing_title"], o["routing"]), (o["quota_title"], o["quota"])],
+ "steps": o["steps"], "address": o["privacy"],
+ }
+ return c
# ─────────────────────────── 首页 ───────────────────────────
@@ -244,6 +254,12 @@ def _server(x: int, y: int) -> str:
# 三种连接方式,按这个顺序出现在首页、快速开始与安装一节:(文案里的键, 教程页面, 插图)
PLANS = [
+ ("official", OFFICIAL, _server(98, 8)
+ + '<rect class="p-net" x="6" y="50" width="100" height="56" rx="10"/>'
+ + '<rect class="p-net" x="134" y="50" width="100" height="56" rx="10"/>'
+ + '<path class="p-sig" d="M56 64V22h42M184 64V22h-42"/>'
+ + '<path class="p-data" d="M80 80h80"/>'
+ + _laptop(32, 64) + _laptop(160, 64)),
# 同一网络:一个网络里只有两台电脑,没有服务器
("lan", LAN, '<rect class="p-net" x="6" y="6" width="228" height="100" rx="14"/>'
+ '<path class="p-data" d="M82 52h76"/>'
@@ -282,7 +298,7 @@ def paths(c: dict, base: str) -> str:
def plan_tabs(c: dict, base: str) -> str:
"""快速开始第 2 步:三种连接方式分页,由用户自己选。每页是适合谁、要准备什么、要注意什么,
精简的步骤,最后一句要点,以及完整教程的链接。"""
- links = {"lan": base + LAN, "cloud": base + CLOUD, "server": base + GUIDE, "ts": base + TAILSCALE}
+ links = {"official": base + OFFICIAL, "lan": base + LAN, "cloud": base + CLOUD, "server": base + GUIDE, "ts": base + TAILSCALE}
tabs, panels = [], []
for key, page, art in PLANS:
p = c["plans"][key]
@@ -385,7 +401,7 @@ def home(code: str) -> str:
f' <li><a href="{page}">{c["plans"][key]["name"]}</a><span>{c["plans"][key]["fit"]}</span></li>'
for key, page, _ in PLANS)
specs = "\n".join(f' <tr><th scope="row">{k}</th><td>{v}</td></tr>' for k, v in c["specs"])
- links = {"lan": LAN, "cloud": CLOUD, "server": GUIDE, "ts": TAILSCALE, "start": START}
+ links = {"official": OFFICIAL, "lan": LAN, "cloud": CLOUD, "server": GUIDE, "ts": TAILSCALE, "start": START}
faq = faq_list(c["faq"], links)
d = c["diagram"]
@@ -426,6 +442,7 @@ def home(code: str) -> str:
<main id="main">
<section class="hero">
<div class="wrap">
+ <a class="release-note" href="{OFFICIAL}">{esc(c["official"]["badge"])}</a>
<h1 class="display">{c["h1"]}</h1>
<p class="lede">{c["lede"]}</p>{cta(c, "", START, tour_ui["watch"])}
<div class="stage" data-play role="img" aria-label="{esc(c["stage_label"])}">
@@ -2191,6 +2208,40 @@ def privacy_page(code: str) -> str:
+ page_bottom(c, code, PRIVACY))
+def official_page(code: str) -> str:
+ c = load(code)
+ o = c["official"]
+ path = LANGS[code][0]
+ up = "../" * (path + OFFICIAL).count("/")
+ base = up + path
+ shots = up + shots_dir(code)
+ sections = "\n".join(
+ f'<section class="section"><div class="wrap official-copy"><h2>{esc(o[key + "_title"])}</h2><p class="intro">{esc(o[key])}</p></div></section>'
+ for key in ("routing", "quota", "privacy", "self")
+ )
+ return page_top(c, code, OFFICIAL, o["title"], o["summary"]) + f"""
+ <main id="main">
+ <section class="hero guide-hero"><div class="wrap">
+ <p class="crumb"><a href="{base or './'}">{c['brand']}</a> / {o['name']}</p>
+ <h1 class="display">{esc(o['fit'])}</h1>
+ <p class="lede">{esc(o['lede'])}</p>
+ <a class="button" href="{base}{DOWNLOAD}">{DOWN}{esc(o['download'])}</a>
+ </div></section>
+ <section class="section"><div class="wrap">
+ <h2>{esc(o['steps_title'])}</h2>
+ <div class="os-grid"><ol class="steps">{items(o['steps'])}</ol>
+ <figure class="shot"><img src="{shots}official-settings-dark.png" width="2112" height="1472" alt="{esc(o['settings_alt'])}"></figure>
+ </div>
+ </div></section>
+ {sections}
+ <section class="section"><div class="wrap official-copy">
+ <figure class="shot"><img src="{shots}official-usage-dark.png" width="2112" height="1472" loading="lazy" alt="{esc(o['usage_alt'])}"></figure>
+ <p class="note"><a href="{base}{PRIVACY}">{esc(o['privacy_link'])}</a> · <a href="{base}{CLOUD}">{esc(o['self_link'])}</a> · <a href="https://pasteferry.cc/">pasteferry.cc</a></p>
+ </div></section>
+ </main>
+""" + page_bottom(c, code, OFFICIAL)
+
+
def main() -> None:
for code, (path, _, _, _) in LANGS.items():
write(DOCS / path / "index.html", home(code))
@@ -2202,6 +2253,7 @@ def main() -> None:
write(DOCS / path / TAILSCALE / "index.html", tailscale_page(code))
write(DOCS / path / DOWNLOAD / "index.html", download_page(code))
write(DOCS / path / PRIVACY / "index.html", privacy_page(code))
+ write(DOCS / path / OFFICIAL / "index.html", official_page(code))
for md_name, page in DESIGN_DOCS.items():
write(DOCS / "design" / f"{page}.html", design_page(md_name, page))
write(DOCS / "404.html", not_found())
diff --git a/tools/site/content/en.py b/tools/site/content/en.py
index 0a33829..dfda08a 100644
--- a/tools/site/content/en.py
+++ b/tools/site/content/en.py
@@ -7,12 +7,9 @@ C = {
"brand": "PasteFerry",
"brand_alt": ["隔空贴", "CopySync"],
"title": "PasteFerry: sync the clipboard and files between Mac, Windows and Linux, across accounts and networks",
- "description": "PasteFerry lets you copy on one computer and paste on another, Mac, Windows or Linux: text, images, files and folders. "
- "No shared account required. On the same network it works with no server at all; across networks, use a server "
- "you host or Tailscale. Peer-to-peer and end-to-end encrypted. Free and open source.",
+ "description": 'PasteFerry syncs clipboard text, images, files and folders across Mac, Windows and Linux. Enable optional official access to connect across networks without hosting a server: direct first, encrypted relay when needed. Free and open source.',
"og_title": "PasteFerry: copy on this computer, paste on that one",
- "og_description": "Mac, Windows and Linux. Text, images, files and folders across accounts and networks; peer-to-peer, end-to-end "
- "encrypted, no server needed on the same network. Free and open source.",
+ "og_description": 'PasteFerry syncs clipboard text, images, files and folders across Mac, Windows and Linux. Enable optional official access to connect across networks without hosting a server: direct first, encrypted relay when needed. Free and open source.',
"og_image": "og-en.png",
"skip": "Skip to content",
"home_label": "PasteFerry home",
@@ -25,8 +22,7 @@ C = {
"lang_label": "Language",
"h1": "Copy on this computer.<br>Paste on that one.",
- "lede": "Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. On the same network it works "
- "with no server at all, and it works across networks too. Data moves directly between your devices, end-to-end encrypted.",
+ "lede": 'Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. Now connect across networks by enabling official access, with no server to host. Direct connections first, end-to-end encryption throughout.',
"dl_button": "Download PasteFerry",
"dl_mac": "Download for Mac",
"dl_win": "Download for Windows",
@@ -44,9 +40,8 @@ C = {
# the quick start tabs use name, facts, steps, address, go; the install section uses name, fit.
# {lan}, {cloud}, {server} and {ts} in steps and address become links to the matching guide.
"paths_h2": "How your computers connect",
- "paths_intro": "On the same network, install the app and pair; no server needed. Across networks, your computers find each "
- "other through a server or Tailscale, and nothing you copy is stored there. Pick the way that fits.",
- "paths_after": "Not sure? The <a href=\"{start}#server\">quick start</a> compares all three.",
+ "paths_intro": 'Same network? Install and pair. Different networks? Enable official access without hosting a server. Custom servers and Tailscale remain available when you prefer to manage the connection yourself.',
+ "paths_after": 'New here? Follow the <a href="{start}#server">quick start</a>. Official access is optional; its current relay default is 100 MB/day, and direct traffic does not consume it.',
"plans_label": "Ways to connect",
"plans": {
"lan": {
@@ -70,13 +65,13 @@ C = {
"address": "No server address to enter.",
},
"cloud": {
- "name": "Public server",
- "fit": "Syncs from anywhere",
+ "name": 'Self-hosted server',
+ "fit": 'Control your own capacity',
"summary": "A Linux VM with a public IP; the smallest one is enough. Every computer connects to it directly, at home, "
"at the office or anywhere else, with nothing extra to install.",
"go": "Public server guide →",
"facts": [
- ("Best for", "Computers spread across networks that should sync from anywhere. The simplest way across networks."),
+ ("Best for", 'Control your own capacity'),
("You need", "A Linux VM with a public IP, as root; the smallest one is enough."),
("Keep in mind", "The VM costs money. When a direct connection fails, the relay is limited by the server's "
"bandwidth. In mainland China, use the IP unless the domain has an ICP filing."),
@@ -140,7 +135,7 @@ C = {
("Paste right away, nothing to accept", [("yes", "Yes"), ("yes", "Yes"), ("no", "No"), ("no", "No")]),
("Files and whole folders", [("yes", "Yes"), ("partial", "Unreliable"), ("yes", "Yes"), ("partial", "Zip first")]),
("Find something you copied earlier", [("yes", "Yes"), ("no", "No"), ("no", "No"), ("partial", "Scroll back")]),
- ("Content stays off third-party servers", [("yes", "Yes"), ("yes", "Yes"), ("yes", "Yes"), ("no", "No")]),
+ ('Only your devices can decrypt content', [("yes", "Yes"), ("yes", "Yes"), ("yes", "Yes"), ("no", "No")]),
],
"how_h2": "How it works",
@@ -244,8 +239,7 @@ C = {
"You only do this once.</span>",
"Click Turn on background sync. When macOS asks whether PasteFerry may read the clipboard or find devices on your local "
"network, allow both.",
- "To sync across networks, enter your server in Settings as <code>ws://server-address:8787/signal</code> and press "
- "Return. On the same network, leave it empty.",
+ 'For different networks, enable Settings → Use official service on each computer. No server address is needed. Custom hosting remains optional.',
],
"win_steps": [
"Run PasteFerry-Setup.exe. It installs for the current user, no administrator rights needed."
@@ -253,16 +247,16 @@ C = {
f"then Run anyway. To skip the installer, get the <a href=\"{REPO}/releases/latest/download/PasteFerry-windows-x64.zip\">portable zip</a>.</span>",
"Open PasteFerry and click Turn on background sync. Allow it if Windows Firewall asks. After you close the window it "
"keeps running in the notification area.",
- "To sync across networks, enter your server address in Settings and press Enter. On the same network, leave it empty.",
+ 'For different networks, enable Settings → Use official service on each computer. No server address is needed. Custom hosting remains optional.',
],
"linux_steps": [
"On Ubuntu, Debian and similar, download the .deb and run <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>; "
"on other distributions, download the tar.gz, extract it and run <code>./PasteFerry/install.sh</code>.",
"Open PasteFerry from the app menu and click Turn on background sync. From then on it starts when you log in.",
- "To sync across networks, enter your server address in Settings and press Enter. On the same network, leave it empty.",
+ 'For different networks, enable Settings → Use official service on each computer. No server address is needed. Custom hosting remains optional.',
],
"server_h3": "Ways to connect",
- "server_intro": "No server on the same network. Pick the way that fits; each has a step-by-step guide:",
+ "server_intro": 'Same network? Install and pair. Different networks? Enable official access without hosting a server. Custom servers and Tailscale remain available when you prefer to manage the connection yourself.',
"server_compare": "Compare the three",
"copy": "Copy",
"copied": "Copied",
@@ -292,70 +286,70 @@ C = {
],
"faq_h2": "Questions",
- "faq": [
- ("Why do .uuremote_ files keep appearing while UU Remote is running?", [
- "UU Remote writes temporary placeholder files to the system clipboard. Older PasteFerry clients recorded and forwarded them as ordinary files. Version 1.3.2 filters the confirmed placeholder naming pattern on send and receive, and removes placeholder-only history on startup. Ordinary empty, hidden and large files are unaffected. The 50 MB threshold only controls automatic transfer; UU’s UDP P2P setting is unrelated. Upgrade both clients. Other clipboard sync tools may still duplicate ordinary content.",
- ]),
- ("How is this different from Universal Clipboard?", [
- "Universal Clipboard needs both devices on the same Apple ID, with Bluetooth and Wi‑Fi on, close to each other, and "
- "works only between Apple devices. PasteFerry works on the same network as soon as it's installed; across networks, both "
- "computers reach your server or run Tailscale. So different Apple IDs work, one Mac and one Windows PC work, and so "
- "does one at home and one at the office. It also keeps a history and lets you pull large files on demand.",
- "If your Macs share an Apple ID, sit side by side, and you mostly copy text, the built-in feature is already enough.",
- ]),
- ("Can the server see what I copy?", [
- "No. With a direct connection the data never touches the server. When it relays, it forwards DTLS-encrypted packets. "
- "It keeps no accounts and stores no clipboard content. The code is open, so you can check.",
- ]),
- ("Does it connect directly on office networks with several uplinks?", [
- "Yes. These networks pick an uplink per destination. PasteFerry probes several servers from one port to learn its "
- "address on every uplink and sends them all to the peer, which tries each one. A Mac behind a 4-uplink office "
- "network connects directly to a home connection in our tests. Peers behind NATs that randomize ports still fall "
- "back to the relay.",
- ]),
- ("Do I need my own server?", [
- "Not necessarily. When your computers are on the <a href=\"{lan}\">same network</a>, install the app and pair; "
- "there's no server.",
- "Across networks there are two ways: a <a href=\"{cloud}\">public server</a>, where the smallest VM is enough and "
- "sync works from anywhere; or <a href=\"{ts}\">Tailscale</a> on each computer, entering the other computer's "
- "Tailscale address when pairing, with no server at all. There's no public PasteFerry server, so nobody's data passes "
- "through anyone else's machine.",
- ]),
- ("No public IP at home. Can I sync between home and the office?", [
- "Yes, in two ways. With a public server, run PasteFerry's server there and connect both computers to it; see the "
- "<a href=\"{cloud}\">public server guide</a>. Without one, install Tailscale on every computer under the same "
- "account and enter the other computer's Tailscale address when pairing; see the <a href=\"{ts}\">Tailscale guide</a>.",
- ]),
- ("Both computers are on the same network. Why can't they find each other?", [
- "Check that they're really on the same subnet: wired and Wi‑Fi in many offices, guest networks, and Wi‑Fi with client "
- "isolation don't let devices see each other. In that case, on the computer entering the code, click On a different "
- "subnet? and enter the address shown under the other computer's code.",
- "On Windows, allow PasteFerry when the firewall asks on first run; if you clicked Cancel, click Allow under Settings → "
- "Local network. On a Mac, turn on PasteFerry Daemon in System Settings → Privacy &amp; Security → Local Network. More in "
- "the <a href=\"{lan}#faq\">same network guide</a>.",
- ]),
- ("Windows? Linux? iPhone?", [
- "Windows 10 and 11 (x64) are supported and work together with Macs. Files you paste on Windows are real files you "
- "can drop into Explorer or Office.",
- "Linux desktops on x64 and ARM64 are supported too: X11, or Wayland with XWayland (GNOME, KDE and others include it "
- "by default). Files you copy paste straight into the file manager.",
- "iPhone and iPad aren't supported: iOS doesn't let apps watch the clipboard in the background, so "
- "copy-and-it's-there can't work.",
- ]),
- ("Why does the system warn me the first time?", [
- "PasteFerry isn't notarized by Apple yet, and the Windows build isn't code-signed yet; both require paid certificates.",
- "On Mac, open System Settings → Privacy &amp; Security and click Open Anyway near the bottom. On Windows, click More "
- "info and then Run anyway in the \"Windows protected your PC\" prompt. You only do this once.",
- ]),
- ("What about large files?", [
- "By default, anything under 50 MB is pushed to the other computer as you copy it, so you can paste right away. "
- "Larger files sync as a record; pull them from the history when you need them. The limit is adjustable in Settings.",
- ]),
- ("Is it free? Can my company use it?", [
- "Yes. PasteFerry is open source under the GNU AGPL-3.0, so individuals and companies can use and modify it for free. "
- "If you distribute it, or offer a modified version over a network, you publish your source under the same license.",
- ]),
- ],
+ "faq": [('Why do .uuremote_ files keep appearing while UU Remote is running?',
+ ['UU Remote writes temporary placeholder files to the system clipboard. Older PasteFerry clients recorded '
+ 'and forwarded them as ordinary files. Version 1.3.2 filters the confirmed placeholder naming pattern on '
+ 'send and receive, and removes placeholder-only history on startup. Ordinary empty, hidden and large '
+ 'files are unaffected. The 50 MB threshold only controls automatic transfer; UU’s UDP P2P setting is '
+ 'unrelated. Upgrade both clients. Other clipboard sync tools may still duplicate ordinary content.']),
+ ('How is this different from Universal Clipboard?',
+ ['Mac, Windows and Linux. Text, images, files, whole folders. No shared account required. Now connect '
+ 'across networks by enabling official access, with no server to host. Direct connections first, '
+ 'end-to-end encryption throughout.',
+ 'If your Macs share an Apple ID, sit side by side, and you mostly copy text, the built-in feature is '
+ 'already enough.']),
+ ('Can the server see what I copy?',
+ ['It cannot decrypt copied content: direct traffic stays between your devices, and relay forwards '
+ 'end-to-end encrypted packets. Official access retains essential device and quota statistics, described '
+ 'in the privacy notice. The public client and server source does not by itself prove how private '
+ 'production storage is operated.']),
+ ('Does it connect directly on office networks with several uplinks?',
+ ['Yes. These networks pick an uplink per destination. PasteFerry probes several servers from one port to '
+ 'learn its address on every uplink and sends them all to the peer, which tries each one. A Mac behind a '
+ '4-uplink office network connects directly to a home connection in our tests. Peers behind NATs that '
+ 'randomize ports still fall back to the relay.']),
+ ('Do I need my own server?',
+ ['No. For different networks, enable <a href="{official}">official access</a> on both computers. No cloud '
+ 'VM or address to configure. It is off by default and currently includes 100 MB/day of relay traffic; '
+ 'direct connections do not use that allowance. LAN, <a href="{cloud}">self-hosting</a> and <a '
+ 'href="{ts}">Tailscale</a> remain available.']),
+ ('No public IP at home. Can I sync between home and the office?',
+ ['No. For different networks, enable <a href="{official}">official access</a> on both computers. No cloud '
+ 'VM or address to configure. It is off by default and currently includes 100 MB/day of relay traffic; '
+ 'direct connections do not use that allowance. LAN, <a href="{cloud}">self-hosting</a> and <a '
+ 'href="{ts}">Tailscale</a> remain available.']),
+ ("Both computers are on the same network. Why can't they find each other?",
+ ["Check that they're really on the same subnet: wired and Wi‑Fi in many offices, guest networks, and Wi‑Fi "
+ "with client isolation don't let devices see each other. In that case, on the computer entering the code, "
+ "click On a different subnet? and enter the address shown under the other computer's code.",
+ 'On Windows, allow PasteFerry when the firewall asks on first run; if you clicked Cancel, click Allow '
+ 'under Settings → Local network. On a Mac, turn on PasteFerry Daemon in System Settings → Privacy &amp; '
+ 'Security → Local Network. More in the <a href="{lan}#faq">same network guide</a>.']),
+ ('Windows? Linux? iPhone?',
+ ['Windows 10 and 11 (x64) are supported and work together with Macs. Files you paste on Windows are real '
+ 'files you can drop into Explorer or Office.',
+ 'Linux desktops on x64 and ARM64 are supported too: X11, or Wayland with XWayland (GNOME, KDE and others '
+ 'include it by default). Files you copy paste straight into the file manager.',
+ "iPhone and iPad aren't supported: iOS doesn't let apps watch the clipboard in the background, so "
+ "copy-and-it's-there can't work."]),
+ ('Why does the system warn me the first time?',
+ ["PasteFerry isn't notarized by Apple yet, and the Windows build isn't code-signed yet; both require paid "
+ 'certificates.',
+ 'On Mac, open System Settings → Privacy &amp; Security and click Open Anyway near the bottom. On Windows, '
+ 'click More info and then Run anyway in the "Windows protected your PC" prompt. You only do this once.']),
+ ('What about large files?',
+ ['By default, anything under 50 MB is pushed to the other computer as you copy it, so you can paste right '
+ 'away. Larger files sync as a record; pull them from the history when you need them. The limit is '
+ 'adjustable in Settings.']),
+ ('Is it free? Can my company use it?',
+ ['Yes. PasteFerry is open source under the GNU AGPL-3.0, so individuals and companies can use and modify '
+ 'it for free. If you distribute it, or offer a modified version over a network, you publish your source '
+ 'under the same license.']),
+ ('Is official relay unlimited?',
+ ['The current default is 100 MB per machine quota group per day, upload plus download, resetting at '
+ 'midnight Beijing time. Reinstalling does not guarantee a fresh allowance. The usage page shows the '
+ 'actual limit, remaining amount and update time. Direct connections still work when relay allowance runs '
+ 'out. Allowances and availability may change; check the app.'])],
"closing": "Two computers, one clipboard.",
"source": "View the source on GitHub",
@@ -694,8 +688,7 @@ C = {
"app_alt": "PasteFerry the first time it opens, asking you to turn on background sync",
"server_h2": "Pick a way to connect",
- "server_intro": "On the same network there's nothing to set up. Across networks, your computers find each other through "
- "a public server or Tailscale, and nothing you copy is stored there.",
+ "server_intro": 'Same network? Install and pair. Different networks? Enable official access without hosting a server. Custom servers and Tailscale remain available when you prefer to manage the connection yourself.',
"pair_h2": "Pair your computers",
"pair_intro": "Pair each two computers once, and you're done.",
diff --git a/tools/site/content/ja.py b/tools/site/content/ja.py
index 70124f3..5eb4c6d 100644
--- a/tools/site/content/ja.py
+++ b/tools/site/content/ja.py
@@ -7,13 +7,9 @@ C = {
"brand": "PasteFerry",
"brand_alt": ["隔空贴", "CopySync"],
"title": "PasteFerry:Mac、Windows、Linux のあいだでクリップボードとファイルを同期。アカウントもネットワークも別々で OK",
- "description": "PasteFerry は、一台でコピーしたものをもう一台でそのまま貼り付けられるアプリです。Mac、Windows、Linux に対応し、"
- "テキスト、画像、ファイル、フォルダを同期します。同じアカウントは不要。同じネットワークならサーバーなしで使え、"
- "ネットワークをまたぐときは自分で用意したサーバーか Tailscale を使います。デバイス間は P2P で直接つながり、"
- "エンドツーエンドで暗号化。無料・オープンソース。",
+ "description": 'PasteFerry は Mac・Windows・Linux 間でテキスト、画像、ファイル、フォルダを同期します。公式サービスを有効にすればサーバー構築なしで別ネットワーク間も接続。直接接続を優先し、必要時のみ暗号化中継。無料・オープンソース。',
"og_title": "PasteFerry:このコンピューターでコピーして、あのコンピューターで貼り付け",
- "og_description": "Mac、Windows、Linux に対応。テキスト、画像、ファイル、フォルダを、アカウントやネットワークをまたいで同期。"
- "P2P 直接接続、エンドツーエンド暗号化、同じネットワークならサーバー不要。無料・オープンソース。",
+ "og_description": 'PasteFerry は Mac・Windows・Linux 間でテキスト、画像、ファイル、フォルダを同期します。公式サービスを有効にすればサーバー構築なしで別ネットワーク間も接続。直接接続を優先し、必要時のみ暗号化中継。無料・オープンソース。',
"og_image": "og-en.png",
"skip": "本文へ移動",
"home_label": "PasteFerry ホーム",
@@ -26,8 +22,7 @@ C = {
"lang_label": "言語",
"h1": "こっちでコピーして、<br>あっちで貼り付け。",
- "lede": "Mac、Windows、Linux に対応。テキスト、画像、ファイル、フォルダまるごと。同じアカウントは要りません。"
- "同じネットワークならサーバーなしで使え、ネットワークをまたいでも使えます。データはデバイス間を直接流れ、エンドツーエンドで暗号化されます。",
+ "lede": 'Mac・Windows・Linux でテキスト、画像、ファイル、フォルダを同期。同じアカウントは不要。公式サービスをオンにすれば、サーバーを構築せずに別ネットワーク間でも使えます。直接接続を優先し、常にエンドツーエンド暗号化。',
"dl_button": "PasteFerry をダウンロード",
"dl_mac": "Mac 版をダウンロード",
"dl_win": "Windows 版をダウンロード",
@@ -44,9 +39,8 @@ C = {
# はじめかたのタブは name、facts、steps、address、go、インストール欄は name、fit を使う。
# steps と address の {lan}、{cloud}、{server}、{ts} はそれぞれの手順ページへのリンクに置き換わる
"paths_h2": "2 台をどうつなぐか",
- "paths_intro": "同じネットワークなら、アプリを入れてペアリングするだけで、サーバーは要りません。ネットワークをまたぐときは、"
- "サーバーか Tailscale を通じてお互いを見つけます。コピーした内容がそこに保存されることはありません。状況に合うものを選んでください。",
- "paths_after": "迷ったら<a href=\"{start}#server\">はじめかた</a>で 3 通りを比べられます。",
+ "paths_intro": '同じネットワークならインストールしてペアリング。別ネットワークなら公式サービスをオンにするだけで、サーバーの準備は不要です。独自サーバーと Tailscale も選べます。',
+ "paths_after": '初めての方は<a href="{start}#server">クイックスタート</a>へ。公式サービスは任意です。現在の標準中継上限は 100 MB/日で、直接通信では消費しません。',
"plans_label": "接続方法",
"plans": {
"lan": {
@@ -67,12 +61,12 @@ C = {
"address": "サーバーのアドレスを入力する必要はありません。",
},
"cloud": {
- "name": "公開サーバー",
- "fit": "どこからでも同期",
+ "name": '独自の公開サーバー',
+ "fit": '容量と運用を自分で管理',
"summary": "グローバル IP を持つ Linux のクラウドサーバー。最小構成で足ります。各コンピューターが直接つながり、自宅でも会社でも外出先でも、ほかに入れるものはありません。",
"go": "公開サーバーでの手順 →",
"facts": [
- ("向いている", "コンピューターが別々のネットワークにあり、どこからでも同期したい場合。ネットワークをまたぐならいちばん手間がかかりません。"),
+ ("向いている", '容量と運用を自分で管理'),
("必要なもの", "グローバル IP を持つ Linux のクラウドサーバー(最小構成で可)と root 権限。"),
("注意", "クラウドサーバーの費用がかかります。直接つながらないときの中継はサーバーの帯域に左右されます。中国本土では、ICP 登録のないドメインは使えないので IP を入力します。"),
],
@@ -131,7 +125,7 @@ C = {
("コピーしてすぐ貼り付け、受け取り操作なし", [("yes", "できる"), ("yes", "できる"), ("no", "できない"), ("no", "できない")]),
("ファイルとフォルダまるごと", [("yes", "できる"), ("partial", "不安定"), ("yes", "できる"), ("partial", "先に圧縮")]),
("前にコピーしたものを探す", [("yes", "できる"), ("no", "できない"), ("no", "できない"), ("partial", "履歴をさかのぼる")]),
- ("内容が第三者のサーバーを通らない", [("yes", "通らない"), ("yes", "通らない"), ("yes", "通らない"), ("no", "通る")]),
+ ('内容を復号できるのは自分の端末のみ', [("yes", "通らない"), ("yes", "通らない"), ("yes", "通らない"), ("no", "通る")]),
],
"how_h2": "しくみ",
@@ -229,23 +223,23 @@ C = {
"「アプリケーション」から開きます。<span class=\"aside\">初回は「開発元を検証できません」と表示されます。PasteFerry はまだ Apple の公証を受けていないためです。"
"「システム設定 → プライバシーとセキュリティ」を開き、ページ下部の「このまま開く」をクリックします。必要なのは一度だけです。</span>",
"「バックグラウンド同期を有効にする」をクリックします。クリップボードの読み取りと、ローカルネットワーク上のデバイスを探すことについて聞かれたら、どちらも許可します。",
- "ネットワークをまたいで同期するときは、「設定」でサーバーのアドレス <code>ws://サーバーアドレス:8787/signal</code> を入力して Return を押します。同じネットワークなら空欄のままです。",
+ '別ネットワークで使う場合は各パソコンの「設定 → 公式サービスを使う」をオンにします。アドレス入力は不要。独自サーバーも利用できます。',
],
"win_steps": [
"PasteFerry-Setup.exe を実行します。現在のユーザーのフォルダにインストールされ、管理者権限は要りません。"
"<span class=\"aside\">PasteFerry はまだコード署名されていないため、「Windows によって PC が保護されました」と表示されます。「詳細情報」を押してから「実行」を押してください。"
f"インストーラーを使いたくない場合は<a href=\"{REPO}/releases/latest/download/PasteFerry-windows-x64.zip\">ポータブル版</a>もあります。</span>",
"PasteFerry を開き、「バックグラウンド同期を有効にする」をクリックします。ファイアウォールに聞かれたら許可します。ウィンドウを閉じても、画面右下の通知領域で動き続けます。",
- "ネットワークをまたいで同期するときは、「設定」でサーバーのアドレスを入力して Enter を押します。同じネットワークなら空欄のままです。",
+ '別ネットワークで使う場合は各パソコンの「設定 → 公式サービスを使う」をオンにします。アドレス入力は不要。独自サーバーも利用できます。',
],
"linux_steps": [
"Ubuntu や Debian などでは .deb をダウンロードし、<code>sudo apt install ./PasteFerry-linux-amd64.deb</code> を実行します。"
"ほかのディストリビューションでは tar.gz をダウンロードして展開し、<code>./PasteFerry/install.sh</code> を実行します。",
"アプリケーションメニューから PasteFerry を開き、「バックグラウンド同期を有効にする」をクリックします。以後はログイン時に自動で起動します。",
- "ネットワークをまたいで同期するときは、「設定」でサーバーのアドレスを入力して Enter を押します。同じネットワークなら空欄のままです。",
+ '別ネットワークで使う場合は各パソコンの「設定 → 公式サービスを使う」をオンにします。アドレス入力は不要。独自サーバーも利用できます。',
],
"server_h3": "接続方法",
- "server_intro": "同じネットワークならサーバーは要りません。状況に合うものを選んでください。どれにも手順のページがあります:",
+ "server_intro": '同じネットワークならインストールしてペアリング。別ネットワークなら公式サービスをオンにするだけで、サーバーの準備は不要です。独自サーバーと Tailscale も選べます。',
"server_compare": "3 通りを比べる",
"copy": "コピー",
"copied": "コピーしました",
@@ -275,58 +269,50 @@ C = {
],
"faq_h2": "よくある質問",
- "faq": [
- ("UU Remote の使用中に .uuremote_ ファイルが増え続けるのはなぜですか?", [
- "UU Remote は一時的なプレースホルダーファイルをシステムのクリップボードに書き込みます。旧版の PasteFerry はそれを通常のファイルとして記録・転送していました。1.3.2 では確認済みの命名パターンを送受信時に除外し、起動時にプレースホルダーだけの履歴を削除します。通常の空ファイル、隠しファイル、大容量ファイルは対象外です。50 MB は自動転送のしきい値であり、UU の UDP P2P 設定とは関係ありません。両端を更新してください。他のクリップボード同期ツールによる通常コンテンツの重複は起こり得ます。",
- ]),
- ("macOS のユニバーサルクリップボードとの違いは?", [
- "ユニバーサルクリップボードは、両方のデバイスが同じ Apple ID でサインインし、Bluetooth と Wi‑Fi をオンにして近くにある必要があり、Apple 製品どうしでしか使えません。"
- "PasteFerry は同じネットワークならインストールしてすぐ使え、ネットワークをまたぐときは両方があなたのサーバーにつながるか、Tailscale を入れていれば使えます。"
- "Apple ID が別でも、自宅と会社に離れていても、Mac と Windows の組み合わせでも使えます。"
- "さらに履歴があり、大きなファイルは必要なときに取り込めます。",
- "2 台の Mac が同じ Apple ID でいつも並んでいて、主にテキストをコピーするだけなら、標準機能で十分です。",
- ]),
- ("サーバーにコピーした内容は見えますか?", [
- "見えません。直接接続のときデータはサーバーを通りません。中継が必要なときも、サーバーが転送するのは DTLS で暗号化されたパケットです。"
- "サーバーはアカウントもコピーした内容も保存しません。コードは公開されているので、ご自身で確かめられます。",
- ]),
- ("出口が複数ある会社のネットワークでも直接つながりますか?", [
- "つながります。こうしたネットワークは宛先ごとに出口を選びます。PasteFerry はひとつのポートから複数のサーバーに問い合わせて出口ごとのアドレスを集め、すべて相手に送り、相手がひとつずつ試します。"
- "テストでは、出口が 4 つある会社の Mac と家庭の回線が直接つながりました。相手がポートをランダムに割り当てる NAT の場合は中継になります。",
- ]),
- ("サーバーは自分で用意する必要がありますか?", [
- "場合によります。コンピューターが<a href=\"{lan}\">同じネットワーク</a>にあるなら、アプリを入れてペアリングするだけで、サーバーは要りません。",
- "ネットワークをまたぐ方法は 2 つあります。<a href=\"{cloud}\">公開サーバー</a>は最小構成のクラウドサーバーで足り、どこからでも同期できます。"
- "<a href=\"{ts}\">Tailscale</a> は各コンピューターに入れ、ペアリング時に相手の Tailscale アドレスを入力するだけで、サーバーは要りません。"
- "PasteFerry は公開サーバーを提供しないので、誰のデータも他人のマシンを通りません。",
- ]),
- ("自宅にグローバル IP がありません。自宅と会社のあいだで同期できますか?", [
- "できます。方法は 2 つあります。公開サーバーがあれば、そこにサーバーを置いて両方のコンピューターから直接つなぎます(<a href=\"{cloud}\">公開サーバーでの手順</a>)。"
- "なければ、すべてのコンピューターに Tailscale を入れて同じアカウントでサインインし、ペアリング時に相手の Tailscale アドレスを入力します(<a href=\"{ts}\">Tailscale での手順</a>)。",
- ]),
- ("同じネットワークなのに、もう一台が見つからないのはなぜ?", [
- "まず本当に同じサブネットか確認してください。会社の有線と Wi‑Fi、ゲストネットワーク、クライアント分離が有効な Wi‑Fi では、デバイス同士が見えないことがよくあります。"
- "その場合は、コードを入力する側で「別のサブネットにありますか?」をクリックし、相手のコードの下に表示されたアドレスを入力します。",
- "Windows では初回起動時にファイアウォールに聞かれたら許可してください。キャンセルした場合は「設定 → ローカルネットワーク」で「許可」をクリックします。"
- "Mac では「システム設定 → プライバシーとセキュリティ → ローカルネットワーク」で PasteFerry Daemon をオンにします。詳しくは<a href=\"{lan}#faq\">同じネットワークでの手順</a>を。",
- ]),
- ("Windows や Linux に対応していますか?iPhone は?", [
- "Windows 10 と Windows 11(x64)に対応し、Mac と相互に使えます。Windows で貼り付けたファイルは本物のファイルなので、エクスプローラーや Office にそのまま貼り付けられます。",
- "x64 と ARM64 の Linux デスクトップにも対応しています。X11、または XWayland 付きの Wayland デスクトップ(GNOME、KDE などは標準で搭載)で動きます。"
- "コピーしたファイルはファイルマネージャーにそのまま貼り付けられます。",
- "iPhone と iPad には対応していません。iOS ではアプリがバックグラウンドでクリップボードを監視できないため、コピーしてすぐ同期することができないからです。",
- ]),
- ("初めて開くときにシステムに止められるのはなぜ?", [
- "PasteFerry はまだ Apple の公証を受けておらず、Windows 版もコード署名していません。どちらも毎年費用のかかる証明書が必要です。",
- "Mac では「システム設定 → プライバシーとセキュリティ」でページ下部の「このまま開く」をクリック、Windows では「Windows によって PC が保護されました」で「詳細情報」から「実行」を押してください。どちらも一度だけで済みます。",
- ]),
- ("大きなファイルはどうなりますか?", [
- "初期設定では 50 MB までのものはコピーした時点でもう一台に送られ、そのまま貼り付けられます。それより大きいファイルは記録だけを同期し、必要なときに履歴から「このデバイスに取り込む」で転送します。上限は「設定」で変えられます。",
- ]),
- ("無料ですか?会社で使えますか?", [
- "無料です。PasteFerry は GNU AGPL-3.0 のオープンソースで、個人も会社も無料で使い、改変できます。配布する場合や、改変したものをネットワーク越しに提供する場合は、同じライセンスでソースコードを公開する必要があります。",
- ]),
- ],
+ "faq": [('UU Remote の使用中に .uuremote_ ファイルが増え続けるのはなぜですか?',
+ ['UU Remote は一時的なプレースホルダーファイルをシステムのクリップボードに書き込みます。旧版の PasteFerry はそれを通常のファイルとして記録・転送していました。1.3.2 '
+ 'では確認済みの命名パターンを送受信時に除外し、起動時にプレースホルダーだけの履歴を削除します。通常の空ファイル、隠しファイル、大容量ファイルは対象外です。50 MB は自動転送のしきい値であり、UU の '
+ 'UDP P2P 設定とは関係ありません。両端を更新してください。他のクリップボード同期ツールによる通常コンテンツの重複は起こり得ます。']),
+ ('macOS のユニバーサルクリップボードとの違いは?',
+ ['Mac・Windows・Linux '
+ 'でテキスト、画像、ファイル、フォルダを同期。同じアカウントは不要。公式サービスをオンにすれば、サーバーを構築せずに別ネットワーク間でも使えます。直接接続を優先し、常にエンドツーエンド暗号化。',
+ '2 台の Mac が同じ Apple ID でいつも並んでいて、主にテキストをコピーするだけなら、標準機能で十分です。']),
+ ('サーバーにコピーした内容は見えますか?',
+ ['コピー内容は復号できません。直接通信は端末間で行い、中継はエンドツーエンド暗号化されたパケットを転送します。公式サービスは必要な端末・使用量統計を保持します。公開ソースだけで非公開の本番保存動作まで証明できるわけではありません。']),
+ ('出口が複数ある会社のネットワークでも直接つながりますか?',
+ ['つながります。こうしたネットワークは宛先ごとに出口を選びます。PasteFerry '
+ 'はひとつのポートから複数のサーバーに問い合わせて出口ごとのアドレスを集め、すべて相手に送り、相手がひとつずつ試します。テストでは、出口が 4 つある会社の Mac '
+ 'と家庭の回線が直接つながりました。相手がポートをランダムに割り当てる NAT の場合は中継になります。']),
+ ('サーバーは自分で用意する必要がありますか?',
+ ['不要です。別ネットワークなら両方で<a href="{official}">公式サービス</a>を有効にします。クラウド契約やアドレス入力は不要。初期状態はオフで、現在の中継上限は 100 '
+ 'MB/日、直接通信は消費しません。LAN、<a href="{cloud}">独自サーバー</a>、<a href="{ts}">Tailscale</a> も使えます。']),
+ ('自宅にグローバル IP がありません。自宅と会社のあいだで同期できますか?',
+ ['不要です。別ネットワークなら両方で<a href="{official}">公式サービス</a>を有効にします。クラウド契約やアドレス入力は不要。初期状態はオフで、現在の中継上限は 100 '
+ 'MB/日、直接通信は消費しません。LAN、<a href="{cloud}">独自サーバー</a>、<a href="{ts}">Tailscale</a> も使えます。']),
+ ('同じネットワークなのに、もう一台が見つからないのはなぜ?',
+ ['まず本当に同じサブネットか確認してください。会社の有線と Wi‑Fi、ゲストネットワーク、クライアント分離が有効な Wi‑Fi '
+ 'では、デバイス同士が見えないことがよくあります。その場合は、コードを入力する側で「別のサブネットにありますか?」をクリックし、相手のコードの下に表示されたアドレスを入力します。',
+ 'Windows では初回起動時にファイアウォールに聞かれたら許可してください。キャンセルした場合は「設定 → ローカルネットワーク」で「許可」をクリックします。Mac では「システム設定 → '
+ 'プライバシーとセキュリティ → ローカルネットワーク」で PasteFerry Daemon をオンにします。詳しくは<a href="{lan}#faq">同じネットワークでの手順</a>を。']),
+ ('Windows や Linux に対応していますか?iPhone は?',
+ ['Windows 10 と Windows 11(x64)に対応し、Mac と相互に使えます。Windows で貼り付けたファイルは本物のファイルなので、エクスプローラーや Office '
+ 'にそのまま貼り付けられます。',
+ 'x64 と ARM64 の Linux デスクトップにも対応しています。X11、または XWayland 付きの Wayland デスクトップ(GNOME、KDE '
+ 'などは標準で搭載)で動きます。コピーしたファイルはファイルマネージャーにそのまま貼り付けられます。',
+ 'iPhone と iPad には対応していません。iOS ではアプリがバックグラウンドでクリップボードを監視できないため、コピーしてすぐ同期することができないからです。']),
+ ('初めて開くときにシステムに止められるのはなぜ?',
+ ['PasteFerry はまだ Apple の公証を受けておらず、Windows 版もコード署名していません。どちらも毎年費用のかかる証明書が必要です。',
+ 'Mac では「システム設定 → プライバシーとセキュリティ」でページ下部の「このまま開く」をクリック、Windows では「Windows によって PC '
+ 'が保護されました」で「詳細情報」から「実行」を押してください。どちらも一度だけで済みます。']),
+ ('大きなファイルはどうなりますか?',
+ ['初期設定では 50 MB '
+ 'までのものはコピーした時点でもう一台に送られ、そのまま貼り付けられます。それより大きいファイルは記録だけを同期し、必要なときに履歴から「このデバイスに取り込む」で転送します。上限は「設定」で変えられます。']),
+ ('無料ですか?会社で使えますか?',
+ ['無料です。PasteFerry は GNU AGPL-3.0 '
+ 'のオープンソースで、個人も会社も無料で使い、改変できます。配布する場合や、改変したものをネットワーク越しに提供する場合は、同じライセンスでソースコードを公開する必要があります。']),
+ ('公式中継は無制限ですか?',
+ ['現在の標準中継上限は端末の上限グループごとに送受信合計 100 MB/日で、北京時間午前 0 '
+ '時にリセットします。再インストールで新たな残量が得られる保証はありません。使用量画面に実際の上限、残量、更新時刻を表示します。上限に達しても直接接続は利用できます。上限と提供状況は変更される場合があるため、アプリでご確認ください。'])],
"closing": "2 台のコンピューター、<br>ひとつのクリップボード。",
"source": "GitHub でソースコードを見る",
@@ -648,7 +634,7 @@ C = {
"app_alt": "初めて開いた PasteFerry:バックグラウンド同期を有効にするよう案内している",
"server_h2": "接続方法を選ぶ",
- "server_intro": "同じネットワークなら、準備は何も要りません。ネットワークをまたぐときは、公開サーバーか Tailscale を通じてお互いを見つけます。コピーした内容がそこに保存されることはありません。",
+ "server_intro": '同じネットワークならインストールしてペアリング。別ネットワークなら公式サービスをオンにするだけで、サーバーの準備は不要です。独自サーバーと Tailscale も選べます。',
"pair_h2": "2 台をペアリングする",
"pair_intro": "2 台ごとに一度ペアリングすれば、あとは何もする必要はありません。",
diff --git a/tools/site/content/official.py b/tools/site/content/official.py
new file mode 100644
index 0000000..facb3ba
--- /dev/null
+++ b/tools/site/content/official.py
@@ -0,0 +1,104 @@
+"""Official-service onboarding copy, shared by the home, quick-start and guide pages."""
+
+COPY = {
+ "zh": {
+ "badge": "2.1 新增:跨网络同步,无需自建服务器 →",
+ "title": "官方公网服务:无需自建服务器 — 隔空贴 PasteFerry",
+ "name": "官方服务", "fit": "跨网络,无需自建", "go": "开启官方服务 →",
+ "summary": "打开一个开关,让家里与公司的电脑找到彼此。优先打洞直连,失败后自动中转,无需购买云主机或填写地址。",
+ "lede": "每台电脑安装 2.1.0 或更新版本,在设置中开启官方服务,再配对。信令帮助设备找到彼此,内容优先直接传输,打洞失败才走加密中转。",
+ "steps_title": "三个步骤,开始跨网络同步",
+ "steps": ["在需要同步的每台电脑上安装最新版本,启用后台同步。", "在每台电脑的「设置」中开启「使用官方服务」,阅读并确认必要统计说明。不用填写官方域名或端口。", "一台生成配对码,另一台输入;核对两边的安全指纹后确认。已有配对关系可以继续使用。"],
+ "routing_title": "先直连,再中转",
+ "routing": "官方信令只帮助在线设备交换连接信息。客户端先用 STUN 探测和打洞;本轮直连失败后,才申请官方中转。传输内容始终端到端加密。",
+ "quota_title": "直连不消耗中转额度",
+ "quota": "当前默认每机器额度组每日 100 MB 中转流量,上传与下载合计,北京时间零点重置。重新安装不会保证获得新额度。用量页显示实际额度、剩余量与更新时间;额度用尽仍可直连。额度与服务可用性可能调整,以客户端显示为准。",
+ "privacy_title": "由你决定是否开启",
+ "privacy": "新安装默认关闭。开启后记录必要接入统计;仅申请中转时派生项目专用机器摘要。真实设备名、原始系统标识和复制内容不会作为统计上传。完整字段与保留期限见隐私说明。",
+ "self_title": "仍可独立自建",
+ "self": "局域网、自定义服务器和 Tailscale 继续可用,不依赖官方网关。需要自行管理容量时,可选择自建公网服务器;在自定义地址旁点击「保存并连接」。",
+ "settings_alt": "设置中的使用官方服务开关,无需填写官方地址",
+ "usage_alt": "官方服务用量页的演示数据:每日 100.00 MB、剩余 80.00 MB",
+ "privacy_link": "隐私与必要数据", "self_link": "自建服务器教程", "download": "下载最新版本",
+ },
+ "zh-tw": {
+ "badge": "2.1 新增:跨網路同步,無需自建伺服器 →",
+ "title": "官方公網服務:無需自建伺服器 — 隔空貼 PasteFerry",
+ "name": "官方服務", "fit": "跨網路,無需自建", "go": "啟用官方服務 →",
+ "summary": "開啟一個開關,讓家裡與公司的電腦找到彼此。優先打洞直連,失敗後自動中繼,不需購買雲端主機或填寫位址。",
+ "lede": "每台電腦安裝 2.1.0 或更新版本,在設定中啟用官方服務,再配對。信令協助裝置找到彼此,內容優先直接傳輸,打洞失敗才走加密中繼。",
+ "steps_title": "三個步驟,開始跨網路同步",
+ "steps": ["在每台需要同步的電腦上安裝最新版本,啟用背景同步。", "在每台電腦的「設定」中開啟「使用官方服務」,閱讀並確認必要統計說明。不需填寫官方網域或連接埠。", "一台產生配對碼,另一台輸入;核對兩邊的安全指紋後確認。原有配對關係可繼續使用。"],
+ "routing_title": "先直連,再中繼",
+ "routing": "官方信令只協助在線裝置交換連線資訊。用戶端先透過 STUN 探測和打洞;本輪直連失敗後,才申請官方中繼。傳輸內容始終端到端加密。",
+ "quota_title": "直連不消耗中繼額度",
+ "quota": "目前預設每機器額度組每日 100 MB 中繼流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。",
+ "privacy_title": "由你決定是否啟用",
+ "privacy": "新安裝預設關閉。啟用後記錄必要連線統計;僅申請中繼時衍生專案專用機器摘要。真實裝置名稱、原始系統識別碼和複製內容不作為統計上傳。完整欄位與保留期限見隱私說明。",
+ "self_title": "仍可獨立自建",
+ "self": "區域網路、自訂伺服器與 Tailscale 繼續可用,不依賴官方網關。需要自行管理容量時,可選擇自建公網伺服器;在自訂位址旁點擊「儲存並連線」。",
+ "settings_alt": "設定中的使用官方服務開關,無需填寫官方位址",
+ "usage_alt": "官方用量頁示範資料:每日 100.00 MB、剩餘 80.00 MB",
+ "privacy_link": "隱私與必要資料", "self_link": "自建伺服器教學", "download": "下載最新版本",
+ },
+ "zh-hk": {
+ "badge": "2.1 新增:跨網絡同步,無需自建伺服器 →",
+ "title": "官方公網服務:無需自建伺服器 — 隔空貼 PasteFerry",
+ "name": "官方服務", "fit": "跨網絡,無需自建", "go": "啟用官方服務 →",
+ "summary": "開啟一個開關,讓家裏與公司的電腦找到彼此。優先打洞直連,失敗後自動中轉,不用購買雲端主機或填寫地址。",
+ "lede": "每部電腦安裝 2.1.0 或更新版本,在設定中啟用官方服務,再配對。信令協助裝置找到彼此,內容優先直接傳輸,打洞失敗才走加密中轉。",
+ "steps_title": "三個步驟,開始跨網絡同步",
+ "steps": ["在每部需要同步的電腦上安裝最新版本,啟用背景同步。", "在每部電腦的「設定」中開啟「使用官方服務」,閱讀並確認必要統計說明。不用填寫官方網域或端口。", "一部產生配對碼,另一部輸入;核對兩邊的安全指紋後確認。原有配對關係可以繼續使用。"],
+ "routing_title": "先直連,再中轉",
+ "routing": "官方信令只協助在線裝置交換連線資料。用戶端先用 STUN 探測和打洞;本輪直連失敗後,才申請官方中轉。傳輸內容始終端到端加密。",
+ "quota_title": "直連不消耗中轉額度",
+ "quota": "目前預設每機器額度組每日 100 MB 中轉流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。",
+ "privacy_title": "由你決定是否啟用",
+ "privacy": "新安裝預設關閉。啟用後記錄必要連線統計;只在申請中轉時衍生項目專用機器摘要。真實裝置名稱、原始系統識別碼和複製內容不作為統計上傳。完整欄位與保留期限見私隱說明。",
+ "self_title": "仍可獨立自建",
+ "self": "區域網絡、自訂伺服器與 Tailscale 繼續可用,不依賴官方網關。需要自行管理容量時,可選擇自建公網伺服器;在自訂地址旁按「儲存並連接」。",
+ "settings_alt": "設定中的使用官方服務開關,無需填寫官方地址",
+ "usage_alt": "官方用量頁示範資料:每日 100.00 MB、剩餘 80.00 MB",
+ "privacy_link": "私隱與必要資料", "self_link": "自建伺服器教學", "download": "下載最新版本",
+ },
+ "en": {
+ "badge": "New in 2.1: sync across networks without hosting a server →",
+ "title": "Official access: no server to host — PasteFerry",
+ "name": "Official service", "fit": "Across networks, no hosting", "go": "Enable official access →",
+ "summary": "One switch helps your home and office computers find each other. Direct connections first, automatic encrypted relay if needed. No cloud VM or server address to configure.",
+ "lede": "Install 2.1.0 or later on every computer, enable official access in Settings, then pair. Signaling introduces the devices; content travels directly whenever possible and uses encrypted relay only after direct failure.",
+ "steps_title": "Three steps to sync across networks",
+ "steps": ["Install the latest app and turn on background sync on every computer.", "Enable Settings → Use official service on each computer and review the essential-data notice. No official hostname or port to enter.", "Show a pairing code on one computer, enter it on the other, and compare both fingerprint lines before confirming. Existing pairings are kept."],
+ "routing_title": "Direct first, relay when needed",
+ "routing": "Official signaling exchanges connection information between online peers. The clients try STUN discovery and NAT traversal first, requesting relay only after that direct attempt fails. Content remains end-to-end encrypted.",
+ "quota_title": "Direct traffic does not use relay allowance",
+ "quota": "The current default is 100 MB per machine quota group per day, upload plus download, resetting at midnight Beijing time. Reinstalling does not guarantee a fresh allowance. The usage page shows the actual limit, remaining amount and update time. Direct connections still work when relay allowance runs out. Allowances and availability may change; check the app.",
+ "privacy_title": "Your choice to enable it",
+ "privacy": "Official access is off on fresh installs. Enabling it records essential access statistics; an application-specific machine digest is derived only when relay is requested. Real device names, raw system identifiers and copied content are not uploaded as statistics. See the privacy notice for fields and retention.",
+ "self_title": "Self-hosting stays independent",
+ "self": "LAN, custom servers and Tailscale continue to work without the official gateway. Host your own public server when you need to control capacity, then use Save and connect beside its custom address.",
+ "settings_alt": "The Use official service switch in Settings, without an official address field",
+ "usage_alt": "Demo usage page showing a 100.00 MB allowance and 80.00 MB remaining",
+ "privacy_link": "Privacy and essential data", "self_link": "Self-hosting guide", "download": "Download the latest app",
+ },
+ "ja": {
+ "badge": "2.1 新機能:サーバー不要で別ネットワーク間を同期 →",
+ "title": "公式サービス:サーバーの準備は不要 — PasteFerry",
+ "name": "公式サービス", "fit": "別ネットワーク間、構築不要", "go": "公式サービスを有効にする →",
+ "summary": "スイッチひとつで自宅と会社のパソコンを接続。直接接続を優先し、失敗時のみ暗号化中継を使います。クラウド契約やアドレス入力は不要です。",
+ "lede": "各パソコンに 2.1.0 以降を入れ、設定で公式サービスを有効にしてペアリングします。シグナリングが端末を引き合わせ、内容はまず直接送信。直接接続に失敗した場合のみ暗号化中継を使います。",
+ "steps_title": "3 ステップでネットワークを越えて同期",
+ "steps": ["同期する各パソコンに最新版を入れ、バックグラウンド同期を有効にします。", "各パソコンで「設定 → 公式サービスを使う」をオンにし、必要なデータの説明を確認します。公式のホスト名やポートの入力は不要です。", "一方でコードを表示し、もう一方で入力。両画面の指紋を照合して確認します。既存のペアリングはそのまま使えます。"],
+ "routing_title": "直接接続を先に、中継は必要なときだけ",
+ "routing": "公式シグナリングはオンライン端末間の接続情報を交換します。まず STUN と NAT トラバーサルを試し、その試行に失敗した場合のみ中継を申請します。内容は常にエンドツーエンド暗号化されます。",
+ "quota_title": "直接通信は中継残量を消費しません",
+ "quota": "現在の標準中継上限は端末の上限グループごとに送受信合計 100 MB/日で、北京時間午前 0 時にリセットします。再インストールで新たな残量が得られる保証はありません。使用量画面に実際の上限、残量、更新時刻を表示します。上限に達しても直接接続は利用できます。上限と提供状況は変更される場合があるため、アプリでご確認ください。",
+ "privacy_title": "有効にするかは自分で選べます",
+ "privacy": "新規インストールではオフです。有効にした場合のみ必要な接続統計を記録し、中継申請時にのみ専用の端末ダイジェストを導出します。実際の端末名、元のシステム識別子、コピー内容を統計として送信しません。項目と保持期間はプライバシー説明をご覧ください。",
+ "self_title": "独自サーバーも引き続き利用可能",
+ "self": "LAN、独自サーバー、Tailscale は公式ゲートウェイから独立して動作します。容量を自分で管理したい場合はサーバーを構築し、独自アドレスの横にある「保存して接続」を使えます。",
+ "settings_alt": "公式アドレスの入力が不要な設定画面の公式サービススイッチ",
+ "usage_alt": "上限 100.00 MB、残量 80.00 MB のデモ使用量画面",
+ "privacy_link": "プライバシーと必要なデータ", "self_link": "独自サーバーの構築", "download": "最新版をダウンロード",
+ },
+}
diff --git a/tools/site/content/zh-hk.py b/tools/site/content/zh-hk.py
index 16eae8e..b312dc6 100644
--- a/tools/site/content/zh-hk.py
+++ b/tools/site/content/zh-hk.py
@@ -7,11 +7,9 @@ C = {
"brand": "隔空貼",
"brand_alt": ["PasteFerry", "CopySync"],
"title": "隔空貼 PasteFerry:在 Mac、Windows 與 Linux 之間同步剪貼簿與檔案,跨帳戶、跨網絡",
- "description": "隔空貼讓你在一部電腦上複製,到另一部電腦直接貼上,Mac、Windows、Linux 互通。支援文字、圖片、檔案和資料夾,"
- "不必使用同一個帳戶。在同一個網絡裏安裝好就能用,不需要伺服器;跨網絡時可用自己部署的伺服器或 Tailscale。"
- "裝置之間 P2P 直連、端對端加密。免費開源。",
+ "description": '隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網絡同步,無需自建伺服器;優先打洞直連,失敗自動加密中轉。免費開源。',
"og_title": "隔空貼:在這部電腦複製,到那部電腦貼上",
- "og_description": "Mac、Windows、Linux 互通。文字、圖片、檔案、資料夾,跨帳戶、跨網絡,P2P 直連、端對端加密,同一網絡內不需要伺服器。免費開源。",
+ "og_description": '隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網絡同步,無需自建伺服器;優先打洞直連,失敗自動加密中轉。免費開源。',
"og_image": "og-zh-hant.png",
"skip": "跳至主要內容",
"home_label": "隔空貼首頁",
@@ -24,8 +22,7 @@ C = {
"lang_label": "語言",
"h1": "在這部電腦複製,<br>到那部電腦貼上。",
- "lede": "Mac、Windows、Linux 互通。文字、圖片、檔案以至整個資料夾都可以,不必使用同一個帳戶。"
- "在同一個網絡裏安裝好就能用,不需要伺服器;跨網絡也可以。資料在你的裝置之間直接傳輸,端對端加密。",
+ "lede": 'Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一帳戶。現在啟用官方服務就能跨網絡同步,無需自行架設伺服器。優先直連,始終端到端加密。',
"dl_button": "下載隔空貼",
"dl_mac": "下載 Mac 版",
"dl_win": "下載 Windows 版",
@@ -42,9 +39,8 @@ C = {
# 快速开始的分页用 name、facts、steps、address、go;安装一节用 name、fit。
# steps 与 address 里的 {lan}、{cloud}、{server}、{ts} 换成对应教程的地址
"paths_h2": "兩部電腦怎樣連起來",
- "paths_intro": "在同一個網絡裏,安裝好 App 就能直接配對,不需要伺服器。跨網絡時,兩部電腦要靠伺服器或 Tailscale 找到彼此,"
- "複製的內容不會儲存在上面。按你的情況選一種。",
- "paths_after": "拿不定主意?<a href=\"{start}#server\">快速開始</a>裏有三種方式的比較。",
+ "paths_intro": '同一網絡裏裝好就能配對;不同網絡裏,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,按需要選擇。',
+ "paths_after": '第一次用?跟著<a href="{start}#server">快速開始</a>。官方服務可選,目前預設每日 100 MB 中轉額度,直連不扣此額度。',
"plans_label": "連線方式",
"plans": {
"lan": {
@@ -65,12 +61,12 @@ C = {
"address": "不需要填寫伺服器地址。",
},
"cloud": {
- "name": "公網伺服器",
- "fit": "在哪裏都能同步",
+ "name": '自建公網伺服器',
+ "fit": '自行管理容量與部署',
"summary": "一部有公網 IP 的 Linux 雲端伺服器,最低配置已經足夠。每部電腦直接連線到它,在家、在公司、在外面都能用,不用另外安裝軟件。",
"go": "公網伺服器部署教學 →",
"facts": [
- ("適合", "電腦分散在不同的網絡,想在哪裏都能同步。跨網絡時最省事。"),
+ ("適合", '自行管理容量與部署'),
("要準備", "一部有公網 IP 的 Linux 雲端伺服器,最低配置已經足夠,需要 root 權限。"),
("要注意", "雲端伺服器要付費。打不通直連時經中轉,速度受伺服器頻寬限制。在內地的雲端伺服器上,域名未有 ICP 備案時,用戶端要填 IP。"),
],
@@ -127,7 +123,7 @@ C = {
("複製後直接貼上,不用按接受", [("yes", "可以"), ("yes", "可以"), ("no", "不行"), ("no", "不行")]),
("檔案與整個資料夾", [("yes", "可以"), ("partial", "不穩定"), ("yes", "可以"), ("partial", "要先壓縮")]),
("找回之前複製過的內容", [("yes", "可以"), ("no", "不行"), ("no", "不行"), ("partial", "翻查聊天記錄")]),
- ("內容不經過第三方伺服器", [("yes", "不經過"), ("yes", "不經過"), ("yes", "不經過"), ("no", "經過")]),
+ ('只有自己的裝置可解密內容', [("yes", "不經過"), ("yes", "不經過"), ("yes", "不經過"), ("no", "經過")]),
],
"how_h2": "運作原理",
@@ -226,23 +222,23 @@ C = {
"從「應用程式」裏開啟。<span class=\"aside\">第一次會提示「無法驗證開發者」:隔空貼仍未經 Apple 公證。"
"到「系統設定 → 私隱與保安」,按頁面下方的「強制開啟」,只需要做一次。</span>",
"按「啟用背景同步」。系統詢問是否允許讀取剪貼簿、能否尋找本地網絡上的裝置時,都選擇允許。",
- "跨網絡同步時,在「設定」裏填入伺服器地址 <code>ws://伺服器地址:8787/signal</code>,按 Enter;在同一個網絡裏則不用填。",
+ '跨網絡時,在每部電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器地址;也可以繼續自建。',
],
"win_steps": [
"執行 PasteFerry-Setup.exe。它會安裝在目前用戶的目錄下,不需要管理員權限。"
"<span class=\"aside\">隔空貼仍未有程式碼簽署,Windows 會提示「Windows 已保護您的電腦」:按「其他資訊」,再按「仍要執行」。"
f"不想執行安裝程式的話,可以下載<a href=\"{REPO}/releases/latest/download/PasteFerry-windows-x64.zip\">免安裝版</a>。</span>",
"開啟隔空貼,按「啟用背景同步」。關閉視窗後,它會在右下角的系統匣裏繼續執行。防火牆詢問時選擇允許。",
- "跨網絡同步時,在「設定」裏填入伺服器地址,按 Enter;在同一個網絡裏則不用填。",
+ '跨網絡時,在每部電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器地址;也可以繼續自建。',
],
"linux_steps": [
"Ubuntu、Debian 等發行版下載 .deb,執行 <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>;"
"其他發行版下載 tar.gz,解壓後執行 <code>./PasteFerry/install.sh</code>。",
"從應用程式選單開啟隔空貼,按「啟用背景同步」。之後它會在登入時自動啟動。",
- "跨網絡同步時,在「設定」裏填入伺服器地址,按 Enter;在同一個網絡裏則不用填。",
+ '跨網絡時,在每部電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器地址;也可以繼續自建。',
],
"server_h3": "連線方式",
- "server_intro": "在同一個網絡裏不需要伺服器。三種方式按你的情況選一種,每種都有圖文教學:",
+ "server_intro": '同一網絡裏裝好就能配對;不同網絡裏,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,按需要選擇。',
"server_compare": "比較三種方式",
"copy": "複製",
"copied": "已複製",
@@ -270,56 +266,41 @@ C = {
],
"faq_h2": "常見問題",
- "faq": [
- ("開啟 UU 遠程時,為甚麼不斷出現 .uuremote_ 檔案?", [
- "UU 遠程會在系統剪貼簿裏寫入臨時佔位檔案,舊版隔空貼把它們當成普通檔案反覆記錄和轉發。1.3.2 會在傳送和接收時過濾已確認的佔位命名,並在啟動時清理純佔位記錄。正常的空檔案、隱藏檔案和大檔案不受此規則影響。50 MB 只決定是否自動傳輸,與 UU 的 UDP P2P 設定無關。建議兩端都升級;其他軟件如果也同步剪貼簿,仍可能產生普通內容的重複記錄。",
- ]),
- ("和 macOS 內建的「通用剪貼簿」有甚麼分別?", [
- "「通用剪貼簿」要求兩部裝置登入同一個 Apple ID、開啟藍牙和 Wi‑Fi,而且要靠近,也只能在 Apple 裝置之間使用。"
- "隔空貼在同一個網絡裏安裝好就能用;跨網絡時,只要兩部電腦能連上你部署的伺服器,或者都安裝了 Tailscale 就可以:"
- "不同 Apple ID、一部在家一部在公司、一部 Mac 一部 Windows 電腦,都沒有問題。"
- "另外它有複製記錄,大檔案也可以按需要拉取。",
- "如果你的兩部 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能已經足夠。",
- ]),
- ("伺服器會看到我複製的內容嗎?", [
- "不會。直連時資料根本不經過伺服器;需要中轉時,伺服器轉發的是經 DTLS 加密的封包。伺服器不儲存帳戶,也不儲存任何複製內容。程式碼是開源的,你可以自己核對。",
- ]),
- ("公司網絡(雙線、多出口)能直連嗎?", [
- "能。這類網絡按目標地址選擇出口,隔空貼會在同一個端口上向多部伺服器探測,取得每個出口的地址後一併發給對方,由對方逐個嘗試。"
- "實測公司 4 個出口與家用寬頻之間可以直連。對方是端口隨機分配的 NAT 時仍會經中轉。",
- ]),
- ("一定要自己準備伺服器嗎?", [
- "不一定。兩部電腦在<a href=\"{lan}\">同一個網絡</a>裏時,安裝好 App 直接配對就可以,不需要伺服器。",
- "跨網絡時有兩種做法:<a href=\"{cloud}\">公網伺服器</a>,最低配置的雲端伺服器已經足夠,在哪裏都能同步;"
- "<a href=\"{ts}\">Tailscale</a>,每部電腦安裝它,配對時輸入對方的 Tailscale 地址,不需要伺服器。"
- "隔空貼不提供公共伺服器,所以任何人的資料都不會經過別人的機器。",
- ]),
- ("家裏沒有公網 IP,能在家和公司之間同步嗎?", [
- "能,有兩種做法。如果有一部公網伺服器,把伺服器部署在上面,家裏和公司的電腦都直接連線到它,見<a href=\"{cloud}\">公網伺服器部署</a>。"
- "沒有的話,每部電腦安裝 Tailscale、登入同一個帳戶,配對時輸入對方的 Tailscale 地址,見<a href=\"{ts}\">Tailscale 教學</a>。",
- ]),
- ("在同一個網絡裏,為甚麼找不到另一部電腦?", [
- "先看兩部是否真的在同一個網段:公司裏的有線和無線網絡、訪客網絡、開啟了「AP 隔離」的 Wi‑Fi 往往互不相通,區域網絡發現無法穿過。"
- "這時在輸入配對碼的那部電腦按「不在同一網段?」,填上另一部電腦配對碼下面顯示的地址。",
- "在 Windows 上,第一次執行時防火牆會詢問,要選擇允許;如果按過取消,可在「設定 → 區域網絡」裏按「允許」。"
- "在 Mac 上,要在「系統設定 → 私隱與保安 → 本地網絡」裏開啟 PasteFerry Daemon。詳情見<a href=\"{lan}#faq\">同一網絡教學</a>。",
- ]),
- ("支援 Windows 和 Linux 嗎?iPhone 呢?", [
- "支援 Windows 10 與 Windows 11(x64),與 Mac 互通。複製的檔案在 Windows 上貼上後就是真實檔案,可以直接貼進檔案總管、微信、Office。",
- "也支援 x64 與 ARM64 的 Linux 桌面:X11,或帶 XWayland 的 Wayland 桌面(GNOME、KDE 等預設都已包含)。複製的檔案可以直接貼進檔案管理員。",
- "暫不支援 iPhone 和 iPad:iOS 不允許 App 在背景監測剪貼簿,做不到複製後即時同步。",
- ]),
- ("為甚麼第一次開啟時系統會阻擋一下?", [
- "隔空貼仍未經 Apple 公證,Windows 版也仍未有程式碼簽署,兩者都需要每年付費的證書。",
- "在 Mac 上,到「系統設定 → 私隱與保安」,按頁面下方的「強制開啟」;在 Windows 上,在「Windows 已保護您的電腦」提示裏按「其他資訊」,再按「仍要執行」。兩者都只需要做一次。",
- ]),
- ("大檔案怎樣處理?", [
- "預設 50 MB 以內的內容在你複製時就會推送到另一部電腦,那邊可以直接貼上;更大的檔案只同步一條記錄,需要時在複製記錄裏按「拉取到本機」再傳送。上限可以在設定裏調整。",
- ]),
- ("免費嗎?公司可以用嗎?", [
- "免費。隔空貼以 GNU AGPL-3.0 開源,個人和公司都可以免費使用和修改。分發它,或透過網絡提供修改過的版本時,需要以同樣的授權公開原始碼。",
- ]),
- ],
+ "faq": [('開啟 UU 遠程時,為甚麼不斷出現 .uuremote_ 檔案?',
+ ['UU 遠程會在系統剪貼簿裏寫入臨時佔位檔案,舊版隔空貼把它們當成普通檔案反覆記錄和轉發。1.3.2 '
+ '會在傳送和接收時過濾已確認的佔位命名,並在啟動時清理純佔位記錄。正常的空檔案、隱藏檔案和大檔案不受此規則影響。50 MB 只決定是否自動傳輸,與 UU 的 UDP P2P '
+ '設定無關。建議兩端都升級;其他軟件如果也同步剪貼簿,仍可能產生普通內容的重複記錄。']),
+ ('和 macOS 內建的「通用剪貼簿」有甚麼分別?',
+ ['Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一帳戶。現在啟用官方服務就能跨網絡同步,無需自行架設伺服器。優先直連,始終端到端加密。',
+ '如果你的兩部 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能已經足夠。']),
+ ('伺服器會看到我複製的內容嗎?',
+ ['伺服器無法解密複製內容:直連時內容不經過中轉伺服器;中轉時轉發端到端加密封包。官方服務保留必要裝置與用量統計,詳見私隱說明。原始碼可供審計,不代表能證明私有正式環境的儲存行為。']),
+ ('公司網絡(雙線、多出口)能直連嗎?',
+ ['能。這類網絡按目標地址選擇出口,隔空貼會在同一個端口上向多部伺服器探測,取得每個出口的地址後一併發給對方,由對方逐個嘗試。實測公司 4 個出口與家用寬頻之間可以直連。對方是端口隨機分配的 NAT '
+ '時仍會經中轉。']),
+ ('一定要自己準備伺服器嗎?',
+ ['不需要。不同網絡時,在兩部電腦上啟用<a href="{official}">官方服務</a>即可,不用購買雲端主機或填寫地址。預設關閉,目前提供每日 100 MB 中轉額度,直連不消耗此額度。區域網絡、<a '
+ 'href="{cloud}">自建伺服器</a>與 <a href="{ts}">Tailscale</a> 繼續可用。']),
+ ('家裏沒有公網 IP,能在家和公司之間同步嗎?',
+ ['不需要。不同網絡時,在兩部電腦上啟用<a href="{official}">官方服務</a>即可,不用購買雲端主機或填寫地址。預設關閉,目前提供每日 100 MB 中轉額度,直連不消耗此額度。區域網絡、<a '
+ 'href="{cloud}">自建伺服器</a>與 <a href="{ts}">Tailscale</a> 繼續可用。']),
+ ('在同一個網絡裏,為甚麼找不到另一部電腦?',
+ ['先看兩部是否真的在同一個網段:公司裏的有線和無線網絡、訪客網絡、開啟了「AP 隔離」的 Wi‑Fi '
+ '往往互不相通,區域網絡發現無法穿過。這時在輸入配對碼的那部電腦按「不在同一網段?」,填上另一部電腦配對碼下面顯示的地址。',
+ '在 Windows 上,第一次執行時防火牆會詢問,要選擇允許;如果按過取消,可在「設定 → 區域網絡」裏按「允許」。在 Mac 上,要在「系統設定 → 私隱與保安 → 本地網絡」裏開啟 PasteFerry '
+ 'Daemon。詳情見<a href="{lan}#faq">同一網絡教學</a>。']),
+ ('支援 Windows 和 Linux 嗎?iPhone 呢?',
+ ['支援 Windows 10 與 Windows 11(x64),與 Mac 互通。複製的檔案在 Windows 上貼上後就是真實檔案,可以直接貼進檔案總管、微信、Office。',
+ '也支援 x64 與 ARM64 的 Linux 桌面:X11,或帶 XWayland 的 Wayland 桌面(GNOME、KDE 等預設都已包含)。複製的檔案可以直接貼進檔案管理員。',
+ '暫不支援 iPhone 和 iPad:iOS 不允許 App 在背景監測剪貼簿,做不到複製後即時同步。']),
+ ('為甚麼第一次開啟時系統會阻擋一下?',
+ ['隔空貼仍未經 Apple 公證,Windows 版也仍未有程式碼簽署,兩者都需要每年付費的證書。',
+ '在 Mac 上,到「系統設定 → 私隱與保安」,按頁面下方的「強制開啟」;在 Windows 上,在「Windows 已保護您的電腦」提示裏按「其他資訊」,再按「仍要執行」。兩者都只需要做一次。']),
+ ('大檔案怎樣處理?', ['預設 50 MB 以內的內容在你複製時就會推送到另一部電腦,那邊可以直接貼上;更大的檔案只同步一條記錄,需要時在複製記錄裏按「拉取到本機」再傳送。上限可以在設定裏調整。']),
+ ('免費嗎?公司可以用嗎?', ['免費。隔空貼以 GNU AGPL-3.0 開源,個人和公司都可以免費使用和修改。分發它,或透過網絡提供修改過的版本時,需要以同樣的授權公開原始碼。']),
+ ('官方中轉不限量嗎?',
+ ['目前預設每機器額度組每日 100 MB '
+ '中轉流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。'])],
"closing": "兩部電腦,一個剪貼簿。",
"source": "在 GitHub 上查看原始碼",
@@ -634,7 +615,7 @@ C = {
"app_alt": "第一次開啟隔空貼:提示「啟用背景同步」",
"server_h2": "選擇一種連線方式",
- "server_intro": "兩部電腦在同一個網絡裏時,甚麼都不用部署。跨網絡時,要靠公網伺服器或 Tailscale 找到彼此,複製的內容不會儲存在上面。",
+ "server_intro": '同一網絡裏裝好就能配對;不同網絡裏,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,按需要選擇。',
"pair_h2": "把兩部電腦配對",
"pair_intro": "每兩部電腦之間配對一次,之後就不用再理會了。",
diff --git a/tools/site/content/zh-tw.py b/tools/site/content/zh-tw.py
index 3edf346..4c3724f 100644
--- a/tools/site/content/zh-tw.py
+++ b/tools/site/content/zh-tw.py
@@ -7,11 +7,9 @@ C = {
"brand": "隔空貼",
"brand_alt": ["PasteFerry", "CopySync"],
"title": "隔空貼 PasteFerry:在 Mac、Windows 與 Linux 之間同步剪貼簿與檔案,跨帳號跨網路",
- "description": "隔空貼讓你在一台電腦上複製,到另一台直接貼上,Mac、Windows、Linux 互通。支援文字、圖片、檔案和資料夾,"
- "不必使用同一個帳號。在同一個網路裡裝好就能用,不需要伺服器;跨網路時可以用自己架設的伺服器或 Tailscale。"
- "裝置之間 P2P 直連、端對端加密。免費開源。",
+ "description": '隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網路同步,無需自建伺服器;優先打洞直連,失敗自動加密中繼。免費開源。',
"og_title": "隔空貼:在這台電腦複製,到那台電腦貼上",
- "og_description": "Mac、Windows、Linux 互通。文字、圖片、檔案、資料夾,跨帳號、跨網路,P2P 直連、端對端加密,同一個網路裡不需要伺服器。免費開源。",
+ "og_description": '隔空貼讓 Mac、Windows、Linux 之間複製貼上文字、圖片、檔案與資料夾。啟用官方服務即可跨網路同步,無需自建伺服器;優先打洞直連,失敗自動加密中繼。免費開源。',
"og_image": "og-zh-hant.png",
"skip": "跳到主要內容",
"home_label": "隔空貼首頁",
@@ -24,8 +22,7 @@ C = {
"lang_label": "語言",
"h1": "在這台電腦複製,<br>到那台電腦貼上。",
- "lede": "Mac、Windows、Linux 互通。文字、圖片、檔案、整個資料夾都可以,不必使用同一個帳號。"
- "在同一個網路裡裝好就能用,不需要伺服器;跨網路也可以。資料在你的裝置之間直接傳輸,端對端加密。",
+ "lede": 'Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一個帳號。現在啟用官方服務就能跨網路同步,無需自行架設伺服器。優先直連,始終端到端加密。',
"dl_button": "下載隔空貼",
"dl_mac": "下載 Mac 版",
"dl_win": "下載 Windows 版",
@@ -42,9 +39,8 @@ C = {
# 快速开始的分页用 name、facts、steps、address、go;安装一节用 name、fit。
# steps 与 address 里的 {lan}、{cloud}、{server}、{ts} 换成对应教程的地址
"paths_h2": "兩台電腦怎麼連起來",
- "paths_intro": "在同一個網路裡,裝好 App 就能直接配對,不需要伺服器。跨網路時,兩台電腦要靠伺服器或 Tailscale 找到彼此,"
- "複製的內容不會存在上面。依你的情況選一種。",
- "paths_after": "拿不定主意?<a href=\"{start}#server\">快速入門</a>裡有三種方式的比較。",
+ "paths_intro": '同一網路裡裝好就能配對;不同網路裡,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,依需求選擇。',
+ "paths_after": '第一次用?跟著<a href="{start}#server">快速開始</a>。官方服務為選用,目前預設每日 100 MB 中繼額度,直連不扣此額度。',
"plans_label": "連線方式",
"plans": {
"lan": {
@@ -65,12 +61,12 @@ C = {
"address": "不需要填伺服器位址。",
},
"cloud": {
- "name": "雲端伺服器",
- "fit": "在哪裡都能同步",
+ "name": '自建公網伺服器',
+ "fit": '自行管理容量與部署',
"summary": "一台有公用 IP 的 Linux 雲端主機,最低規格就夠了。每台電腦直接連到它,在家、在公司、在外面都能用,不必另外安裝軟體。",
"go": "雲端伺服器架設教學 →",
"facts": [
- ("適合", "電腦分散在不同的網路裡,想在哪裡都能同步。跨網路時最省事。"),
+ ("適合", '自行管理容量與部署'),
("要準備", "一台有公用 IP 的 Linux 雲端主機,最低規格就夠,需要 root。"),
("要注意", "雲端主機要花錢。直連打不通時改走中繼,速度受伺服器頻寬限制。用中國大陸的雲端主機、網域又沒有 ICP 備案時,用戶端要填 IP。"),
],
@@ -127,7 +123,7 @@ C = {
("複製後直接貼上,不用點接受", [("yes", "可以"), ("yes", "可以"), ("no", "不行"), ("no", "不行")]),
("檔案與整個資料夾", [("yes", "可以"), ("partial", "不穩定"), ("yes", "可以"), ("partial", "要先壓縮")]),
("找回之前複製過的內容", [("yes", "可以"), ("no", "不行"), ("no", "不行"), ("partial", "翻聊天記錄")]),
- ("內容不經過第三方伺服器", [("yes", "不經過"), ("yes", "不經過"), ("yes", "不經過"), ("no", "經過")]),
+ ('僅自己的裝置可解密內容', [("yes", "不經過"), ("yes", "不經過"), ("yes", "不經過"), ("no", "經過")]),
],
"how_h2": "運作原理",
@@ -226,23 +222,23 @@ C = {
"從「應用程式」裡打開。<span class=\"aside\">第一次會提示「無法驗證開發者」:隔空貼還沒有經過 Apple 公證。"
"到「系統設定 → 隱私權與安全性」,點頁面下方的「強制打開」,只需要這一次。</span>",
"點「啟用背景同步」。系統詢問是否允許讀取剪貼簿、是否允許尋找區域網路上的裝置時,都選擇允許。",
- "跨網路同步時,在「設定」裡填入伺服器位址 <code>ws://伺服器位址:8787/signal</code>,按 Enter;在同一個網路裡不用填。",
+ '跨網路時,在每台電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器位址;也可以繼續自建。',
],
"win_steps": [
"執行 PasteFerry-Setup.exe。它會安裝在目前使用者的目錄下,不需要系統管理員權限。"
"<span class=\"aside\">隔空貼還沒有程式碼簽章,Windows 會提示「Windows 已保護您的電腦」:點「其他資訊」,再點「仍要執行」。"
f"不想執行安裝程式的話,可以下載<a href=\"{REPO}/releases/latest/download/PasteFerry-windows-x64.zip\">免安裝版</a>。</span>",
"打開隔空貼,點「啟用背景同步」。關掉視窗後,它會在右下角的通知區域繼續執行。防火牆詢問時選擇允許。",
- "跨網路同步時,在「設定」裡填入伺服器位址,按 Enter;在同一個網路裡不用填。",
+ '跨網路時,在每台電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器位址;也可以繼續自建。',
],
"linux_steps": [
"Ubuntu、Debian 等發行版下載 .deb,執行 <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>;"
"其他發行版下載 tar.gz,解壓縮後執行 <code>./PasteFerry/install.sh</code>。",
"從應用程式選單打開隔空貼,點「啟用背景同步」。之後它會在登入時自動啟動。",
- "跨網路同步時,在「設定」裡填入伺服器位址,按 Enter;在同一個網路裡不用填。",
+ '跨網路時,在每台電腦的「設定」中開啟「使用官方服務」,無需填寫伺服器位址;也可以繼續自建。',
],
"server_h3": "連線方式",
- "server_intro": "在同一個網路裡不需要伺服器。三種方式依你的情況選一種,每種都有圖文教學:",
+ "server_intro": '同一網路裡裝好就能配對;不同網路裡,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,依需求選擇。',
"server_compare": "比較三種方式",
"copy": "複製",
"copied": "已複製",
@@ -270,56 +266,40 @@ C = {
],
"faq_h2": "常見問題",
- "faq": [
- ("開著 UU 遠端時,為什麼一直出現 .uuremote_ 檔案?", [
- "UU 遠端會在系統剪貼簿裡寫入暫時的佔位檔案,舊版隔空貼把它們當成一般檔案,反覆記錄和轉送。1.3.2 在傳送和接收時會過濾已確認的佔位檔名,啟動時清除只含佔位檔案的記錄。正常的空檔案、隱藏檔案和大檔案不受這條規則影響。50 MB 只決定是否自動傳輸,與 UU 的 UDP P2P 設定無關。建議兩端都更新;其他軟體如果也會同步剪貼簿,仍可能產生一般內容的重複記錄。",
- ]),
- ("和 macOS 內建的「通用剪貼板」有什麼不同?", [
- "通用剪貼板要求兩台裝置登入同一個 Apple ID、開著藍牙和 Wi‑Fi,而且距離要近,也只能在 Apple 裝置之間使用。"
- "隔空貼在同一個網路裡裝好就能用;跨網路時,只要兩台電腦都能連上你架設的伺服器,或都裝了 Tailscale 就行:"
- "不同 Apple ID、一台在家一台在公司、一台 Mac 一台 Windows,都可以。"
- "另外它有複製記錄,大檔案也可以依需要再拉取。",
- "如果你的兩台 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能就夠用了。",
- ]),
- ("伺服器會看到我複製的內容嗎?", [
- "不會。直連時資料根本不經過伺服器;需要中繼時,伺服器轉送的是 DTLS 加密後的封包。伺服器不存帳號,也不存任何複製的內容。程式碼是開源的,可以自己檢查。",
- ]),
- ("公司網路(雙線路、多出口)能直連嗎?", [
- "可以。這類網路依目的位址選擇出口,隔空貼會在同一個連接埠上向多台伺服器偵測,拿到每個出口的位址後一起傳給對方,由對方逐一嘗試。"
- "實測公司的 4 個出口與家用寬頻之間可以直連。對方是連接埠隨機分配的 NAT 時,仍會走中繼。",
- ]),
- ("一定要自己準備伺服器嗎?", [
- "不一定。兩台電腦在<a href=\"{lan}\">同一個網路</a>裡時,裝好 App 直接配對就行,不需要伺服器。",
- "跨網路時有兩種做法:<a href=\"{cloud}\">雲端伺服器</a>,最低規格的雲端主機就夠,在哪裡都能同步;"
- "<a href=\"{ts}\">Tailscale</a>,每台電腦裝上它,配對時輸入對方的 Tailscale 位址,不需要伺服器。"
- "隔空貼不提供公共伺服器,所以任何人的資料都不會經過別人的機器。",
- ]),
- ("家裡沒有公用 IP,能在家和公司之間同步嗎?", [
- "可以,有兩種做法。如果有一台具備公用 IP 的伺服器,就把伺服器架在上面,家裡和公司的電腦都直接連它,見<a href=\"{cloud}\">雲端伺服器架設</a>。"
- "沒有的話,每台電腦裝上 Tailscale、登入同一個帳號,配對時輸入對方的 Tailscale 位址,見<a href=\"{ts}\">Tailscale 教學</a>。",
- ]),
- ("在同一個網路裡,為什麼找不到另一台?", [
- "先確認兩台是不是真的在同一個網段:公司裡的有線和無線、訪客網路、開了「AP 隔離」的 Wi‑Fi 常常互不相通,區域網路探索過不去。"
- "這時在輸入配對碼的那台點「不在同一網段?」,填上另一台配對碼下方顯示的位址。",
- "在 Windows 上,第一次執行時防火牆會詢問,要選擇允許;如果按過取消,到「設定 → 區域網路」裡點「允許」。"
- "在 Mac 上,要到「系統設定 → 隱私權與安全性 → 本機網路」裡開啟 PasteFerry Daemon。更多說明見<a href=\"{lan}#faq\">同一網路教學</a>。",
- ]),
- ("支援 Windows 和 Linux 嗎?iPhone 呢?", [
- "支援 Windows 10 與 Windows 11(x64),與 Mac 互通。複製的檔案在 Windows 上貼上後就是真正的檔案,能直接貼進檔案總管、WeChat、Office。",
- "也支援 x64 與 ARM64 的 Linux 桌面:X11,或附有 XWayland 的 Wayland 桌面(GNOME、KDE 等預設都有)。複製的檔案能直接貼進檔案管理員。",
- "暫不支援 iPhone 和 iPad:iOS 不允許 App 在背景監聽剪貼簿,做不到複製後立即同步。",
- ]),
- ("為什麼第一次打開時系統會擋一下?", [
- "隔空貼還沒有經過 Apple 公證,Windows 版也還沒有程式碼簽章,兩者都需要每年付費購買的憑證。",
- "在 Mac 上,到「系統設定 → 隱私權與安全性」,點頁面下方的「強制打開」;在 Windows 上,在「Windows 已保護您的電腦」提示裡點「其他資訊」,再點「仍要執行」。都只需要這一次。",
- ]),
- ("大檔案怎麼處理?", [
- "預設 50 MB 以內的內容,在你複製時就推送到另一台電腦,那邊可以直接貼上;更大的檔案只同步一筆記錄,需要時在複製記錄裡點「拉取到本機」再傳。上限可以在設定裡調整。",
- ]),
- ("免費嗎?公司能用嗎?", [
- "免費。隔空貼以 GNU AGPL-3.0 授權開源,個人和公司都可以免費使用和修改。散布它,或透過網路提供修改過的版本時,需要以同樣的授權公開原始碼。",
- ]),
- ],
+ "faq": [('開著 UU 遠端時,為什麼一直出現 .uuremote_ 檔案?',
+ ['UU 遠端會在系統剪貼簿裡寫入暫時的佔位檔案,舊版隔空貼把它們當成一般檔案,反覆記錄和轉送。1.3.2 '
+ '在傳送和接收時會過濾已確認的佔位檔名,啟動時清除只含佔位檔案的記錄。正常的空檔案、隱藏檔案和大檔案不受這條規則影響。50 MB 只決定是否自動傳輸,與 UU 的 UDP P2P '
+ '設定無關。建議兩端都更新;其他軟體如果也會同步剪貼簿,仍可能產生一般內容的重複記錄。']),
+ ('和 macOS 內建的「通用剪貼板」有什麼不同?',
+ ['Mac、Windows、Linux 互通,文字、圖片、檔案、整個資料夾都可以,不要求同一個帳號。現在啟用官方服務就能跨網路同步,無需自行架設伺服器。優先直連,始終端到端加密。',
+ '如果你的兩台 Mac 用同一個 Apple ID、總是放在一起、主要複製文字,系統內建的功能就夠用了。']),
+ ('伺服器會看到我複製的內容嗎?',
+ ['伺服器無法解密複製內容:直連時內容不經過中繼伺服器;中繼時轉送端到端加密封包。官方服務保留必要裝置與用量統計,詳見隱私說明。原始碼可供稽核,不代表能證明私有正式環境的儲存行為。']),
+ ('公司網路(雙線路、多出口)能直連嗎?',
+ ['可以。這類網路依目的位址選擇出口,隔空貼會在同一個連接埠上向多台伺服器偵測,拿到每個出口的位址後一起傳給對方,由對方逐一嘗試。實測公司的 4 個出口與家用寬頻之間可以直連。對方是連接埠隨機分配的 NAT '
+ '時,仍會走中繼。']),
+ ('一定要自己準備伺服器嗎?',
+ ['不需要。不同網路時,在兩台電腦上啟用<a href="{official}">官方服務</a>即可,不需購買雲端主機或填寫位址。預設關閉,目前提供每日 100 MB 中繼額度,直連不消耗此額度。區域網路、<a '
+ 'href="{cloud}">自建伺服器</a>與 <a href="{ts}">Tailscale</a> 繼續可用。']),
+ ('家裡沒有公用 IP,能在家和公司之間同步嗎?',
+ ['不需要。不同網路時,在兩台電腦上啟用<a href="{official}">官方服務</a>即可,不需購買雲端主機或填寫位址。預設關閉,目前提供每日 100 MB 中繼額度,直連不消耗此額度。區域網路、<a '
+ 'href="{cloud}">自建伺服器</a>與 <a href="{ts}">Tailscale</a> 繼續可用。']),
+ ('在同一個網路裡,為什麼找不到另一台?',
+ ['先確認兩台是不是真的在同一個網段:公司裡的有線和無線、訪客網路、開了「AP 隔離」的 Wi‑Fi 常常互不相通,區域網路探索過不去。這時在輸入配對碼的那台點「不在同一網段?」,填上另一台配對碼下方顯示的位址。',
+ '在 Windows 上,第一次執行時防火牆會詢問,要選擇允許;如果按過取消,到「設定 → 區域網路」裡點「允許」。在 Mac 上,要到「系統設定 → 隱私權與安全性 → 本機網路」裡開啟 PasteFerry '
+ 'Daemon。更多說明見<a href="{lan}#faq">同一網路教學</a>。']),
+ ('支援 Windows 和 Linux 嗎?iPhone 呢?',
+ ['支援 Windows 10 與 Windows 11(x64),與 Mac 互通。複製的檔案在 Windows 上貼上後就是真正的檔案,能直接貼進檔案總管、WeChat、Office。',
+ '也支援 x64 與 ARM64 的 Linux 桌面:X11,或附有 XWayland 的 Wayland 桌面(GNOME、KDE 等預設都有)。複製的檔案能直接貼進檔案管理員。',
+ '暫不支援 iPhone 和 iPad:iOS 不允許 App 在背景監聽剪貼簿,做不到複製後立即同步。']),
+ ('為什麼第一次打開時系統會擋一下?',
+ ['隔空貼還沒有經過 Apple 公證,Windows 版也還沒有程式碼簽章,兩者都需要每年付費購買的憑證。',
+ '在 Mac 上,到「系統設定 → 隱私權與安全性」,點頁面下方的「強制打開」;在 Windows 上,在「Windows 已保護您的電腦」提示裡點「其他資訊」,再點「仍要執行」。都只需要這一次。']),
+ ('大檔案怎麼處理?', ['預設 50 MB 以內的內容,在你複製時就推送到另一台電腦,那邊可以直接貼上;更大的檔案只同步一筆記錄,需要時在複製記錄裡點「拉取到本機」再傳。上限可以在設定裡調整。']),
+ ('免費嗎?公司能用嗎?', ['免費。隔空貼以 GNU AGPL-3.0 授權開源,個人和公司都可以免費使用和修改。散布它,或透過網路提供修改過的版本時,需要以同樣的授權公開原始碼。']),
+ ('官方中繼不限量嗎?',
+ ['目前預設每機器額度組每日 100 MB '
+ '中繼流量,上傳與下載合計,北京時間午夜重設。重新安裝不保證獲得新額度。用量頁顯示實際額度、剩餘量與更新時間;額度用完仍可直連。額度與服務可用性可能調整,以用戶端顯示為準。'])],
"closing": "兩台電腦,一個剪貼簿。",
"source": "在 GitHub 上檢視原始碼",
@@ -634,7 +614,7 @@ C = {
"app_alt": "第一次打開隔空貼:提示啟用後台同步",
"server_h2": "選擇一種連線方式",
- "server_intro": "兩台電腦在同一個網路裡時,什麼都不用架設。跨網路時,要靠雲端伺服器或 Tailscale 找到彼此,複製的內容不會存在上面。",
+ "server_intro": '同一網路裡裝好就能配對;不同網路裡,啟用官方服務即可,無需自建。也保留自建伺服器與 Tailscale,依需求選擇。',
"pair_h2": "把兩台電腦配對",
"pair_intro": "每兩台電腦之間配對一次,之後就不用再管了。",
diff --git a/tools/site/content/zh.py b/tools/site/content/zh.py
index 1ccf105..0ac83bd 100644
--- a/tools/site/content/zh.py
+++ b/tools/site/content/zh.py
@@ -7,11 +7,9 @@ C = {
"brand": "隔空贴",
"brand_alt": ["PasteFerry", "CopySync"],
"title": "隔空贴 PasteFerry:在 Mac、Windows 与 Linux 之间同步剪贴板与文件,跨账号跨网络",
- "description": "隔空贴让你在一台电脑上复制,另一台上直接粘贴,Mac、Windows、Linux 互通。支持文本、图片、文件和文件夹,"
- "不要求同一个账号。同一个网络里装好就能用,不需要服务器;跨网络时用自己部署的服务器或 Tailscale。"
- "设备间 P2P 直连、端到端加密。免费开源。",
+ "description": '隔空贴让 Mac、Windows、Linux 之间复制粘贴文字、图片、文件和文件夹。开启官方服务即可跨网络同步,无需自建服务器;优先打洞直连,失败自动加密中转。免费开源。',
"og_title": "隔空贴:在这台电脑复制,到那台电脑粘贴",
- "og_description": "Mac、Windows、Linux 互通。文本、图片、文件、文件夹,跨账号、跨网络,P2P 直连、端到端加密,同一网络里不需要服务器。免费开源。",
+ "og_description": '隔空贴让 Mac、Windows、Linux 之间复制粘贴文字、图片、文件和文件夹。开启官方服务即可跨网络同步,无需自建服务器;优先打洞直连,失败自动加密中转。免费开源。',
"og_image": "og.png",
"skip": "跳到正文",
"home_label": "隔空贴首页",
@@ -24,8 +22,7 @@ C = {
"lang_label": "语言",
"h1": "在这台电脑复制,<br>到那台电脑粘贴。",
- "lede": "Mac、Windows、Linux 互通。文本、图片、文件、整个文件夹都可以,不要求同一个账号。"
- "同一个网络里装好就能用,不需要服务器;跨网络也可以。数据在你的设备之间直接传输,端到端加密。",
+ "lede": 'Mac、Windows、Linux 互通,文字、图片、文件、整个文件夹都可以,不要求同一个账号。现在开启官方服务就能跨网络同步,无需自己搭服务器。优先直连,始终端到端加密。',
"dl_button": "下载隔空贴",
"dl_mac": "下载 Mac 版",
"dl_win": "下载 Windows 版",
@@ -42,9 +39,8 @@ C = {
# 快速开始的分页用 name、facts、steps、address、go;安装一节用 name、fit。
# steps 与 address 里的 {lan}、{cloud}、{server}、{ts} 换成对应教程的地址
"paths_h2": "两台电脑怎么连起来",
- "paths_intro": "在同一个网络里,装好 App 就能直接配对,不需要服务器。跨网络时,两台电脑要靠服务器或 Tailscale 找到彼此,"
- "复制的内容不会存在上面。按你的情况选一种。",
- "paths_after": "拿不准?<a href=\"{start}#server\">快速开始</a>里有三种方式的对比。",
+ "paths_intro": '同一网络里装好就能配对;不同网络里,开启官方服务即可,无需自建。也保留自建服务器与 Tailscale,按你的需要选择。',
+ "paths_after": '第一次用?跟着<a href="{start}#server">快速开始</a>。官方服务可选,当前默认每日 100 MB 中转额度,直连不扣此额度。',
"plans_label": "连接方式",
"plans": {
"lan": {
@@ -65,12 +61,12 @@ C = {
"address": "不需要填服务器地址。",
},
"cloud": {
- "name": "公网服务器",
- "fit": "在哪儿都能同步",
+ "name": '自建公网服务器',
+ "fit": '自己管理容量与部署',
"summary": "一台有公网 IP 的 Linux 云主机,最低配置就够。每台电脑直接连它,在家、在公司、在外面都能用,不用另装软件。",
"go": "公网服务器部署教程 →",
"facts": [
- ("适合", "电脑分散在不同的网络里,想在哪儿都能同步。跨网络时最省心。"),
+ ("适合", '自己管理容量与部署'),
("要准备", "一台有公网 IP 的 Linux 云主机,最低配置就够,需要 root。"),
("要注意", "云主机要花钱。打不通直连时走中转,速度受服务器带宽限制。国内域名没有备案时,客户端要填 IP。"),
],
@@ -127,7 +123,7 @@ C = {
("复制后直接粘贴,不用点接收", [("yes", "可以"), ("yes", "可以"), ("no", "不行"), ("no", "不行")]),
("文件与整个文件夹", [("yes", "可以"), ("partial", "不稳定"), ("yes", "可以"), ("partial", "要先打包")]),
("找回之前复制过的内容", [("yes", "可以"), ("no", "不行"), ("no", "不行"), ("partial", "翻聊天记录")]),
- ("内容不经过第三方服务器", [("yes", "不经过"), ("yes", "不经过"), ("yes", "不经过"), ("no", "经过")]),
+ ('仅自己的设备可解密内容', [("yes", "不经过"), ("yes", "不经过"), ("yes", "不经过"), ("no", "经过")]),
],
"how_h2": "工作原理",
@@ -226,23 +222,23 @@ C = {
"从「应用程序」里打开。<span class=\"aside\">第一次会提示「无法验证开发者」:隔空贴还没有经过 Apple 公证。"
"到「系统设置 → 隐私与安全性」,点页面下方的「仍要打开」,只需要这一次。</span>",
"点「启用后台同步」。系统询问是否允许读取剪贴板、能否查找本地网络上的设备时,都选择允许。",
- "跨网络同步时,在「设置」里填入服务器地址 <code>ws://服务器地址:8787/signal</code>,按回车;同一个网络里不用填。",
+ '跨网络时,在每台电脑的「设置」中开启「使用官方服务」,无需填写服务器地址;也可以继续自建。',
],
"win_steps": [
"运行 PasteFerry-Setup.exe。装在当前用户目录下,不需要管理员权限。"
"<span class=\"aside\">隔空贴还没有代码签名,Windows 会提示「Windows 已保护你的电脑」:点「更多信息」,再点「仍要运行」。"
f"不想运行安装程序的话,可以下载<a href=\"{REPO}/releases/latest/download/PasteFerry-windows-x64.zip\">便携版</a>。</span>",
"打开隔空贴,点「启用后台同步」。关掉窗口后它在右下角的托盘里继续运行。防火墙询问时选择允许。",
- "跨网络同步时,在「设置」里填入服务器地址,按回车;同一个网络里不用填。",
+ '跨网络时,在每台电脑的「设置」中开启「使用官方服务」,无需填写服务器地址;也可以继续自建。',
],
"linux_steps": [
"Ubuntu、Debian 等下载 .deb,运行 <code>sudo apt install ./PasteFerry-linux-amd64.deb</code>;"
"其他发行版下载 tar.gz,解压后运行 <code>./PasteFerry/install.sh</code>。",
"从应用菜单里打开隔空贴,点「启用后台同步」。之后它随登录自动启动。",
- "跨网络同步时,在「设置」里填入服务器地址,按回车;同一个网络里不用填。",
+ '跨网络时,在每台电脑的「设置」中开启「使用官方服务」,无需填写服务器地址;也可以继续自建。',
],
"server_h3": "连接方式",
- "server_intro": "同一个网络里不需要服务器。三种方式按你的情况选一种,每种都有图文教程:",
+ "server_intro": '同一网络里装好就能配对;不同网络里,开启官方服务即可,无需自建。也保留自建服务器与 Tailscale,按你的需要选择。',
"server_compare": "对比三种方式",
"copy": "复制",
"copied": "已复制",
@@ -270,56 +266,38 @@ C = {
],
"faq_h2": "常见问题",
- "faq": [
- ("UU 远程开启时,为什么不断出现 .uuremote_ 文件?", [
- "UU 远程会在系统剪贴板里写入临时占位文件,旧版隔空贴把它们当成普通文件反复记录和转发。1.3.2 在发送和接收时过滤已确认的占位命名,启动时清理纯占位记录。正常空文件、隐藏文件和大文件不受此规则影响。50 MB 只决定是否自动传输,与 UU 的 UDP P2P 设置无关。建议两端都升级;其他软件如果也同步剪贴板,仍可能产生普通内容的重复记录。",
- ]),
- ("和 macOS 自带的「通用剪贴板」有什么区别?", [
- "通用剪贴板要求两台设备登录同一个 Apple ID、开着蓝牙和 Wi‑Fi,并且离得近,也只能在苹果设备之间用。"
- "隔空贴在同一个网络里装好就能用;跨网络时,两台电脑能连上你部署的服务器、或者都装了 Tailscale 就行:"
- "不同 Apple ID、一台在家一台在公司、一台 Mac 一台 Windows,都可以。"
- "另外它有复制记录,大文件也可以按需拉取。",
- "如果你的两台 Mac 是同一个 Apple ID、总在一起、主要复制文字,系统自带的已经够用了。",
- ]),
- ("服务器会看到我复制的内容吗?", [
- "不会。直连时数据根本不经过服务器;需要中转时,服务器转发的是 DTLS 加密后的数据包。服务器不存账号,也不存任何复制内容。代码是开源的,可以自己核对。",
- ]),
- ("公司网络(双线、多出口)能直连吗?", [
- "能。这类网络按目标地址选出口,隔空贴会在同一个端口上向多台服务器探测,拿到每个出口的地址一并发给对端,对端逐个尝试。"
- "实测公司 4 个出口与家用宽带之间可以直连。对端是端口随机分配的 NAT 时仍会走中转。",
- ]),
- ("必须自己准备服务器吗?", [
- "不一定。两台电脑在<a href=\"{lan}\">同一个网络</a>里时,装好 App 直接配对就行,不需要服务器。",
- "跨网络时有两种做法:<a href=\"{cloud}\">公网服务器</a>,最低配置的云主机就够,在哪儿都能同步;"
- "<a href=\"{ts}\">Tailscale</a>,每台电脑装上它,配对时输入对方的 Tailscale 地址,不需要服务器。"
- "隔空贴不提供公共服务器,所以不会有任何人的数据经过别人的机器。",
- ]),
- ("家里没有公网 IP,能在家和公司之间同步吗?", [
- "能,有两种做法。有一台公网服务器的话,把服务器部署在上面,家里和公司的电脑都直接连它,见<a href=\"{cloud}\">公网服务器部署</a>。"
- "没有的话,每台电脑装上 Tailscale、登录同一个账号,配对时输入对方的 Tailscale 地址,见<a href=\"{ts}\">Tailscale 教程</a>。",
- ]),
- ("在同一个网络里,为什么找不到另一台?", [
- "先看两台是不是真的在同一个网段:公司里有线和无线、访客网络、开了「AP 隔离」的 Wi‑Fi 常常不互通,局域网发现过不去。"
- "这时在输入配对码的那台点「不在同一网段?」,填上另一台配对码下面显示的地址。",
- "Windows 上,第一次运行时防火墙会询问,要选允许;点过取消的话,在「设置 → 局域网」里点「放行」。"
- "Mac 上,要在「系统设置 → 隐私与安全性 → 本地网络」里打开 PasteFerry Daemon。更多见<a href=\"{lan}#faq\">同一网络教程</a>。",
- ]),
- ("支持 Windows 和 Linux 吗?iPhone 呢?", [
- "支持 Windows 10 与 Windows 11(x64),与 Mac 互通。复制的文件在 Windows 上粘贴出来就是真实文件,能直接粘进资源管理器、微信、Office。",
- "也支持 x64 与 ARM64 的 Linux 桌面:X11,或者带 XWayland 的 Wayland 桌面(GNOME、KDE 等默认都带)。复制的文件能直接粘进文件管理器。",
- "iPhone 和 iPad 暂不支持:iOS 不允许 App 在后台监听剪贴板,做不到复制后立即同步。",
- ]),
- ("为什么第一次打开时系统会拦一下?", [
- "隔空贴还没有经过 Apple 公证,Windows 版也还没有代码签名,两者都需要每年付费的证书。",
- "Mac 上到「系统设置 → 隐私与安全性」,点页面下方的「仍要打开」;Windows 上在「Windows 已保护你的电脑」提示里点「更多信息」,再点「仍要运行」。都只需要这一次。",
- ]),
- ("大文件怎么处理?", [
- "默认 50 MB 以内的内容在你复制时就推送到另一台电脑,那边可以直接粘贴;更大的文件只同步一条记录,需要时在复制记录里点「拉取到本机」再传。上限可以在设置里调整。",
- ]),
- ("免费吗?公司能用吗?", [
- "免费。隔空贴以 GNU AGPL-3.0 开源,个人和公司都可以免费使用和修改。分发它、或通过网络提供修改过的版本时,需要以同样的许可公开源码。",
- ]),
- ],
+ "faq": [('UU 远程开启时,为什么不断出现 .uuremote_ 文件?',
+ ['UU 远程会在系统剪贴板里写入临时占位文件,旧版隔空贴把它们当成普通文件反复记录和转发。1.3.2 在发送和接收时过滤已确认的占位命名,启动时清理纯占位记录。正常空文件、隐藏文件和大文件不受此规则影响。50 '
+ 'MB 只决定是否自动传输,与 UU 的 UDP P2P 设置无关。建议两端都升级;其他软件如果也同步剪贴板,仍可能产生普通内容的重复记录。']),
+ ('和 macOS 自带的「通用剪贴板」有什么区别?',
+ ['Mac、Windows、Linux 互通,文字、图片、文件、整个文件夹都可以,不要求同一个账号。现在开启官方服务就能跨网络同步,无需自己搭服务器。优先直连,始终端到端加密。',
+ '如果你的两台 Mac 是同一个 Apple ID、总在一起、主要复制文字,系统自带的已经够用了。']),
+ ('服务器会看到我复制的内容吗?',
+ ['服务器无法解密复制内容:直连时内容不经过中转服务器;中转时转发的是端到端加密数据包。官方服务保留必要设备与用量统计,详见隐私说明。客户端和服务器源码公开,但源码可审计不等于对私有生产存储行为的证明。']),
+ ('公司网络(双线、多出口)能直连吗?',
+ ['能。这类网络按目标地址选出口,隔空贴会在同一个端口上向多台服务器探测,拿到每个出口的地址一并发给对端,对端逐个尝试。实测公司 4 个出口与家用宽带之间可以直连。对端是端口随机分配的 NAT 时仍会走中转。']),
+ ('必须自己准备服务器吗?',
+ ['不需要。不同网络时,在两台电脑上开启<a href="{official}">官方服务</a>即可,不用购买云主机或填写地址。默认关闭,当前提供每日 100 MB 中转额度,直连不消耗此额度。局域网、<a '
+ 'href="{cloud}">自建服务器</a>与 <a href="{ts}">Tailscale</a> 继续可用。']),
+ ('家里没有公网 IP,能在家和公司之间同步吗?',
+ ['不需要。不同网络时,在两台电脑上开启<a href="{official}">官方服务</a>即可,不用购买云主机或填写地址。默认关闭,当前提供每日 100 MB 中转额度,直连不消耗此额度。局域网、<a '
+ 'href="{cloud}">自建服务器</a>与 <a href="{ts}">Tailscale</a> 继续可用。']),
+ ('在同一个网络里,为什么找不到另一台?',
+ ['先看两台是不是真的在同一个网段:公司里有线和无线、访客网络、开了「AP 隔离」的 Wi‑Fi 常常不互通,局域网发现过不去。这时在输入配对码的那台点「不在同一网段?」,填上另一台配对码下面显示的地址。',
+ 'Windows 上,第一次运行时防火墙会询问,要选允许;点过取消的话,在「设置 → 局域网」里点「放行」。Mac 上,要在「系统设置 → 隐私与安全性 → 本地网络」里打开 PasteFerry '
+ 'Daemon。更多见<a href="{lan}#faq">同一网络教程</a>。']),
+ ('支持 Windows 和 Linux 吗?iPhone 呢?',
+ ['支持 Windows 10 与 Windows 11(x64),与 Mac 互通。复制的文件在 Windows 上粘贴出来就是真实文件,能直接粘进资源管理器、微信、Office。',
+ '也支持 x64 与 ARM64 的 Linux 桌面:X11,或者带 XWayland 的 Wayland 桌面(GNOME、KDE 等默认都带)。复制的文件能直接粘进文件管理器。',
+ 'iPhone 和 iPad 暂不支持:iOS 不允许 App 在后台监听剪贴板,做不到复制后立即同步。']),
+ ('为什么第一次打开时系统会拦一下?',
+ ['隔空贴还没有经过 Apple 公证,Windows 版也还没有代码签名,两者都需要每年付费的证书。',
+ 'Mac 上到「系统设置 → 隐私与安全性」,点页面下方的「仍要打开」;Windows 上在「Windows 已保护你的电脑」提示里点「更多信息」,再点「仍要运行」。都只需要这一次。']),
+ ('大文件怎么处理?', ['默认 50 MB 以内的内容在你复制时就推送到另一台电脑,那边可以直接粘贴;更大的文件只同步一条记录,需要时在复制记录里点「拉取到本机」再传。上限可以在设置里调整。']),
+ ('免费吗?公司能用吗?', ['免费。隔空贴以 GNU AGPL-3.0 开源,个人和公司都可以免费使用和修改。分发它、或通过网络提供修改过的版本时,需要以同样的许可公开源码。']),
+ ('官方中转无限量吗?',
+ ['当前默认每机器额度组每日 100 MB '
+ '中转流量,上传与下载合计,北京时间零点重置。重新安装不会保证获得新额度。用量页显示实际额度、剩余量与更新时间;额度用尽仍可直连。额度与服务可用性可能调整,以客户端显示为准。'])],
"closing": "两台电脑,一个剪贴板。",
"source": "在 GitHub 上查看源码",
@@ -634,7 +612,7 @@ C = {
"app_alt": "第一次打开隔空贴:提示启用后台同步",
"server_h2": "选一种连接方式",
- "server_intro": "两台电脑在同一个网络里时,什么都不用部署。跨网络时,要靠公网服务器或 Tailscale 找到彼此,复制的内容不会存在上面。",
+ "server_intro": '同一网络里装好就能配对;不同网络里,开启官方服务即可,无需自建。也保留自建服务器与 Tailscale,按你的需要选择。',
"pair_h2": "把两台电脑配对",
"pair_intro": "每两台电脑之间配对一次,之后就不用再管了。",
diff --git a/ui/tool/screenshots/screenshots_test.dart b/ui/tool/screenshots/screenshots_test.dart
index aefbbb4..82cb0ff 100644
--- a/ui/tool/screenshots/screenshots_test.dart
+++ b/ui/tool/screenshots/screenshots_test.dart
@@ -122,7 +122,7 @@ AppState _demo({LinkState link = LinkState.online,
serviceState: service,
pendingPairing: pending,
status: Status(
- version: '2.0.0',
+ version: '2.1.0',
deviceName: 'MacBook Pro',
signalingConnected: link == LinkState.online && server.isNotEmpty,
serverConfigured: server.isNotEmpty,
@@ -362,6 +362,42 @@ void main() {
await _shoot(tester, 'settings', state: _demo(), section: Section.settings);
});
+ AppState officialDemo() {
+ final state = _demo();
+ final bjt = _now.toUtc().add(const Duration(hours: 8));
+ final reset = DateTime.utc(bjt.year, bjt.month, bjt.day + 1).subtract(const Duration(hours: 8));
+ state.debugSeed(
+ status: state.status!.deepCopy()
+ ..deviceId = 'demo-device-7k2m9q4v'
+ ..officialUsage = OfficialUsage(
+ available: true,
+ uploadBytes: Int64(12340000),
+ downloadBytes: Int64(7660000),
+ limitBytes: Int64(100000000),
+ remainingBytes: Int64(80000000),
+ updatedAtUnix: Int64(_now.millisecondsSinceEpoch ~/ 1000),
+ resetAtUnix: Int64(reset.millisecondsSinceEpoch ~/ 1000),
+ ),
+ config: state.config!.deepCopy()
+ ..serviceMode = ServiceMode.SERVICE_MODE_OFFICIAL
+ ..signalingUrl = '',
+ self: state.self!,
+ peers: state.peers,
+ records: state.records,
+ );
+ return state;
+ }
+
+ testWidgets('official-settings-dark', (tester) async {
+ await _shoot(tester, 'official-settings-dark', state: officialDemo(),
+ section: Section.settings, brightness: Brightness.dark);
+ });
+
+ testWidgets('official-usage-dark', (tester) async {
+ await _shoot(tester, 'official-usage-dark', state: officialDemo(),
+ section: Section.official, brightness: Brightness.dark);
+ });
+
// 网站「在局域网里部署服务器」:服务器地址填局域网 IP,已连接
testWidgets('settings-lan-dark', (tester) async {
await _shoot(tester, 'settings-lan-dark',