Skip to content

Commit b2d6a0e

Browse files
authored
update Seafile docs (#333)
1 parent c2c15a1 commit b2d6a0e

File tree

2 files changed

+41
-16
lines changed

2 files changed

+41
-16
lines changed

docs/guide/drivers/Seafile.md

+18-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ star: true
2020

2121
Seafile uses libraries as a unit for version control and synchronization.
2222

23-
Use this driver to mount a Seafile repository to Alist, encrypted repositories are not supported yet.
23+
Use this driver to mount a Seafile repository to Alist, encrypted libraries are supported.
2424

2525
## **Root folder path**
2626

27-
Directory within the Seafile repository to be mounted, default root directory: `/`
27+
1. If the `RepoId` is not set, this configuration specifies the name and sub-path of the library to access, defaulting to the root path: `/`, indicating displaying all libraries. Suppose you have a library named `example`, if you only want to mount the contents of this library, you can set this item to `/example`; if you only want to display a directory named `abc` within this library, you can set this item to `/example/abc`, and so on.
28+
29+
30+
2. If the `RepoId` is set, this configuration is used to set the directory within the specified library, defaulting to the root directory: `/`.
2831

2932
## **Address**
3033

@@ -40,13 +43,23 @@ The email or username used to log in to your Seafile server.
4043

4144
The password for your email or username.
4245

43-
## **RepoId**
46+
## **RepoId (Library ID)**
47+
48+
Seafile library ID, such as: `86fc6316-3f2a-4c64-b6f5-d4d2b341bc9a`
49+
50+
> Open the Seafile library in a browser, and you can see the library ID in the address bar.
51+
52+
Can be left empty, if left empty, all visible libraries for the specified account will be displayed.
53+
54+
## **RepoPwd (Library Password)**
4455

45-
Seafile library ID, e.g. `86fc6316-3f2a-4c64-b6f5-d4d2b341bc9a`
56+
Set the password used to access encrypted libraries, leave blank if no encrypted libraries are present.
4657

47-
> Open the Seafile library in your browser and you will see the library ID in the address bar.
58+
After configuring this item, Alist will use this password to access all encrypted libraries for the specified account, without affecting access to unencrypted libraries. If you have multiple encrypted libraries using the same password, they can all be accessed normally.
4859

60+
Different passwords for different libraries within a storage are not currently supported. If you have such a requirement, you can add multiple Seafile storage to achieve this, allowing you to specify different passwords for accessing different encrypted libraries.
4961

62+
> If you still cannot access files within encrypted libraries after setting the library password, please check if the password and other configurations above are correct. It is recommended to restart Alist after modifying this password configuration to avoid caching issues.
5063
5164
### **The default download method used**
5265

docs/zh/guide/drivers/Seafile.md

+23-11
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,47 @@ star: true
1818
---
1919
# Seafile
2020

21-
Seafile以资料库为单位进行版本控制和同步
21+
Seafile 是以资料库为单位进行版本控制和同步的开源云盘
2222

23-
使用本驱动可以挂载一个Seafile资料库到Alist,暂不支持加密资料库
23+
使用本驱动可以挂载 Seafile 的资料库到 Alist,已支持访问加密资料库
2424

25-
## **Root folder path**
25+
## **根文件夹路径**
2626

27-
要挂载的Seafile资料库内的目录,默认根目录`/`
27+
1、如果未设置资料库ID(RepoId),则该配置可指定要访问的资料库的名称与子路径,默认为根路径`/`,表示展示所有资料库。假设你有一个资料库名为 `example`,如果你只想挂载该资料库的内容,可以将本项设为 `/example`;如果你只想展示该资料库内一个名为 `abc` 的目录,则可以将本项设置为 `/example/abc` ,以此类推。
2828

29-
## **Address**
29+
2、如果设置了资料库ID(RepoId),则该配置用来设置指定资料库内的目录,默认为根目录:`/`
3030

31-
你的Seafile服务器地址,形如:
31+
## **地址**
32+
33+
你的 Seafile 服务器地址,形如:
3234
- `https://seacloud.cc`
3335
- `http://192.168.1.24:8000`
3436

35-
## **Username**
37+
## **用户名**
3638

37-
用于登录你的Seafile服务器的邮箱或用户名
39+
用于登录你的 Seafile 服务器的邮箱或用户名
3840

39-
## **Password**
41+
## **密码**
4042

4143
邮箱或用户名对应的密码。
4244

43-
## **RepoId**
45+
## **RepoId(资料库ID)**
4446

45-
Seafile资料库ID,形如:`86fc6316-3f2a-4c64-b6f5-d4d2b341bc9a`
47+
Seafile 资料库ID,形如:`86fc6316-3f2a-4c64-b6f5-d4d2b341bc9a`
4648

4749
> 在浏览器中打开Seafile资料库,即可在地址栏中看到资料库ID。
4850
51+
可留空不填,不填则展示指定账号所有可见的资料库。
52+
53+
## **RepoPwd(资料库密码)**
54+
55+
设置用来访问加密资料库的密码,如果没有加密资料库请留空。
56+
57+
配置该项后 Alist 将会用此密码访问指定账号所有已加密的资料库,不会影响未加密资料库的访问。如果你有多个加密资料库使用了相同的密码则均可以正常访问。
58+
59+
暂不支持在一个存储内对不同的资料库配置不同的密码进行访问,如果你有这种需求,可以添加多个 Seafile 存储来实现,这样就可以对不同的加密资料库指定不同的密码进行访问。
4960

61+
> 如果设置了资料库密码后仍无法访问加密资料库内的文件,请检查密码及上面的其他配置是否有误,建议修改此密码配置后重新启动 Alist,避免缓存的影响。
5062
5163
### **默认使用的下载方式**
5264

0 commit comments

Comments
 (0)