> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/zh-cn/readme/ayakaleaf-pro-vs-server-pro.md).

# Overleaf Server Pro 与 Ayakaleaf Pro

{% hint style="info" %}
Ayakaleaf Pro 是 Overleaf 社区版的增强实现，提供所有 *<mark style="color:$primary;">**免费的高级**</mark>* 来自 Server Pro 的功能。与可在以下位置获取的 Overleaf Common 不同 <https://www.overleaf.com/>，我们没有编译时间限制、没有用户数量的许可要求，并且您可以完全自托管自己的数据，确保绝对安全。

Overleaf Server Pro 是 Overleaf 的商业自托管部署，提供官方支持。有关 Server Pro 的更多信息，请访问 [Server Pro](https://www.overleaf.com/for/enterprises/when-to-use-overleaf-on-premises-vs-in-the-cloud).
{% endhint %}

{% hint style="warning" %}
Overleaf 社区版适用于以下环境： **所有** 用户都值得信任。社区版 **不** 适用于由于无法使用沙盒编译而需要隔离用户的场景。

如果不使用沙盒，LaTeX 编译将以与容器相同的权限运行，从而可以访问其文件系统、网络和环境变量。这会带来数据泄露或系统被攻破的风险。无沙盒编译只能在完全可信的环境中使用；对于多用户或生产部署，强烈建议使用沙盒编译。

有关沙盒编译的更多信息，请查看我们的 [文档](broken://pages/bfa40b29ead2d38a55ee632ceef263be394836f9).
{% endhint %}

### 对用户的优势

| 功能            | 社区版 | Overleaf Server Pro | Ayakaleaf Pro（我们的） |
| ------------- | :-: | :-----------------: | :----------------: |
| 强大的 LaTeX 编辑器 |  ✓  |          ✓          |          ✓         |
| 完整项目历史        |  ✓  |          ✓          |          ✓         |
| 评论            |  X  |          ✓          |          ✓         |
| 实时跟踪更改        |  X  |          ✓          |          ✓         |
| 轻松的内部协作       |  X  |          ✓          |          ✓         |
| 私有模板管理系统      |  X  |          ✓          |          ✓         |
| Git 集成        |  X  |          ✓          |          ✓         |
| 符号面板          |  X  |          ✓          |          ✓         |
| GitHub 集成     |  X  |          X          |          ✓         |
| Zotero 集成     |  X  |          X          |          ✓         |
| Pandoc 导入/导出  |  X  |          X          |          ✓         |
| Python 脚本运行器  |  X  |          X          |          ✓         |

### 对用户管理员的优势 <a href="#benefits-for-user-admins" id="benefits-for-user-admins"></a>

| 功能           | 社区版 | Overleaf Server Pro | Ayakaleaf Pro（我们的） |
| ------------ | :-: | :-----------------: | :----------------: |
| 通过管理面板轻松管理用户 |  有限 |          ✓          |          ✓         |
| 无需手动升级用户     |  X  |          ✓          |          ✓         |

### 对系统管理员的优势 <a href="#benefits-for-system-admins" id="benefits-for-system-admins"></a>

<table><thead><tr><th>功能</th><th width="172" align="center">社区版</th><th width="198.5" align="center" valign="middle">Overleaf Server Pro</th><th align="center">Ayakaleaf Pro（我们的）</th></tr></thead><tbody><tr><td>通过 SAML 2 和 LDAP 实现单点登录（SSO）</td><td align="center">X</td><td align="center" valign="middle">✓</td><td align="center">✓</td></tr><tr><td>通过 OAuth 2.0 实现单点登录（SSO）</td><td align="center">X</td><td align="center" valign="middle">X</td><td align="center">✓</td></tr><tr><td>直接访问所有用户项目</td><td align="center">✓</td><td align="center" valign="middle">✓</td><td align="center">✓</td></tr><tr><td>自托管</td><td align="center">✓</td><td align="center" valign="middle">✓</td><td align="center">✓</td></tr><tr><td>自动用户注册</td><td align="center">X</td><td align="center" valign="middle"><p>✓</p><p>（LDAP/SAML）</p></td><td align="center"><p>✓</p><p>（LDAP/SAML/OIDC）</p></td></tr><tr><td>沙盒编译</td><td align="center">X</td><td align="center" valign="middle">✓</td><td align="center">✓</td></tr><tr><td>优化版 TeX Live</td><td align="center">X</td><td align="center" valign="middle">✓</td><td align="center"><a href="https://github.com/ayaka-notes/texlive-full/">Texlive-full</a></td></tr><tr><td>安全发布的提前通知</td><td align="center">X</td><td align="center" valign="middle">✓</td><td align="center">社区</td></tr></tbody></table>

注：在过去三年中，我们一直在持续优化我们的 [Texlive-full](https://github.com/ayaka-notes/texlive-full/) 镜像。我们已针对数万份 LaTeX 项目进行了测试，以确保稳定、高质量的编译结果，并且这些结果与官方 Overleaf 平台生成的结果非常接近。

### 社区支持

对于使用自托管 Overleaf 实例的人，支持由社区通过 GitHub 提供 [问题](https://github.com/ayaka-notes/overleaf-pro/issues).

要保持在受支持的版本分支上，您可以将下方命令的输出与发布说明中公布的镜像 ID 进行比较，以确认您正在运行的 Overleaf 版本。

```bash
docker inspect --format '{{.Image}}' sharelatex | awk -F: '{print substr($2, 1, 12)}'
```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/zh-cn/readme/ayakaleaf-pro-vs-server-pro.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
