> For the complete documentation index, see [llms.txt](https://doc.qrspace.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.qrspace.dev/zi-liao-tong-bu-yu-yin-si-an-quan/qr-self-sync.md).

# QR 自我同步與免登入雲端

{% hint style="info" %}
**目前實際狀況**：連上 QR 口袋之後，資料會自動加密同步進口袋（開瀏覽器 5 秒後一次，之後每 3 分鐘一次）：筆記本、書籤、起始頁分組、白板、瀏覽紀錄、自由筆記、剪貼的圖片。QR 裡只有一組復原碼（跟主圖形共用），每次產生新的，舊的就失效；產生時會自動放一張進你的 QR 口袋。

* **分頁和工作區目前不同步**。
* 新電腦**還不能用鏡頭掃 QR**：請在 QR 口袋頁的「換了電腦？用復原碼還原」輸入那串碼（可以先用手機掃 QR 讀出來）。
* 沒有 QR 口袋就不能同步。
  {% endhint %}

口袋瀏覽器採用創新的「QR 自我同步」機制，徹底擺脫傳統瀏覽器必須註冊與登入中心化帳號的枷鎖。

***

## 為什麼需要免登入自我同步

主流瀏覽器（如 Chrome、Edge、Firefox）的同步機制皆建立在帳號綁定體系上。這帶來兩大痛點：

1. **隱私與追蹤疑慮**：個人所有的歷史紀錄、書籤與分頁狀態均被上傳至雲端科技巨頭的伺服器。
2. **臨時設備不便**：在圖書館、公用電腦或臨時測試機器上，使用者往往不願、也不敢登入個人主帳號。

口袋瀏覽器透過「QR 口袋空間」與「端到端加密復原碼」實現純粹的自我同步。

***

## 自我同步運作原理

```
[目前電腦]
   │
   ├─ 打包當前所有分頁、工作區、白板筆記與狀態
   ├─ 本機端金鑰高強度對稱加密
   ├─ 自動存入個人免登入加密雲端空間（QR 口袋）
   └─ 產生包含加密 Session 與復原代碼的 QR Code
         │
         ├─── 方式 A：手機相機掃描 ──> 讀取內藏復原文字代碼 ──> 於新裝置輸入
         │
         └─── 方式 B：新裝置口袋瀏覽器直接鏡頭掃碼 ──> 解密還原全域工作階段
```

***

## 核心操作與安全性

### 1. 產生同步 QR Code 與復原代碼

* 離開當前瀏覽器前，點擊同步工具。
* 系統自動產生一張專屬的 Session QR Code，並同步顯示一組由隨機英數組成的復原文字代碼。

### 2. 存放在何處：免登入的專屬雲端

許多人會疑惑：「沒有登入帳號，這張 QR 碼與同步資料要存放在哪裡？」 口袋瀏覽器與 QR 口袋深度整合。QR 口袋具備「免登入即可建立個人加密儲存空間」的特性：

* 同步資料直接存入屬於使用者自己的加密空間中。
* 所有內容在離開瀏覽器前已於本機完成高強度加密，伺服器僅儲存密文區塊（Ciphertext），無從窺探任何網址或瀏覽內容。

### 3. 多端復原方式

在新電腦或另一台設備上開啟口袋瀏覽器後，可透過兩種方式秒速還原：

* **鏡頭直掃**：直接以新設備的相機對準 QR Code 掃描，確認後立即解密還原。
* **文字代碼輸入**：若是在不方便掃描的環境，亦可先用手機相機掃碼取得解析出的復原文字，將文字輸入新電腦的復原框中，同樣能精準還原所有分頁與工作狀態。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.qrspace.dev/zi-liao-tong-bu-yu-yin-si-an-quan/qr-self-sync.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
