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.
Dart airdrop-alternativeclipboardclipboard-sharingclipboard-synccopy-pastecross-platformend-to-end-encryptionfile-syncfile-transferfluttergolanglinuxmacosnat-traversalp2pself-hostedtailscaleuniversal-clipboardwebrtcwindows
docs(site): announce phone support and add usage guides
baiyuzeb06d34d85b45
diff --git a/docs/en/features/index.html b/docs/en/features/index.htmlindex 823c987..4175bb4 100644--- a/docs/en/features/index.html+++ b/docs/en/features/index.html@@ -147,6 +147,20 @@</div></section>+ <section class="f-section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <p class="kicker"><span class="new">New in 2.6</span></p>+ <h2 class="f-h2" id="phone-title">Your phone joins in.</h2>+ <p class="f-intro">The computer shows a code. Scan it and the phone’s browser lists everything you copied: copy a text to the phone, send photos and files back. There is an Android app too, pairing like another computer.</p>+ <ul class="facts">+ <li><h3>The web page, nothing to install</h3><p>Opens in the phone’s browser: records, copy, send.</p></li>+ <li><h3>An Android app</h3><p>Pairs like another computer; what the computer copies lands in the phone’s clipboard.</p></li>+ <li><h3>Encrypted, same network only</h3><p>End-to-end encrypted between the phone and the computer.</p></li>+ </ul>+ <p class="f-note">There is no iPhone or iPad app: iOS does not let apps read the clipboard in the background, and distributing one needs a certificate. Those devices use the web page.</p>+ </div>+ </section>+<section class="f-section qp" id="quick-paste" aria-labelledby="qp-title"><div class="wrap"><h2 class="f-h2" id="qp-title">Press <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span>.<br>Your history, right where you’re typing.</h2>diff --git a/docs/en/index.html b/docs/en/index.htmlindex e53e39a..a8bd541 100644--- a/docs/en/index.html+++ b/docs/en/index.html@@ -139,9 +139,9 @@<main id="main"><section class="hero"><div class="wrap">- <a class="release-note" href="features/#friends">New in 2.6: send files to contacts →</a>+ <a class="release-note" href="features/#friends">New in 2.7: sync with your phone, and an Android app →</a><h1 class="display">Copy on this computer.<br>Paste on that one.</h1>- <p class="lede">Mac, Windows or Linux, no shared account needed. Text, screenshots, files and folders, plus sending files to friends.</p>+ <p class="lede">Mac, Windows, Linux and Android, no shared account needed. Text, screenshots and files; a phone joins in by scanning a code — nothing to install.</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>@@ -187,6 +187,19 @@</div></section>+ <section class="section spotlight" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">Your phone joins in.</h2>+ <p class="intro">The computer shows a code; scan it and the phone’s browser lists everything you copied: copy one to the phone, send photos and files back. An app is there if you want it, but you don’t need one.</p>+ <ul class="points">+ <li><b>Works in the phone’s browser</b>, nothing to install.</li>+ <li><b>An Android app is out</b>, pairing like another computer.</li>+ <li><b>Encrypted end to end</b>, same network only.</li>+ </ul>+ <p class="more"><a href="features/#phone">How to use the phone →</a></p>+ </div>+ </section>+<section class="section spotlight" id="send" aria-labelledby="send-title"><div class="wrap"><h2 id="send-title">Drag it over.<br>It’s there.</h2>diff --git a/docs/en/start/index.html b/docs/en/start/index.htmlindex fc3fe32..7e2c728 100644--- a/docs/en/start/index.html+++ b/docs/en/start/index.html@@ -84,6 +84,7 @@<li><a href="#app">Install the app</a></li><li><a href="#server">Pick a way to connect</a></li><li><a href="#pair">Pair</a></li>+ <li><a href="#phone">Using a phone</a></li></ol></div></section>@@ -258,6 +259,30 @@</div></section>+ <section class="section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">Using a phone</h2>+ <p class="intro">Once the computers are paired above, a phone can join any time: scan a code for the web page, or install the Android app.</p>+ <div class="os-grid qs-grid">+ <div>+ <h3>The web page: nothing to install</h3>+ <ol class="steps">+ <li>Computer: open Devices › Phone web transfer, turn the switch on, and a code appears.</li>+ <li>Phone: scan the code with the camera or a browser and give the phone a name.</li>+ <li>The phone’s browser then shows the computer’s records: tap Copy to take a text to the phone, or use Send to push text, photos and files to the computer.</li>+ </ol>+ <h3>The Android app: pairs like another computer</h3>+ <ol class="steps">+ <li>Phone: <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.7.2/PasteFerry-android-arm64.apk">download the APK</a> and install it (allow installing from unknown sources when asked).</li>+ <li>Computer: Devices → Add device → Show a code.</li>+ <li>Phone: enter the code and confirm when the two fingerprints match.</li>+ <li>What you copy on the computer then appears in the phone’s records and clipboard.</li>+ </ol>+ </div>+ </div>+ </div>+ </section>+<section class="closing" aria-labelledby="closing-title"><div class="wrap"><h2 class="display" id="closing-title">Now copy something.</h2>diff --git a/docs/features/index.html b/docs/features/index.htmlindex 5cd87ae..dfb965d 100644--- a/docs/features/index.html+++ b/docs/features/index.html@@ -147,6 +147,20 @@</div></section>+ <section class="f-section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <p class="kicker"><span class="new">2.6 新功能</span></p>+ <h2 class="f-h2" id="phone-title">手机也能用了。</h2>+ <p class="f-intro">电脑上开一个二维码,手机扫码就在浏览器里看到全部复制记录:复制一条到手机,把照片和文件发回电脑。安卓 App 也上线了,配对方式和电脑一样。</p>+ <ul class="facts">+ <li><h3>网页版,不用装</h3><p>手机浏览器直接打开,记录、复制、发送都在。</p></li>+ <li><h3>安卓 App 已上线</h3><p>和电脑一样配对;收到内容自动进手机剪贴板。</p></li>+ <li><h3>加密,仅限同一局域网</h3><p>手机和电脑之间端到端加密,离开网络自动断开。</p></li>+ </ul>+ <p class="f-note">iPhone、iPad 没有 App:iOS 不允许后台读剪贴板,分发也需要证书。这些设备用网页版。</p>+ </div>+ </section>+<section class="f-section qp" id="quick-paste" aria-labelledby="qp-title"><div class="wrap"><h2 class="f-h2" id="qp-title">按 <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span>,<br>最近复制的都在手边。</h2>diff --git a/docs/index.html b/docs/index.htmlindex 45595fb..a981b2c 100644--- a/docs/index.html+++ b/docs/index.html@@ -164,9 +164,9 @@<main id="main"><section class="hero"><div class="wrap">- <a class="release-note" href="features/#friends">2.6 新功能:给好友发文件 →</a>+ <a class="release-note" href="features/#friends">2.7 新功能:手机扫码同步,安卓版上线 →</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>@@ -212,6 +212,19 @@</div></section>+ <section class="section spotlight" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">手机也能用了。</h2>+ <p class="intro">电脑上开一个二维码,手机扫码就在浏览器里看到全部复制记录:复制一条到手机、把照片和文件发回电脑。装 App 也行,不装也行。</p>+ <ul class="points">+ <li><b>手机浏览器直接用</b>,不用装任何东西。</li>+ <li><b>安卓 App 已上线</b>,配对方式与电脑相同。</li>+ <li><b>端到端加密</b>,只在同一局域网工作。</li>+ </ul>+ <p class="more"><a href="features/#phone">了解手机端怎么用 →</a></p>+ </div>+ </section>+<section class="section spotlight" id="send" aria-labelledby="send-title"><div class="wrap"><h2 id="send-title">拖过去,<br>就到了。</h2>diff --git a/docs/ja/features/index.html b/docs/ja/features/index.htmlindex 4b335b9..071c11b 100644--- a/docs/ja/features/index.html+++ b/docs/ja/features/index.html@@ -147,6 +147,20 @@</div></section>+ <section class="f-section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <p class="kicker"><span class="new">2.6 の新機能</span></p>+ <h2 class="f-h2" id="phone-title">スマホでも使える。</h2>+ <p class="f-intro">パソコンに QR コードを出し、スマホで読み取るとブラウザにコピー履歴がすべて出ます。テキストをスマホへコピー、写真やファイルを送り返せます。Android アプリも登場し、ペアリングはパソコンと同じです。</p>+ <ul class="facts">+ <li><h3>ウェブ版、インストール不要</h3><p>スマホのブラウザで開くだけ。履歴、コピー、送信。</p></li>+ <li><h3>Android アプリ</h3><p>パソコンと同じようにペアリング。受信した内容はスマホのクリップボードに。</p></li>+ <li><h3>暗号化、同じネットワークのみ</h3><p>スマホとパソコンの間はエンドツーエンドで暗号化。</p></li>+ </ul>+ <p class="f-note">iPhone・iPad のアプリはありません。iOS はバックグラウンドでのクリップボード読み取りを許可せず、配布にも証明書が要ります。これらはウェブ版をご利用ください。</p>+ </div>+ </section>+<section class="f-section qp" id="quick-paste" aria-labelledby="qp-title"><div class="wrap"><h2 class="f-h2" id="qp-title"><span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span> で、<br>履歴をその場に。</h2>diff --git a/docs/ja/index.html b/docs/ja/index.htmlindex e9b7ede..0068c4c 100644--- a/docs/ja/index.html+++ b/docs/ja/index.html@@ -139,9 +139,9 @@<main id="main"><section class="hero"><div class="wrap">- <a class="release-note" href="features/#friends">2.6 の新機能:連絡先にファイルを送る →</a>+ <a class="release-note" href="features/#friends">2.7 の新機能:スマホと同期、Android 版登場 →</a><h1 class="display">こっちでコピーして、<br>あっちで貼り付け。</h1>- <p class="lede">Mac・Windows・Linux で使え、同じアカウントは不要。テキスト、スクリーンショット、ファイル、フォルダに対応し、連絡先へのファイル送信もできます。</p>+ <p class="lede">Mac・Windows・Linux・Android で使え、同じアカウントは不要。テキスト、スクリーンショット、ファイルに対応し、スマホは QR コードを読むだけで使えます。</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>@@ -187,6 +187,19 @@</div></section>+ <section class="section spotlight" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">スマホでも使える。</h2>+ <p class="intro">パソコンに QR コードを出し、スマホで読み取るとブラウザにコピー履歴が全て出ます。テキストをスマホへコピー、写真やファイルをパソコンへ送り返せます。アプリはあってもなくてもOK。</p>+ <ul class="points">+ <li><b>スマホのブラウザでそのまま使え</b>、インストール不要。</li>+ <li><b>Android アプリも登場</b>、ペアリングはパソコンと同じ。</li>+ <li><b>エンドツーエンドで暗号化</b>、同じネットワーク限定。</li>+ </ul>+ <p class="more"><a href="features/#phone">スマホの使い方 →</a></p>+ </div>+ </section>+<section class="section spotlight" id="send" aria-labelledby="send-title"><div class="wrap"><h2 id="send-title">ドラッグすれば、<br>もう届いている。</h2>diff --git a/docs/ja/start/index.html b/docs/ja/start/index.htmlindex 2664c4d..f1b2afa 100644--- a/docs/ja/start/index.html+++ b/docs/ja/start/index.html@@ -84,6 +84,7 @@<li><a href="#app">アプリを入れる</a></li><li><a href="#server">接続方法を選ぶ</a></li><li><a href="#pair">ペアリング</a></li>+ <li><a href="#phone">スマホの使い方</a></li></ol></div></section>@@ -258,6 +259,30 @@</div></section>+ <section class="section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">スマホの使い方</h2>+ <p class="intro">パソコン同士をペアリングしたら、スマホもいつでも参加できます。QR コードを読んでウェブ版、または Android アプリを。</p>+ <div class="os-grid qs-grid">+ <div>+ <h3>ウェブ版:インストール不要</h3>+ <ol class="steps">+ <li>パソコン:「デバイス › スマホのウェブ転送」を開いてスイッチをオンにすると QR コードが出ます。</li>+ <li>スマホ:カメラかブラウザで読み取り、名前を付けます。</li>+ <li>以後、スマホのブラウザにパソコンの履歴が出ます。「コピー」でスマホへ、「送信」でテキスト・写真・ファイルをパソコンへ。</li>+ </ol>+ <h3>Android アプリ:パソコンと同じようにペアリング</h3>+ <ol class="steps">+ <li>スマホ:<a href="https://github.com/baiyuze/pasteferry/releases/download/v2.7.2/PasteFerry-android-arm64.apk">APK をダウンロード</a>してインストール(提供元不明のアプリのインストールを許可)。</li>+ <li>パソコン:「デバイス → デバイスを追加 → コードを表示」。</li>+ <li>スマホ:コードを入力し、指紋が一致したら確認。</li>+ <li>以後、パソコンでコピーした内容がスマホの履歴に入り、クリップボードにも反映されます。</li>+ </ol>+ </div>+ </div>+ </div>+ </section>+<section class="closing" aria-labelledby="closing-title"><div class="wrap"><h2 class="display" id="closing-title">コピーしてみましょう。</h2>diff --git a/docs/start/index.html b/docs/start/index.htmlindex f633bb7..2bd7f46 100644--- a/docs/start/index.html+++ b/docs/start/index.html@@ -84,6 +84,7 @@<li><a href="#app">安装 App</a></li><li><a href="#server">选连接方式</a></li><li><a href="#pair">配对</a></li>+ <li><a href="#phone">手机怎么用</a></li></ol></div></section>@@ -258,6 +259,30 @@</div></section>+ <section class="section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">手机怎么用</h2>+ <p class="intro">两台电脑照上面配好之后,手机随时可以加入:扫码用网页版,或者装安卓 App。</p>+ <div class="os-grid qs-grid">+ <div>+ <h3>网页版:不用安装</h3>+ <ol class="steps">+ <li>电脑:打开「设备 › 手机网页传输」,把开关打开,出现二维码。</li>+ <li>手机:用相机或浏览器扫这个码,起个名字(比如「我的iPhone」)。</li>+ <li>之后手机浏览器里就是电脑的复制记录:点「复制」到手机,或在「发送」里把文字、照片、文件发到电脑。</li>+ </ol>+ <h3>安卓 App:像配电脑一样配对</h3>+ <ol class="steps">+ <li>手机:<a href="https://gitee.com/baiyuze/pasteferry/releases/download/v2.7.2/PasteFerry-android-arm64.apk">下载 APK</a> 并安装(设置里允许安装未知来源的应用)。</li>+ <li>电脑:「设备 → 添加设备 → 显示配对码」。</li>+ <li>手机:输入配对码,核对两边的指纹一致后确认。</li>+ <li>之后电脑复制的内容自动出现在手机的记录里并写入剪贴板。</li>+ </ol>+ </div>+ </div>+ </div>+ </section>+<section class="closing" aria-labelledby="closing-title"><div class="wrap"><h2 class="display" id="closing-title">复制试试。</h2>diff --git a/docs/zh-hk/features/index.html b/docs/zh-hk/features/index.htmlindex efd3063..48c3549 100644--- a/docs/zh-hk/features/index.html+++ b/docs/zh-hk/features/index.html@@ -147,6 +147,20 @@</div></section>+ <section class="f-section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <p class="kicker"><span class="new">2.6 新功能</span></p>+ <h2 class="f-h2" id="phone-title">手機也能用了。</h2>+ <p class="f-intro">電腦上開一個 QR 碼,手機掃碼就在瀏覽器裏看到全部複製記錄:複製一條到手機,把照片和檔案傳回電腦。安卓 App 也上線了,配對方式和電腦一樣。</p>+ <ul class="facts">+ <li><h3>網頁版,不用裝</h3><p>手機瀏覽器直接打開,記錄、複製、傳送都在。</p></li>+ <li><h3>安卓 App 已上線</h3><p>和電腦一樣配對;收到內容自動進手機剪貼簿。</p></li>+ <li><h3>加密,僅限同一局域網絡</h3><p>手機和電腦之間端到端加密,離開網絡自動斷開。</p></li>+ </ul>+ <p class="f-note">iPhone、iPad 沒有 App:iOS 不允許背景讀取剪貼簿,分發也需要憑證。這些裝置用網頁版。</p>+ </div>+ </section>+<section class="f-section qp" id="quick-paste" aria-labelledby="qp-title"><div class="wrap"><h2 class="f-h2" id="qp-title">按 <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span>,<br>最近複製的都在手邊。</h2>diff --git a/docs/zh-hk/index.html b/docs/zh-hk/index.htmlindex 6acc668..f2c3ca5 100644--- a/docs/zh-hk/index.html+++ b/docs/zh-hk/index.html@@ -139,9 +139,9 @@<main id="main"><section class="hero"><div class="wrap">- <a class="release-note" href="features/#friends">2.6 新功能:傳檔案給好友 →</a>+ <a class="release-note" href="features/#friends">2.7 新功能:手機掃碼同步,安卓版上線 →</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>@@ -187,6 +187,19 @@</div></section>+ <section class="section spotlight" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">手機也能用了。</h2>+ <p class="intro">電腦上開一個 QR 碼,手機掃碼就在瀏覽器裏看到全部複製記錄:複製一條到手機、把照片和檔案傳回電腦。裝 App 也行,不裝也行。</p>+ <ul class="points">+ <li><b>手機瀏覽器直接用</b>,不用裝任何東西。</li>+ <li><b>安卓 App 已上線</b>,配對方式與電腦相同。</li>+ <li><b>端到端加密</b>,只在同一局域網絡工作。</li>+ </ul>+ <p class="more"><a href="features/#phone">了解手機端怎麼用 →</a></p>+ </div>+ </section>+<section class="section spotlight" id="send" aria-labelledby="send-title"><div class="wrap"><h2 id="send-title">拖過去,<br>就到了。</h2>diff --git a/docs/zh-hk/start/index.html b/docs/zh-hk/start/index.htmlindex a3f86b1..b8ef352 100644--- a/docs/zh-hk/start/index.html+++ b/docs/zh-hk/start/index.html@@ -84,6 +84,7 @@<li><a href="#app">安裝 App</a></li><li><a href="#server">選擇連接方式</a></li><li><a href="#pair">配對</a></li>+ <li><a href="#phone">手機怎麼用</a></li></ol></div></section>@@ -258,6 +259,30 @@</div></section>+ <section class="section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">手機怎麼用</h2>+ <p class="intro">兩部電腦照上面配好之後,手機隨時可以加入:掃碼用網頁版,或者裝安卓 App。</p>+ <div class="os-grid qs-grid">+ <div>+ <h3>網頁版:不用安裝</h3>+ <ol class="steps">+ <li>電腦:打開「裝置 › 手機網頁傳輸」,把開關打開,出現 QR 碼。</li>+ <li>手機:用相機或瀏覽器掃這個碼,起個名字(比如「我的iPhone」)。</li>+ <li>之後手機瀏覽器裏就是電腦的複製記錄:按「複製」到手機,或在「傳送」裏把文字、照片、檔案傳到電腦。</li>+ </ol>+ <h3>安卓 App:像配電腦一樣配對</h3>+ <ol class="steps">+ <li>手機:<a href="https://gitee.com/baiyuze/pasteferry/releases/download/v2.7.2/PasteFerry-android-arm64.apk">下載 APK</a> 並安裝(設定裏允許安裝未知來源的應用)。</li>+ <li>電腦:「裝置 → 新增裝置 → 顯示配對碼」。</li>+ <li>手機:輸入配對碼,核對兩邊的指紋一致後確認。</li>+ <li>之後電腦複製的內容自動出現在手機的記錄裏並寫入剪貼簿。</li>+ </ol>+ </div>+ </div>+ </div>+ </section>+<section class="closing" aria-labelledby="closing-title"><div class="wrap"><h2 class="display" id="closing-title">複製試試看。</h2>diff --git a/docs/zh-tw/features/index.html b/docs/zh-tw/features/index.htmlindex 3384b06..01eb1b1 100644--- a/docs/zh-tw/features/index.html+++ b/docs/zh-tw/features/index.html@@ -147,6 +147,20 @@</div></section>+ <section class="f-section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <p class="kicker"><span class="new">2.6 新功能</span></p>+ <h2 class="f-h2" id="phone-title">手機也能用了。</h2>+ <p class="f-intro">電腦上開一個 QR 碼,手機掃碼就在瀏覽器裡看到全部複製記錄:複製一條到手機,把照片和檔案傳回電腦。安卓 App 也上線了,配對方式和電腦一樣。</p>+ <ul class="facts">+ <li><h3>網頁版,不用裝</h3><p>手機瀏覽器直接打開,記錄、複製、傳送都在。</p></li>+ <li><h3>安卓 App 已上線</h3><p>和電腦一樣配對;收到內容自動進手機剪貼簿。</p></li>+ <li><h3>加密,僅限同一區域網路</h3><p>手機和電腦之間端到端加密,離開網路自動斷開。</p></li>+ </ul>+ <p class="f-note">iPhone、iPad 沒有 App:iOS 不允許背景讀剪貼簿,分發也需要憑證。這些設備用網頁版。</p>+ </div>+ </section>+<section class="f-section qp" id="quick-paste" aria-labelledby="qp-title"><div class="wrap"><h2 class="f-h2" id="qp-title">按 <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span>,<br>最近複製的都在手邊。</h2>diff --git a/docs/zh-tw/index.html b/docs/zh-tw/index.htmlindex 77a83c3..7062c0f 100644--- a/docs/zh-tw/index.html+++ b/docs/zh-tw/index.html@@ -139,9 +139,9 @@<main id="main"><section class="hero"><div class="wrap">- <a class="release-note" href="features/#friends">2.6 新功能:傳檔案給好友 →</a>+ <a class="release-note" href="features/#friends">2.7 新功能:手機掃碼同步,安卓版上線 →</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>@@ -187,6 +187,19 @@</div></section>+ <section class="section spotlight" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">手機也能用了。</h2>+ <p class="intro">電腦上開一個 QR 碼,手機掃碼就在瀏覽器裡看到全部複製記錄:複製一條到手機、把照片和檔案傳回電腦。裝 App 也行,不裝也行。</p>+ <ul class="points">+ <li><b>手機瀏覽器直接用</b>,不用裝任何東西。</li>+ <li><b>安卓 App 已上線</b>,配對方式與電腦相同。</li>+ <li><b>端到端加密</b>,只在同一區域網路工作。</li>+ </ul>+ <p class="more"><a href="features/#phone">了解手機端怎麼用 →</a></p>+ </div>+ </section>+<section class="section spotlight" id="send" aria-labelledby="send-title"><div class="wrap"><h2 id="send-title">拖過去,<br>就到了。</h2>diff --git a/docs/zh-tw/start/index.html b/docs/zh-tw/start/index.htmlindex 64e91f2..de01951 100644--- a/docs/zh-tw/start/index.html+++ b/docs/zh-tw/start/index.html@@ -84,6 +84,7 @@<li><a href="#app">安裝 App</a></li><li><a href="#server">選擇連線方式</a></li><li><a href="#pair">配對</a></li>+ <li><a href="#phone">手機怎麼用</a></li></ol></div></section>@@ -258,6 +259,30 @@</div></section>+ <section class="section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">手機怎麼用</h2>+ <p class="intro">兩台電腦照上面配好之後,手機隨時可以加入:掃碼用網頁版,或者裝安卓 App。</p>+ <div class="os-grid qs-grid">+ <div>+ <h3>網頁版:不用安裝</h3>+ <ol class="steps">+ <li>電腦:打開「裝置 › 手機網頁傳輸」,把開關打開,出現 QR 碼。</li>+ <li>手機:用相機或瀏覽器掃這個碼,起個名字(比如「我的iPhone」)。</li>+ <li>之後手機瀏覽器裡就是電腦的複製記錄:點「複製」到手機,或在「傳送」裡把文字、照片、檔案傳到電腦。</li>+ </ol>+ <h3>安卓 App:像配電腦一樣配對</h3>+ <ol class="steps">+ <li>手機:<a href="https://gitee.com/baiyuze/pasteferry/releases/download/v2.7.2/PasteFerry-android-arm64.apk">下載 APK</a> 並安裝(設定裡允許安裝未知來源的應用)。</li>+ <li>電腦:「裝置 → 新增裝置 → 顯示配對碼」。</li>+ <li>手機:輸入配對碼,核對兩邊的指紋一致後確認。</li>+ <li>之後電腦複製的內容自動出現在手機的記錄裡並寫入剪貼簿。</li>+ </ol>+ </div>+ </div>+ </div>+ </section>+<section class="closing" aria-labelledby="closing-title"><div class="wrap"><h2 class="display" id="closing-title">複製看看。</h2>diff --git a/tools/site/build.py b/tools/site/build.pyindex de20ffc..42d9a27 100644--- a/tools/site/build.py+++ b/tools/site/build.py@@ -609,6 +609,17 @@ def home(code: str) -> str:</div></section>+ <section class="section spotlight" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">{f["home_phone_h2"]}</h2>+ <p class="intro">{f["home_phone_intro"]}</p>+ <ul class="points">+{items(f["home_phone_points"], " ")}+ </ul>+ <p class="more"><a href="{FEATURES}#phone">{f["home_phone_link"]}</a></p>+ </div>+ </section>+<section class="section spotlight" id="send" aria-labelledby="send-title"><div class="wrap"><h2 id="send-title">{f["home_send_h2"]}</h2>@@ -878,6 +889,18 @@ def features_page(code: str) -> str:</div></section>+ <section class="f-section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <p class="kicker"><span class="new">{f["kicker_new"]}</span></p>+ <h2 class="f-h2" id="phone-title">{f["phone_h2"]}</h2>+ <p class="f-intro">{f["phone_intro"]}</p>+ <ul class="facts">+{facts(f["phone_points"])}+ </ul>+ <p class="f-note">{f["phone_note"]}</p>+ </div>+ </section>+<section class="f-section qp" id="quick-paste" aria-labelledby="qp-title"><div class="wrap"><h2 class="f-h2" id="qp-title">{keys(f["qp_h2"])}</h2>@@ -1878,7 +1901,7 @@ def start_page(code: str) -> str:home_href = up + (path or "./")base = up + pathshots = up + shots_dir(code)- links = {"home": home_href, "official": base + OFFICIAL, "lan": base + LAN, "cloud": base + CLOUD, "server": base + GUIDE,+ links = {"home": home_href, "official": base + OFFICIAL, "lan": base + LAN, "cloud": base + CLOUD, "server": base + GUIDE, "android": DL + "PasteFerry-android-arm64.apk","ts": base + TAILSCALE, "issues": REPO + "/issues"}def step(n: int) -> str:@@ -1963,6 +1986,25 @@ def start_page(code: str) -> str:</div></section>+ <section class="section" id="phone" aria-labelledby="phone-title">+ <div class="wrap">+ <h2 id="phone-title">{s["phone_h2"]}</h2>+ <p class="intro">{s["phone_intro"]}</p>+ <div class="os-grid qs-grid">+ <div>+ <h3>{s["web_h"]}</h3>+ <ol class="steps">+{items([fill(x, links) for x in s["web_steps"]], " ")}+ </ol>+ <h3>{s["apk_h"]}</h3>+ <ol class="steps">+{items([fill(x, links) for x in s["apk_steps"]], " ")}+ </ol>+ </div>+ </div>+ </div>+ </section>+<section class="closing" aria-labelledby="closing-title"><div class="wrap"><h2 class="display" id="closing-title">{s["done_h2"]}</h2>diff --git a/tools/site/content/en.py b/tools/site/content/en.pyindex f368c44..176f8df 100644--- a/tools/site/content/en.py+++ b/tools/site/content/en.py@@ -22,7 +22,7 @@ C = {"lang_label": "Language","h1": "Copy on this computer.<br>Paste on that one.",- "lede": 'Mac, Windows or Linux, no shared account needed. Text, screenshots, files and folders, plus sending files to friends.',+ "lede": 'Mac, Windows, Linux and Android, no shared account needed. Text, screenshots and files; a phone joins in by scanning a code — nothing to install.',"dl_button": "Download PasteFerry","dl_mac": "Download for Mac","dl_win": "Download for Windows",@@ -269,7 +269,8 @@ C = {"notice": "<strong>On the same network you no longer need a server:</strong> install the app and pair; see the ""<a href=\"{lan}\">same network guide</a>. This guide still helps when two subnets can't reach each other and ""traffic has to go through a computer both can reach.",- "toc": [("prepare", "Before you start"), ("install", "Install"), ("check", "Check"), ("clients", "Set up the apps"), ("faq", "Questions")],+ "toc": [("prepare", "Before you start"), ("install", "Install"), ("check", "Check"), ("clients", "Set up the apps"), ("faq", "Questions")+ ],"overview_h2": "The server only introduces devices","overview_intro": "Each computer stays connected to the server, which is how they find each other and exchange connection details. "@@ -555,7 +556,7 @@ C = {"networks, turn on Service. Then copy on one computer and paste on the other.","h1": "Quick start","lede": "Install the app, pick a way to connect, and pair your computers. On the same network it takes a few minutes.",- "toc": [("app", "Install the app"), ("server", "Pick a way to connect"), ("pair", "Pair")],+ "toc": [("app", "Install the app"), ("server", "Pick a way to connect"), ("pair", "Pair"), ("phone", "Using a phone")],"step": "Step {n}","app_h2": "Install the app on each computer",@@ -600,6 +601,22 @@ C = {"either side is in the history.","help": "Need help? <a href=\"{lan}#faq\">Same network questions</a> · <a href=\"{ts}#faq\">Tailscale questions</a> · ""<a href=\"{cloud}#faq\">Public server questions</a> · <a href=\"{issues}\">Report an issue</a>",+ "phone_h2": "Using a phone",+ "phone_intro": "Once the computers are paired above, a phone can join any time: scan a code for the web page, or install the Android app.",+ "phone_toc": "Using a phone",+ "web_h": "The web page: nothing to install",+ "web_steps": [+ "Computer: open Devices › Phone web transfer, turn the switch on, and a code appears.",+ "Phone: scan the code with the camera or a browser and give the phone a name.",+ "The phone’s browser then shows the computer’s records: tap Copy to take a text to the phone, or use Send to push text, photos and files to the computer.",+ ],+ "apk_h": "The Android app: pairs like another computer",+ "apk_steps": [+ 'Phone: <a href="{android}">download the APK</a> and install it (allow installing from unknown sources when asked).',+ "Computer: Devices → Add device → Show a code.",+ "Phone: enter the code and confirm when the two fingerprints match.",+ "What you copy on the computer then appears in the phone’s records and clipboard.",+ ],},# ── Same network (lan/ page), no server ──diff --git a/tools/site/content/features.py b/tools/site/content/features.pyindex d8f152a..584b6ca 100644--- a/tools/site/content/features.py+++ b/tools/site/content/features.py@@ -30,12 +30,29 @@ COPY = {# ── 首页 ──"badge": (- '2.6 新功能:给好友发文件 →',- '2.6 新功能:傳檔案給好友 →',- '2.6 新功能:傳檔案給好友 →',- 'New in 2.6: send files to contacts →',- '2.6 の新機能:連絡先にファイルを送る →',- ),+ '2.7 新功能:手机扫码同步,安卓版上线 →',+ '2.7 新功能:手機掃碼同步,安卓版上線 →',+ '2.7 新功能:手機掃碼同步,安卓版上線 →',+ 'New in 2.7: sync with your phone, and an Android app →',+ '2.7 の新機能:スマホと同期、Android 版登場 →',+ ),+ # 首页手机区块(2.7)+ "home_phone_h2": ("手机也能用了。", "手機也能用了。", "手機也能用了。", "Your phone joins in.", "スマホでも使える。"),+ "home_phone_intro": (+ '电脑上开一个二维码,手机扫码就在浏览器里看到全部复制记录:复制一条到手机、把照片和文件发回电脑。装 App 也行,不装也行。',+ '電腦上開一個 QR 碼,手機掃碼就在瀏覽器裡看到全部複製記錄:複製一條到手機、把照片和檔案傳回電腦。裝 App 也行,不裝也行。',+ '電腦上開一個 QR 碼,手機掃碼就在瀏覽器裏看到全部複製記錄:複製一條到手機、把照片和檔案傳回電腦。裝 App 也行,不裝也行。',+ 'The computer shows a code; scan it and the phone’s browser lists everything you copied: copy one to the phone, send photos and files back. An app is there if you want it, but you don’t need one.',+ 'パソコンに QR コードを出し、スマホで読み取るとブラウザにコピー履歴が全て出ます。テキストをスマホへコピー、写真やファイルをパソコンへ送り返せます。アプリはあってもなくてもOK。',+ ),+ "home_phone_points": (+ ['<b>手机浏览器直接用</b>,不用装任何东西。', '<b>安卓 App 已上线</b>,配对方式与电脑相同。', '<b>端到端加密</b>,只在同一局域网工作。'],+ ['<b>手機瀏覽器直接用</b>,不用裝任何東西。', '<b>安卓 App 已上線</b>,配對方式與電腦相同。', '<b>端到端加密</b>,只在同一區域網路工作。'],+ ['<b>手機瀏覽器直接用</b>,不用裝任何東西。', '<b>安卓 App 已上線</b>,配對方式與電腦相同。', '<b>端到端加密</b>,只在同一局域網絡工作。'],+ ['<b>Works in the phone’s browser</b>, nothing to install.', '<b>An Android app is out</b>, pairing like another computer.', '<b>Encrypted end to end</b>, same network only.'],+ ['<b>スマホのブラウザでそのまま使え</b>、インストール不要。', '<b>Android アプリも登場</b>、ペアリングはパソコンと同じ。', '<b>エンドツーエンドで暗号化</b>、同じネットワーク限定。'],+ ),+ "home_phone_link": ("了解手机端怎么用 →", "了解手機端怎麼用 →", "了解手機端怎麼用 →", "How to use the phone →", "スマホの使い方 →"),"home_send_h2": ("拖过去,<br>就到了。", "拖過去,<br>就到了。", "拖過去,<br>就到了。","Drag it over.<br>It’s there.", "ドラッグすれば、<br>もう届いている。"),"home_send_intro": (@@ -198,6 +215,36 @@ COPY = {),"home_friends_link": ("了解给好友发文件 →", "了解給好友傳檔案 →", "了解給好友傳檔案 →", "More about sending to contacts →", "連絡先への送信について →"),+ # ── 手机:网页传输与安卓 App(2.7) ──+ "phone_h2": (+ '手机也能用了。',+ '手機也能用了。',+ '手機也能用了。',+ 'Your phone joins in.',+ 'スマホでも使える。',+ ),+ "phone_intro": (+ '电脑上开一个二维码,手机扫码就在浏览器里看到全部复制记录:复制一条到手机,把照片和文件发回电脑。安卓 App 也上线了,配对方式和电脑一样。',+ '電腦上開一個 QR 碼,手機掃碼就在瀏覽器裡看到全部複製記錄:複製一條到手機,把照片和檔案傳回電腦。安卓 App 也上線了,配對方式和電腦一樣。',+ '電腦上開一個 QR 碼,手機掃碼就在瀏覽器裏看到全部複製記錄:複製一條到手機,把照片和檔案傳回電腦。安卓 App 也上線了,配對方式和電腦一樣。',+ 'The computer shows a code. Scan it and the phone’s browser lists everything you copied: copy a text to the phone, send photos and files back. There is an Android app too, pairing like another computer.',+ 'パソコンに QR コードを出し、スマホで読み取るとブラウザにコピー履歴がすべて出ます。テキストをスマホへコピー、写真やファイルを送り返せます。Android アプリも登場し、ペアリングはパソコンと同じです。',+ ),+ "phone_points": (+ [('网页版,不用装', '手机浏览器直接打开,记录、复制、发送都在。'), ('安卓 App 已上线', '和电脑一样配对;收到内容自动进手机剪贴板。'), ('加密,仅限同一局域网', '手机和电脑之间端到端加密,离开网络自动断开。')],+ [('網頁版,不用裝', '手機瀏覽器直接打開,記錄、複製、傳送都在。'), ('安卓 App 已上線', '和電腦一樣配對;收到內容自動進手機剪貼簿。'), ('加密,僅限同一區域網路', '手機和電腦之間端到端加密,離開網路自動斷開。')],+ [('網頁版,不用裝', '手機瀏覽器直接打開,記錄、複製、傳送都在。'), ('安卓 App 已上線', '和電腦一樣配對;收到內容自動進手機剪貼簿。'), ('加密,僅限同一局域網絡', '手機和電腦之間端到端加密,離開網絡自動斷開。')],+ [('The web page, nothing to install', 'Opens in the phone’s browser: records, copy, send.'), ('An Android app', 'Pairs like another computer; what the computer copies lands in the phone’s clipboard.'), ('Encrypted, same network only', 'End-to-end encrypted between the phone and the computer.')],+ [('ウェブ版、インストール不要', 'スマホのブラウザで開くだけ。履歴、コピー、送信。'), ('Android アプリ', 'パソコンと同じようにペアリング。受信した内容はスマホのクリップボードに。'), ('暗号化、同じネットワークのみ', 'スマホとパソコンの間はエンドツーエンドで暗号化。')],+ ),+ "phone_note": (+ 'iPhone、iPad 没有 App:iOS 不允许后台读剪贴板,分发也需要证书。这些设备用网页版。',+ 'iPhone、iPad 沒有 App:iOS 不允許背景讀剪貼簿,分發也需要憑證。這些設備用網頁版。',+ 'iPhone、iPad 沒有 App:iOS 不允許背景讀取剪貼簿,分發也需要憑證。這些裝置用網頁版。',+ 'There is no iPhone or iPad app: iOS does not let apps read the clipboard in the background, and distributing one needs a certificate. Those devices use the web page.',+ 'iPhone・iPad のアプリはありません。iOS はバックグラウンドでのクリップボード読み取りを許可せず、配布にも証明書が要ります。これらはウェブ版をご利用ください。',+ ),+# ── 快捷粘贴 ──"qp_h2": ("按 {key},<br>最近复制的都在手边。", "按 {key},<br>最近複製的都在手邊。", "按 {key},<br>最近複製的都在手邊。","Press {key}.<br>Your history, right where you’re typing.", "{key} で、<br>履歴をその場に。"),diff --git a/tools/site/content/ja.py b/tools/site/content/ja.pyindex 39c0e22..3a4974a 100644--- a/tools/site/content/ja.py+++ b/tools/site/content/ja.py@@ -22,7 +22,7 @@ C = {"lang_label": "言語","h1": "こっちでコピーして、<br>あっちで貼り付け。",- "lede": 'Mac・Windows・Linux で使え、同じアカウントは不要。テキスト、スクリーンショット、ファイル、フォルダに対応し、連絡先へのファイル送信もできます。',+ "lede": 'Mac・Windows・Linux・Android で使え、同じアカウントは不要。テキスト、スクリーンショット、ファイルに対応し、スマホは QR コードを読むだけで使えます。',"dl_button": "PasteFerry をダウンロード","dl_mac": "Mac 版をダウンロード","dl_win": "Windows 版をダウンロード",@@ -250,7 +250,8 @@ C = {"スクリプトをダウンロードして実行し、表示されたアドレスを各コンピューターの PasteFerry に入力します。","notice": "<strong>同じネットワークなら、もうサーバーは要りません:</strong>アプリを入れてペアリングするだけです(<a href=\"{lan}\">同じネットワークでの手順</a>)。""このページは、2 つのサブネットがお互いに届かず、両方から届くコンピューターを経由して中継する必要がある場合に役立ちます。",- "toc": [("prepare", "準備"), ("install", "インストール"), ("check", "確認"), ("clients", "アドレスの入力"), ("faq", "よくある質問")],+ "toc": [("prepare", "準備"), ("install", "インストール"), ("check", "確認"), ("clients", "アドレスの入力"), ("faq", "よくある質問")+ ],"overview_h2": "サーバーは引き合わせるだけ","overview_intro": "各コンピューターはサーバーにつながったままで、それを通じて相手を見つけ、接続情報を交換します。つながったあと、"@@ -523,7 +524,7 @@ C = {"description": "PasteFerry がはじめての方へ。各コンピューターにアプリを入れ、同じネットワークならそのままペアリング、別のネットワークなら「サービス」をオンにします。あとは一台でコピーして、もう一台で貼り付けるだけです。","h1": "はじめかた","lede": "アプリを入れて、接続方法を選び、2 台をペアリングします。同じネットワークなら数分で終わります。",- "toc": [("app", "アプリを入れる"), ("server", "接続方法を選ぶ"), ("pair", "ペアリング")],+ "toc": [("app", "アプリを入れる"), ("server", "接続方法を選ぶ"), ("pair", "ペアリング"), ("phone", "スマホの使い方")],"step": "ステップ {n}","app_h2": "各コンピューターにアプリを入れる",@@ -563,6 +564,22 @@ C = {"done_text": "一台でテキスト、画像、ファイルをコピーし、もう一台で ⌘V か Ctrl+V を押します。どちらでコピーしたものも履歴に残ります。","help": "困ったときは:<a href=\"{lan}#faq\">同じネットワークのよくある質問</a> · <a href=\"{ts}#faq\">Tailscale のよくある質問</a> · ""<a href=\"{cloud}#faq\">公開サーバーのよくある質問</a> · <a href=\"{issues}\">問題を報告</a>",+ "phone_h2": "スマホの使い方",+ "phone_intro": "パソコン同士をペアリングしたら、スマホもいつでも参加できます。QR コードを読んでウェブ版、または Android アプリを。",+ "phone_toc": "スマホの使い方",+ "web_h": "ウェブ版:インストール不要",+ "web_steps": [+ "パソコン:「デバイス › スマホのウェブ転送」を開いてスイッチをオンにすると QR コードが出ます。",+ "スマホ:カメラかブラウザで読み取り、名前を付けます。",+ "以後、スマホのブラウザにパソコンの履歴が出ます。「コピー」でスマホへ、「送信」でテキスト・写真・ファイルをパソコンへ。",+ ],+ "apk_h": "Android アプリ:パソコンと同じようにペアリング",+ "apk_steps": [+ 'スマホ:<a href="{android}">APK をダウンロード</a>してインストール(提供元不明のアプリのインストールを許可)。',+ "パソコン:「デバイス → デバイスを追加 → コードを表示」。",+ "スマホ:コードを入力し、指紋が一致したら確認。",+ "以後、パソコンでコピーした内容がスマホの履歴に入り、クリップボードにも反映されます。",+ ],},# ── 同じネットワークで使う(lan/ ページ)、サーバー不要 ──diff --git a/tools/site/content/zh-hk.py b/tools/site/content/zh-hk.pyindex 60a39d6..baad168 100644--- a/tools/site/content/zh-hk.py+++ b/tools/site/content/zh-hk.py@@ -22,7 +22,7 @@ C = {"lang_label": "語言","h1": "在這部電腦複製,<br>到那部電腦貼上。",- "lede": 'Mac、Windows、Linux 都可以,不用同一個帳戶。文字、截圖、檔案、資料夾都可以,也能直接把檔案傳給好友。',+ "lede": 'Mac、Windows、Linux、安卓都可以,不用同一個帳戶。文字、截圖、檔案都可以;手機掃個碼也能用,不用裝東西。',"dl_button": "下載隔空貼","dl_mac": "下載 Mac 版","dl_win": "下載 Windows 版",@@ -249,7 +249,8 @@ C = {"再把它顯示的地址填進每部電腦的隔空貼裏。","notice": "<strong>在同一個網絡裏,現在已經不需要伺服器:</strong>安裝好 App 直接配對就能用,見<a href=\"{lan}\">同一網絡教學</a>。""本文仍然適用於兩個網段之間互相連不上、要經一部兩邊都能連到的電腦中轉的情況。",- "toc": [("prepare", "準備"), ("install", "安裝伺服器"), ("check", "檢查"), ("clients", "填寫地址"), ("faq", "常見問題")],+ "toc": [("prepare", "準備"), ("install", "安裝伺服器"), ("check", "檢查"), ("clients", "填寫地址"), ("faq", "常見問題")+ ],"overview_h2": "伺服器只負責牽線","overview_intro": "每部電腦一直連着伺服器,靠它找到對方、交換連線資訊。連上之後,複製的內容在兩部電腦之間直接傳輸;"@@ -518,7 +519,7 @@ C = {"description": "第一次用隔空貼?每部電腦裝上 App;在同一個網絡裏直接配對,不在同一個網絡就開啟「服務」。之後在一部複製,到另一部貼上。","h1": "快速開始","lede": "裝好 App,選一種連接方式,再把兩部電腦配對。同一個網絡裏幾分鐘就完成。",- "toc": [("app", "安裝 App"), ("server", "選擇連接方式"), ("pair", "配對")],+ "toc": [("app", "安裝 App"), ("server", "選擇連接方式"), ("pair", "配對"), ("phone", "手機怎麼用")],"step": "第 {n} 步","app_h2": "在每部電腦上安裝 App",@@ -555,6 +556,22 @@ C = {"done_text": "在一部電腦上複製文字、圖片或檔案,到另一部按 ⌘V 或 Ctrl+V。兩邊複製過的內容都在「複製記錄」裏。","help": "遇到問題:<a href=\"{lan}#faq\">同一網絡的常見問題</a> · <a href=\"{ts}#faq\">Tailscale 的常見問題</a> · ""<a href=\"{cloud}#faq\">公網伺服器的常見問題</a> · <a href=\"{issues}\">回報問題</a>",+ "phone_h2": "手機怎麼用",+ "phone_intro": "兩部電腦照上面配好之後,手機隨時可以加入:掃碼用網頁版,或者裝安卓 App。",+ "phone_toc": "手機怎麼用",+ "web_h": "網頁版:不用安裝",+ "web_steps": [+ "電腦:打開「裝置 › 手機網頁傳輸」,把開關打開,出現 QR 碼。",+ "手機:用相機或瀏覽器掃這個碼,起個名字(比如「我的iPhone」)。",+ "之後手機瀏覽器裏就是電腦的複製記錄:按「複製」到手機,或在「傳送」裏把文字、照片、檔案傳到電腦。",+ ],+ "apk_h": "安卓 App:像配電腦一樣配對",+ "apk_steps": [+ '手機:<a href="{android}">下載 APK</a> 並安裝(設定裏允許安裝未知來源的應用)。',+ "電腦:「裝置 → 新增裝置 → 顯示配對碼」。",+ "手機:輸入配對碼,核對兩邊的指紋一致後確認。",+ "之後電腦複製的內容自動出現在手機的記錄裏並寫入剪貼簿。",+ ],},# ── 同一网络(lan/ 页面),不需要服务器 ──diff --git a/tools/site/content/zh-tw.py b/tools/site/content/zh-tw.pyindex 7833a92..541a260 100644--- a/tools/site/content/zh-tw.py+++ b/tools/site/content/zh-tw.py@@ -22,7 +22,7 @@ C = {"lang_label": "語言","h1": "在這台電腦複製,<br>到那台電腦貼上。",- "lede": 'Mac、Windows、Linux 都行,不用同一個帳號。文字、截圖、檔案、資料夾都可以,也能直接把檔案傳給好友。',+ "lede": 'Mac、Windows、Linux、安卓都行,不用同一個帳號。文字、截圖、檔案都可以;手機掃個碼也能用,不用裝東西。文字、截圖、檔案、資料夾都可以,也能直接把檔案傳給好友。',"dl_button": "下載隔空貼","dl_mac": "下載 Mac 版","dl_win": "下載 Windows 版",@@ -249,7 +249,8 @@ C = {"再把它顯示的位址填進每台電腦的隔空貼裡。","notice": "<strong>在同一個網路裡,現在已經不需要伺服器了:</strong>裝好 App 直接配對就能用,見<a href=\"{lan}\">同一網路教學</a>。""這篇仍然適用於兩個網段之間互相連不到、需要經過一台兩邊都連得到的電腦中繼的情況。",- "toc": [("prepare", "準備"), ("install", "安裝伺服器"), ("check", "檢查"), ("clients", "填位址"), ("faq", "常見問題")],+ "toc": [("prepare", "準備"), ("install", "安裝伺服器"), ("check", "檢查"), ("clients", "填位址"), ("faq", "常見問題")+ ],"overview_h2": "伺服器只負責牽線","overview_intro": "每台電腦都一直連著伺服器,靠它找到對方、交換連線資訊。連上之後,複製的內容在兩台電腦之間直接傳輸;"@@ -518,7 +519,7 @@ C = {"description": "第一次用隔空貼?每台電腦裝上 App;在同一個網路裡直接配對,不在同一個網路就開啟「服務」。之後在一台複製,到另一台貼上。","h1": "快速入門","lede": "裝好 App,選一種連線方式,再把兩台電腦配對。同一個網路裡幾分鐘就好。",- "toc": [("app", "安裝 App"), ("server", "選擇連線方式"), ("pair", "配對")],+ "toc": [("app", "安裝 App"), ("server", "選擇連線方式"), ("pair", "配對"), ("phone", "手機怎麼用")],"step": "第 {n} 步","app_h2": "在每台電腦上安裝 App",@@ -555,6 +556,22 @@ C = {"done_text": "在一台電腦上複製文字、圖片或檔案,到另一台按 ⌘V 或 Ctrl+V。兩邊複製過的內容都在「複製記錄」裡。","help": "遇到問題:<a href=\"{lan}#faq\">同一網路的常見問題</a> · <a href=\"{ts}#faq\">Tailscale 的常見問題</a> · ""<a href=\"{cloud}#faq\">雲端伺服器的常見問題</a> · <a href=\"{issues}\">回報問題</a>",+ "phone_h2": "手機怎麼用",+ "phone_intro": "兩台電腦照上面配好之後,手機隨時可以加入:掃碼用網頁版,或者裝安卓 App。",+ "phone_toc": "手機怎麼用",+ "web_h": "網頁版:不用安裝",+ "web_steps": [+ "電腦:打開「裝置 › 手機網頁傳輸」,把開關打開,出現 QR 碼。",+ "手機:用相機或瀏覽器掃這個碼,起個名字(比如「我的iPhone」)。",+ "之後手機瀏覽器裡就是電腦的複製記錄:點「複製」到手機,或在「傳送」裡把文字、照片、檔案傳到電腦。",+ ],+ "apk_h": "安卓 App:像配電腦一樣配對",+ "apk_steps": [+ '手機:<a href="{android}">下載 APK</a> 並安裝(設定裡允許安裝未知來源的應用)。',+ "電腦:「裝置 → 新增裝置 → 顯示配對碼」。",+ "手機:輸入配對碼,核對兩邊的指紋一致後確認。",+ "之後電腦複製的內容自動出現在手機的記錄裡並寫入剪貼簿。",+ ],},# ── 同一网络(lan/ 页面),不需要服务器 ──diff --git a/tools/site/content/zh.py b/tools/site/content/zh.pyindex 393e2ff..346a8a3 100644--- a/tools/site/content/zh.py+++ b/tools/site/content/zh.py@@ -22,7 +22,7 @@ C = {"lang_label": "语言","h1": "在这台电脑复制,<br>到那台电脑粘贴。",- "lede": 'Mac、Windows、Linux 都行,不用同一个账号。文字、截图、文件、文件夹都可以,也能直接把文件发给好友。',+ "lede": 'Mac、Windows、Linux、安卓都行,不用同一个账号。文字、截图、文件、文件夹都可以;手机扫个码也能用,不用装东西。',"dl_button": "下载隔空贴","dl_mac": "下载 Mac 版","dl_win": "下载 Windows 版",@@ -249,7 +249,8 @@ C = {"再把它显示的地址填进每台电脑的隔空贴里。","notice": "<strong>同一个网络里,现在不需要服务器了:</strong>装好 App 直接配对就能用,见<a href=\"{lan}\">同一网络教程</a>。""这篇仍然适用于两个网段之间互相访问不到、要经一台两边都能访问的电脑中转的情况。",- "toc": [("prepare", "准备"), ("install", "安装服务器"), ("check", "检查"), ("clients", "填地址"), ("faq", "常见问题")],+ "toc": [("prepare", "准备"), ("install", "安装服务器"), ("check", "检查"), ("clients", "填地址"), ("faq", "常见问题")+ ],"overview_h2": "服务器只负责牵线","overview_intro": "每台电脑一直连着服务器,靠它找到对方、交换连接信息。连上之后,复制的内容在两台电脑之间直接传输;"@@ -518,7 +519,7 @@ C = {"description": "第一次用隔空贴?每台电脑装上 App;在同一个网络里直接配对,不在一个网络就打开「服务」。之后在一台复制,到另一台粘贴。","h1": "快速开始","lede": "装好 App,选一种连接方式,再把两台电脑配对。同一个网络里几分钟就好。",- "toc": [("app", "安装 App"), ("server", "选连接方式"), ("pair", "配对")],+ "toc": [("app", "安装 App"), ("server", "选连接方式"), ("pair", "配对"), ("phone", "手机怎么用")],"step": "第 {n} 步","app_h2": "在每台电脑上安装 App",@@ -555,6 +556,22 @@ C = {"done_text": "在一台电脑上复制文字、图片或文件,到另一台按 ⌘V 或 Ctrl+V。两边复制过的内容都在「复制记录」里。","help": "遇到问题:<a href=\"{lan}#faq\">同一网络的常见问题</a> · <a href=\"{ts}#faq\">Tailscale 的常见问题</a> · ""<a href=\"{cloud}#faq\">公网服务器的常见问题</a> · <a href=\"{issues}\">反馈问题</a>",+ "phone_h2": "手机怎么用",+ "phone_intro": "两台电脑照上面配好之后,手机随时可以加入:扫码用网页版,或者装安卓 App。",+ "phone_toc": "手机怎么用",+ "web_h": "网页版:不用安装",+ "web_steps": [+ "电脑:打开「设备 › 手机网页传输」,把开关打开,出现二维码。",+ "手机:用相机或浏览器扫这个码,起个名字(比如「我的iPhone」)。",+ "之后手机浏览器里就是电脑的复制记录:点「复制」到手机,或在「发送」里把文字、照片、文件发到电脑。",+ ],+ "apk_h": "安卓 App:像配电脑一样配对",+ "apk_steps": [+ '手机:<a href="{android}">下载 APK</a> 并安装(设置里允许安装未知来源的应用)。',+ "电脑:「设备 → 添加设备 → 显示配对码」。",+ "手机:输入配对码,核对两边的指纹一致后确认。",+ "之后电脑复制的内容自动出现在手机的记录里并写入剪贴板。",+ ],},# ── 同一网络(lan/ 页面),不需要服务器 ──