add cn for readme
This commit is contained in:
parent
c0aec40bcc
commit
dda304c857
14
README.md
14
README.md
@ -1,5 +1,7 @@
|
|||||||
# Remotely Save
|
# Remotely Save
|
||||||
|
|
||||||
|
English | [中文](./README.zh-cn.md)
|
||||||
|
|
||||||
This is yet another unofficial sync plugin for Obsidian. If you like it or find it useful, please consider give it a [star ](https://github.com/fyears/remotely-save) on Github.
|
This is yet another unofficial sync plugin for Obsidian. If you like it or find it useful, please consider give it a [star ](https://github.com/fyears/remotely-save) on Github.
|
||||||
|
|
||||||
[](https://github.com/fyears/remotely-save/actions/workflows/auto-build.yml)
|
[](https://github.com/fyears/remotely-save/actions/workflows/auto-build.yml)
|
||||||
@ -31,7 +33,7 @@ This is yet another unofficial sync plugin for Obsidian. If you like it or find
|
|||||||
- Azure Blob Storage (PRO feature)
|
- Azure Blob Storage (PRO feature)
|
||||||
- [Here](./docs/services_connectable_or_not.md) shows more connectable (or not-connectable) services in details.
|
- [Here](./docs/services_connectable_or_not.md) shows more connectable (or not-connectable) services in details.
|
||||||
- **Obsidian Mobile supported.** Vaults can be synced across mobile and desktop devices with the cloud service as the "broker".
|
- **Obsidian Mobile supported.** Vaults can be synced across mobile and desktop devices with the cloud service as the "broker".
|
||||||
- **[End-to-end encryption](./docs/encryption/README.md) supported.** Files would be encrypted using openssl format before being sent to the cloud **if** user specify a password.
|
- **[End-to-end encryption](./docs/encryption/README.md) supported.** Files would be encrypted using openssl / rclone crypt format before being sent to the cloud **if** user specify a password.
|
||||||
- **Scheduled auto sync supported.** You can also manually trigger the sync using sidebar ribbon, or using the command from the command palette (or even bind the hot key combination to the command then press the hot key combination).
|
- **Scheduled auto sync supported.** You can also manually trigger the sync using sidebar ribbon, or using the command from the command palette (or even bind the hot key combination to the command then press the hot key combination).
|
||||||
- **[Minimal Intrusive](./docs/minimal_intrusive_design.md).**
|
- **[Minimal Intrusive](./docs/minimal_intrusive_design.md).**
|
||||||
- **Skip Large files** and **skip paths** by custom regex conditions!
|
- **Skip Large files** and **skip paths** by custom regex conditions!
|
||||||
@ -53,16 +55,16 @@ This is yet another unofficial sync plugin for Obsidian. If you like it or find
|
|||||||
|
|
||||||
You are greatly welcome to ask questions, post any suggestions, or report any bugs! The project is mainly maintained on GitHub:
|
You are greatly welcome to ask questions, post any suggestions, or report any bugs! The project is mainly maintained on GitHub:
|
||||||
|
|
||||||
- Questions: [GitHub repo Discussions](https://github.com/fyears/remotely-save/discussions)
|
- Questions: [GitHub repo Discussions](https://github.com/remotely-save/remotely-save/discussions)
|
||||||
- Suggestions: also in [GitHub repo Discussions](https://github.com/fyears/remotely-save/discussions)
|
- Suggestions: also in [GitHub repo Discussions](https://github.com/remotely-save/remotely-save/discussions)
|
||||||
- Bugs: [GitHub repo Issues](https://github.com/fyears/remotely-save/issues) (NOT Discussion)
|
- Bugs: [GitHub repo Issues](https://github.com/remotely-save/remotely-save/issues) (NOT Discussion)
|
||||||
|
|
||||||
Additionally, the plugin author may occasionally visit Obsidian official forum and official Discord server, and pay attention to this-plugin-related information there.
|
Additionally, the plugin author may occasionally visit Obsidian official forum and official Discord server, and pay attention to this-plugin-related information there.
|
||||||
|
|
||||||
## Download and Install
|
## Download and Install
|
||||||
|
|
||||||
- Option #1: Search in the official "community plugin list", or visit this: [https://obsidian.md/plugins?id=remotely-save](https://obsidian.md/plugins?id=remotely-save) (which should redirect you into Obsidian app), then install the plugin.
|
- Option #1: Search in the official "community plugin list", or visit this: [https://obsidian.md/plugins?id=remotely-save](https://obsidian.md/plugins?id=remotely-save) (which should redirect you into Obsidian app), then install the plugin.
|
||||||
- Option #2: You can also use [Obsidian42 - BRAT](https://github.com/TfTHacker/obsidian42-brat) to install this plugin. Input `fyears/remotely-save` in the configuration of BRAT.
|
- Option #2: You can also use [Obsidian42 - BRAT](https://github.com/TfTHacker/obsidian42-brat) to install this plugin. Input `remotely-save/remotely-save` in the configuration of BRAT.
|
||||||
- Option #3: [](https://github.com/fyears/remotely-save/releases) Manually download assets (`main.js`, `manifest.json`, `styles.css`) from the latest release.
|
- Option #3: [](https://github.com/fyears/remotely-save/releases) Manually download assets (`main.js`, `manifest.json`, `styles.css`) from the latest release.
|
||||||
- Option #4: [](https://github.com/fyears/remotely-save/actions/workflows/auto-build.yml) Every artifacts are placed in the "Summary" under every successful builds. It's automatically generated by every commit, may break something.
|
- Option #4: [](https://github.com/fyears/remotely-save/actions/workflows/auto-build.yml) Every artifacts are placed in the "Summary" under every successful builds. It's automatically generated by every commit, may break something.
|
||||||
|
|
||||||
@ -193,7 +195,7 @@ Moreover, the bookmarks of Obsidian are actually stored in `.obsidian/bookmarks.
|
|||||||
|
|
||||||
In the latest version, you can change the settings to allow syncing `_` files or folders, as well as `.obsidian` special config folder as described above (but not any other `.` files or folders).
|
In the latest version, you can change the settings to allow syncing `_` files or folders, as well as `.obsidian` special config folder as described above (but not any other `.` files or folders).
|
||||||
|
|
||||||
## PRO Features
|
## PRO (paid) Features
|
||||||
|
|
||||||
See [PRO](./docs/pro/README.md) for more details.
|
See [PRO](./docs/pro/README.md) for more details.
|
||||||
|
|
||||||
|
|||||||
209
README.zh-cn.md
Normal file
209
README.zh-cn.md
Normal file
@ -0,0 +1,209 @@
|
|||||||
|
# Remotely Save
|
||||||
|
|
||||||
|
[English](./README.md) | 中文
|
||||||
|
|
||||||
|
这是Obsidian的一个非官方同步插件。如果你喜欢它或觉得它帮到了你,请考虑在Github上给它一颗[星星 ](https://github.com/fyears/remotely-save)。
|
||||||
|
|
||||||
|
[](https://github.com/fyears/remotely-save/actions/workflows/auto-build.yml)
|
||||||
|
|
||||||
|
[](https://github.com/fyears/remotely-save/releases)
|
||||||
|
|
||||||
|
## 免责声明
|
||||||
|
|
||||||
|
- **这不是 Obsidian 提供的[官方同步服务](https://obsidian.md/sync)。**
|
||||||
|
|
||||||
|
## !!!警告!!!
|
||||||
|
|
||||||
|
**在使用此插件之前,一定,一定要记得备份你的 vault。**
|
||||||
|
|
||||||
|
## 功能
|
||||||
|
|
||||||
|
- 支持:
|
||||||
|
- Amazon S3 或兼容 S3 的服务(Cloudflare R2 / BackBlaze B2 / MinIO / ...)
|
||||||
|
- Dropbox
|
||||||
|
- 个人版本 OneDrive(应用文件夹)
|
||||||
|
- 个人版本 OneDrive(根目录)(PRO 功能)
|
||||||
|
- Webdav(NextCloud / InfiniCloud / Synology webdav 服务器 / ...)
|
||||||
|
- Webdis
|
||||||
|
- Google Drive(GDrive)(PRO 功能)
|
||||||
|
- Box(PRO 功能)
|
||||||
|
- pCloud(PRO 功能)
|
||||||
|
- Yandex Disk(PRO 功能)
|
||||||
|
- Koofr(PRO 功能)
|
||||||
|
- Azure Blob Storage(PRO 功能)
|
||||||
|
- [这里](./docs/services_connectable_or_not.md)详细展示了更多可连接(或不可连接)的服务。
|
||||||
|
- **支持 Obsidian 移动版。** vault 可以通过云服务作为“中介”在移动和桌面设备之间同步。
|
||||||
|
- **支持[端到端加密](./docs/encryption/README.md)。** 如果用户指定密码,文件在发送到云之前会使用 openssl / rclone crypt 格式加密。
|
||||||
|
- **支持计划自动同步。** 你也可以使用侧边栏按钮,或者或命令面板中的命令,来手动触发同步(又或者绑定热键组合然后触发)。
|
||||||
|
- **[最小侵入性](./docs/minimal_intrusive_design.md)。**
|
||||||
|
- 通过自定义正则表达式条件**跳过大文件和路径!**
|
||||||
|
- **[同步算法](./docs/sync_algorithm/v3/intro.md)文档公开。**
|
||||||
|
- 免费版本支持 **[基本冲突检测和处理](./docs/sync_algorithm/v3/intro.md)**。PRO 版本支持 **[高级智能冲突处理](./pro/README.md)**。
|
||||||
|
- 源代码可阅。详见[许可证](./LICENSE)。
|
||||||
|
|
||||||
|
## 限制
|
||||||
|
|
||||||
|
- **云服务会产生费用。** 始终记得注意成本和定价。具体来说,所有操作,包括但不限于下载、上传、列出所有文件、调用任何 api、存储大小,可能会或可能不会产生费用。
|
||||||
|
- **来自浏览器环境的一些限制。** 更多技术细节在[文档](./docs/browser_env.md)中。
|
||||||
|
- **记得保护你的 `data.json` 文件。** 该文件包含敏感信息。
|
||||||
|
- 强烈建议**不要**与任何人共享你的 `data.json` 文件。
|
||||||
|
- 通常**不要**将此文件检入版本控制。默认情况下,插件会尝试在插件目录中创建一个 `.gitignore` 文件(如果不存在),以忽略 `git` 版本控制中的 `data.json`。如果你确切知道这意味着什么并想移除设置,请修改 `.gitignore` 文件或将其设置为空。
|
||||||
|
- **Obsidian 移动版 API 在同步大文件(>= 50 MB)时存在性能问题。**
|
||||||
|
- 设置“跳过大文件”选项可以帮助解决同步大文件的问题。
|
||||||
|
|
||||||
|
## 问题、建议或错误
|
||||||
|
|
||||||
|
非常欢迎你提出问题、发布任何建议或报告任何错误!该项目主要在GitHub上维护:
|
||||||
|
|
||||||
|
- 问题:[GitHub 仓库讨论](https://github.com/remotely-save/remotely-save/discussions)
|
||||||
|
- 建议:也在[GitHub 仓库讨论](https://github.com/remotely-save/remotely-save/discussions)
|
||||||
|
- 错误:[GitHub 仓库 Issue](https://github.com/remotely-save/remotely-save/issues)(注意这里是 bug 反馈,不是讨论)
|
||||||
|
|
||||||
|
此外,插件作者可能会偶尔访问 Obsidian 官方论坛和官方 Discord 服务器,并关注与该插件相关的信息。
|
||||||
|
|
||||||
|
## 下载和安装
|
||||||
|
|
||||||
|
- 选项 #1:在官方“社区插件列表”中搜索,或访问此链接:[https://obsidian.md/plugins?id=remotely-save](https://obsidian.md/plugins?id=remotely-save)(应该会重定向到 Obsidian app),然后安装插件。
|
||||||
|
- 选项 #2:你也可以使用 [Obsidian42 - BRAT](https://github.com/TfTHacker/obsidian42-brat) 来安装此插件。在 BRAT 的配置中输入 `remotely-save/remotely-save`。
|
||||||
|
- 选项 #3:[](https://github.com/fyears/remotely-save/releases) 从最新发布中手动下载文件(`main.js`,`manifest.json`,`styles.css`)。
|
||||||
|
- 选项 #4:[](https://github.com/fyears/remotely-save/actions/workflows/auto-build.yml) 每个成功的构建的“摘要”下都有构建文件。它是由每个提交自动生成的,可能不会正常工作。
|
||||||
|
|
||||||
|
## 使用方法
|
||||||
|
|
||||||
|
### S3
|
||||||
|
|
||||||
|
- 教程/示例:
|
||||||
|
- [Cloudflare R2](./docs/remote_services/s3_cloudflare_r2/README.md)
|
||||||
|
- [BackBlaze B2](./docs/remote_services/s3_backblaze_b2/README.md)
|
||||||
|
- [Storj](./docs/remote_services/s3_storj_io/README.md)
|
||||||
|
- [腾讯云 COS](./docs/remote_services/s3_tencent_cloud_cos/README.zh-cn.md) | [Tencent Cloud COS](./docs/remote_services/s3_tencent_cloud_cos/README.md)
|
||||||
|
- [MinIO](./docs/remote_services/s3_minio/README.md)
|
||||||
|
- [又拍云](./docs/remote_services/s3_upyun/README.zh-cn.md)
|
||||||
|
- 准备你的 S3(兼容)服务信息:[端点,区域](https://docs.aws.amazon.com/general/latest/gr/s3.html),[访问密钥 ID ,密钥](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html),存储桶名称。
|
||||||
|
- 如果你使用 AWS S3,还要创建[策略和用户](./docs/remote_services/s3_general/s3_user_policy.md)。
|
||||||
|
- 非常旧版本的 Obsidian 需要[配置 CORS](./docs/remote_services/s3_general/s3_cors_configure.md)。
|
||||||
|
- 下载并启用此插件。
|
||||||
|
- 在插件的设置中输入你的信息。
|
||||||
|
- 如果你没有在设置中设置前缀,存储桶应该是空的,并且仅用于同步一个 vault。你可以在设置中设置前缀,以便同一个存储桶可以存储多个 vault。
|
||||||
|
- 如果你想启用端到端加密,也要在设置中设置一个密码。如果你没有指定密码,文件和文件夹将以明文、原始内容同步到云。
|
||||||
|
- **每次**你想在本地和远程之间同步你的 vault 的时候,点击侧边栏上的新“圆形箭头”图标。(或者,你可以在设置面板中配置自动同步(见下一章)。)在同步过程中,图标变成“两个半圆形箭头”。除了点击侧边栏上的图标,你还可以在命令面板中激活相应的命令。
|
||||||
|
- **同步时要有耐心。** 尤其是在第一次同步时。
|
||||||
|
- 如果你想在多个设备之间同步文件,**在使用默认设置时,你的 vault 名称应该相同**。
|
||||||
|
|
||||||
|
### Dropbox
|
||||||
|
|
||||||
|
- **此插件不是官方Dropbox产品。** 插件只是使用 Dropbox 的公共API。
|
||||||
|
- 授权后,插件可以读取你的姓名和电子邮件(在 Dropbox api 上无法取消选择),并读取和写入你的 Dropbox 的 `/Apps/remotely-save` 文件夹中的文件。
|
||||||
|
- 如果你决定授权此插件连接到 Dropbox,请访问插件的设置页,选择Dropbox 然后按照说明操作。[更多带截图的信息在这里](./docs/dropbox_review_material/README.md)。
|
||||||
|
- 基于密码的端到端加密也是可以的。但请注意,**vault 名称本身未加密**。
|
||||||
|
- 如果你想在多个设备之间同步文件,**在使用默认设置时,你的 vault 名称应该相同**。
|
||||||
|
|
||||||
|
### 个人 OneDrive(应用文件夹)
|
||||||
|
|
||||||
|
- **此插件不是官方 Microsoft / OneDrive 产品。** 插件只是使用 Microsoft 的 [OneDrive 公共 API](https://docs.microsoft.com/en-us/onedrive/developer/rest-api) 而已。
|
||||||
|
- 此插件仅适用于“个人 OneDrive”,不适用于“OneDrive for Business。详见 [#11](https://github.com/fyears/remotely-save/issues/11)。
|
||||||
|
- 授权后,插件可以读取你的姓名和电子邮件,并读取和写入你的OneDrive的 `/Apps/remotely-save` 文件夹中的文件。**Remotely Save 的免费版本仅连接到应用文件夹,而 PRO 版本可以连接到 Onedrive 的根文件夹。见下面的 PRO 部分。**
|
||||||
|
- 如果你决定授权此插件连接到 OneDrive,请访问插件的设置页,选择OneDrive 然后按照说明操作。
|
||||||
|
- 基于密码的端到端加密也是可以的。但请注意,**vault 名称本身未加密**。
|
||||||
|
- 如果你想在多个设备之间同步文件,**在使用默认设置时,你的 vault 名称应该相同**。
|
||||||
|
- 你可能还想查看 [OneDrive 的常见问题](./docs/remote_services/onedrive/README.md)。
|
||||||
|
|
||||||
|
### webdav
|
||||||
|
|
||||||
|
- 教程/示例:
|
||||||
|
- [Nextcloud](./docs/remote_services/webdav_nextcloud/README.md)
|
||||||
|
- [The Good Cloud](./docs/remote_services/webdav_thegoodcloud/README.md)
|
||||||
|
- [ownCloud](./docs/remote_services/webdav_owncloud/README.md)
|
||||||
|
- [InfiniCloud](./docs/remote_services/webdav_infinicloud_teracloud/README.md)
|
||||||
|
- [Synology webdav 服务器](./docs/remote_services/webdav_synology_webdav_server/README.md) | [群晖 webdav 服务器](./docs/remote_services/webdav_synology_webdav_server/README.zh-cn.md)
|
||||||
|
- [dufs](./docs/remote_services/webdav_dufs/README.md)
|
||||||
|
- [AList(中文)](./docs/remote_services/webdav_alist/README.zh-cn.md) | [AList (English)](./docs/remote_services/webdav_alist/README.md)
|
||||||
|
- [坚果云](./docs/remote_services/webdav_jianguoyun/README.zh-cn.md) | [JianGuoYun/NutStore](./docs/remote_services/webdav_jianguoyun/README.md)
|
||||||
|
- [Open Media Vault](./docs/remote_services/webdav_openmediavault/README.md)
|
||||||
|
- [Nginx (`ngx_http_dav_module`, `nginx-dav-ext-module`, with Docker)](./docs/remote_services/webdav_nginx/README.md)
|
||||||
|
- [Apache (with Docker)](./docs/remote_services/webdav_apache/README.md)
|
||||||
|
- 非常旧版本的Obsidian需要[配置 CORS](./docs/remote_services/webdav_general/webav_cors.md)。
|
||||||
|
- 你的数据会同步到你的webdav服务器上的 `${vaultName}` 子文件夹。
|
||||||
|
- 基于密码的端到端加密也是可以的。但请注意,**vault 名称本身未加密**。
|
||||||
|
- 如果你想在多个设备之间同步文件,**在使用默认设置时,你的 vault 名称应该相同**。
|
||||||
|
|
||||||
|
### Webdis
|
||||||
|
|
||||||
|
- 教程:
|
||||||
|
- [Webdis](./docs/remote_services/webdis/README.md)
|
||||||
|
- 实验性质。
|
||||||
|
- 你必须自己设置和保护你的 web 服务器。
|
||||||
|
|
||||||
|
### Onedrive(完整访问)(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 Onedrive(完整)同步”允许用户与 Onedrive 根文件夹进行同步。教程和限制在[这里](./docs/remote_services/onedrivefull/README.md)。
|
||||||
|
|
||||||
|
### Google Drive(GDrive)(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 Google Drive 同步”允许用户与 Google Drive 进行同步。教程和限制在[这里](./docs/remote_services/googledrive/README.md)。
|
||||||
|
|
||||||
|
### Box(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 Box 同步”允许用户与 Box 同步。教程和限制在[这里](./docs/remote_services/box/README.md)。
|
||||||
|
|
||||||
|
### pCloud(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 pCloud 同步”允许用户与 pCloud 同步(使用其原生 API 而不是 webdav)。教程和限制在[这里](./docs/remote_services/pcloud/README.md)。
|
||||||
|
|
||||||
|
### Yandex Disk(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 Yandex Disk 同步”允许用户与 Yandex Disk 同步(使用其原生 API 而不是 webdav)。教程和限制在[这里](./docs/remote_services/yandexdisk/README.md)。
|
||||||
|
|
||||||
|
### Koofr(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 Koofr 同步”允许用户与 Koofr 同步(使用其原生 API 而不是 webdav)。教程和限制在[这里](./docs/remote_services/koofr/README.md)。
|
||||||
|
|
||||||
|
### Azure Blob Storage(PRO 功能)
|
||||||
|
|
||||||
|
PRO(付费)功能“与 Azure Blob Storage 同步”允许用户与 Azure Blob Storage 同步。教程和限制在[这里](./docs/remote_services/azureblobstorage/README.md)。
|
||||||
|
|
||||||
|
## 智能冲突(PRO功能)
|
||||||
|
|
||||||
|
基本(免费)版本可以检测冲突,但用户必须选择保留较新版本或较大版本的文件两种选项之一。
|
||||||
|
|
||||||
|
PRO(付费)功能“智能冲突”为用户提供了另一个选项:合并小的 markdown 文件,或复制大的 markdown 文件或任何大小的非 markdown 文件。
|
||||||
|
|
||||||
|
文档见[这里](./docs/pro/README.md)。
|
||||||
|
|
||||||
|
## 定时自动同步
|
||||||
|
|
||||||
|
- 你可以在设置中配置每 N 分钟自动同步。
|
||||||
|
- 在自动同步模式下,如果发生任何错误,插件会**静默失败**。
|
||||||
|
- 自动同步仅在 Obsidian 打开时有效。由于插件仅在 Obsidian 提供的浏览器环境中工作,因此**技术上不可能**在 Obsidian 后台自动同步。
|
||||||
|
|
||||||
|
## 保存时同步
|
||||||
|
|
||||||
|
- 你可以在设置中配置保存时同步。
|
||||||
|
- 在保存时同步模式下,如果发生任何错误,插件会**静默失败**。
|
||||||
|
|
||||||
|
## 配置文件夹/文件和书签
|
||||||
|
|
||||||
|
默认情况下,插件不同步 obsidian 的配置文件夹/文件(通常是 `.obsidian` 文件夹),因为它是隐藏文件之一。
|
||||||
|
|
||||||
|
然而,在最新版本中,你可以在设置中启用同步配置文件夹。请注意,这是一个实验性功能。特别是一些配置文件的修改时间每次 Obsidian 打开时都会改变,这破坏了插件的假设,因此某些信息可能无法正确同步。
|
||||||
|
|
||||||
|
此外,Obsidian的书签实际上存储在 `.obsidian/bookmarks.json` 文件中的。你也可以在设置中设置同步这个文件(而不是整个配置文件夹)。插件将保持跨设备最新修改的文件。
|
||||||
|
|
||||||
|
## 隐藏文件或文件夹
|
||||||
|
|
||||||
|
**默认情况下,所有以 `.`(点)或 `_`(下划线)开头的文件或文件夹都被视为隐藏文件,不会被同步。** 如果你有一些文件只是本地保留,这很有用。但这种策略也意味着主题/其他插件/此插件的设置也不会被同步。
|
||||||
|
|
||||||
|
在最新版本中,你可以更改设置以允许同步 `_` 文件或文件夹,以及如上所述的 `.obsidian` 特殊配置文件夹(但不包括其他任何 `.` 文件或文件夹)。
|
||||||
|
|
||||||
|
## PRO(付费)功能
|
||||||
|
|
||||||
|
详见[PRO](./docs/pro/README.md)了解更多详情。
|
||||||
|
|
||||||
|
## 如何调试
|
||||||
|
|
||||||
|
详见[这里](./docs/how_to_debug/README.md)了解更多详情。
|
||||||
|
|
||||||
|
## 额外功能:通过 QR 码导入和导出非 OAuth2 插件设置
|
||||||
|
|
||||||
|
详见[这里](./docs/import_export_some_settings.md)了解更多详情。
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user