自托管

连接你自己的同步服务

先了解边界 What this project provides

本项目提供客户端接入能力与标准接口文档,不提供或分发自托管服务器发行包、容器、安装器或部署脚本。你需要自行实现、部署和运维服务器。

This project provides client integration and an API contract. It does not distribute a self-hosted server, container, installer or deployment scripts. Implement, deploy and operate your own server.

官方云的账号、微信登录、购买与会员由官方服务管理。自建实例独立管理账号、容量与策略,不需要官方会员或许可心跳。

Official accounts, WeChat sign-in, purchases and membership belong to official cloud. Your own instance manages its accounts, capacity and policies without official membership or license heartbeats.

最短接入路径 Shortest connection path

  1. 阅读 同步协议 v1 / SELF-HOSTED-API.md,实现其中的必选接口。

    Implement the required interfaces in the sync protocol v1 contract.

  2. 为服务准备 HTTPS origin 与固定 API 前缀 /todo/api/v1,持久保存实例 ID;验证账号隔离、增量同步与导出。

    Use an HTTPS origin, the fixed API prefix and a persistent instance ID. Verify account isolation, incremental sync and exports.

  3. 在桌面客户端的设置 → 同步 → 高级设置中填写地址,测试连接,并明确确认切换。切换前导出备份。

    Enter the origin in desktop Settings → Sync → Advanced, test the connection and confirm the switch. Export a backup first.

网页版仅访问自身同源 API;如需自建网页版,你需自行准备同源页面与静态资源。第三方实现是否兼容,须按接口文档自行验收。

The web client accesses its same-origin API. Prepare same-origin pages and assets if you operate a web client. Validate third-party implementations against the API contract.

这里提供接入步骤,不承诺几分钟完成部署。协议文档是技术说明,不能代替可运行的服务器实现。

These are connection steps, without a deployment-time promise. The protocol document is a technical contract and does not replace a working server implementation.