leafrelay 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ # LeafRelay CLI
2
+
3
+ LeafRelay 可以脱离 VS Code,在后台持续同步 Overleaf 项目和本地目录。
4
+
5
+ ```bash
6
+ npm install --global leafrelay
7
+ leafrelay login https://www.overleaf.com
8
+ cd /path/to/local-replica
9
+ leafrelay serve
10
+ ```
11
+
12
+ `leafrelay serve` 会读取项目中的 `.overleaf/settings.json`。登录会话按服务器保存到 `~/.leafrelay/config.json`;可以用 `LEAFRELAY_CONFIG` 指定其他配置文件,或用 `LEAFRELAY_COOKIE` 仅覆盖当前进程使用的 cookie。
13
+
14
+ VS Code 扩展、架构和完整文档见 [LeafRelay 仓库](https://github.com/yunhaoli24/leafrelay)。