alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
39.53k stars 5.14k forks source link

【本地设置】希望提供默认Aria2地址配置 #6429

Open junfengP opened 1 month ago

junfengP commented 1 month ago

Please make sure of the following things

Description of the feature / 需求描述

当前【本地设置】中可以配置Aria2的下载地址和密钥,该信息的存储似乎是基于浏览器的本地存储。当切换设备 或 浏览器数据被清理时,需要重新配置【本地设置】。

希望能提供一个解决方案,避免重复配置【本地设置】

Suggested solution / 实现思路

  1. 提供环境变量/程序配置能力,可以指定全局-本地设置-aria2配置
  2. 增加帐号级别配置,在配置页面管理-本地设置-aria2配置
  3. 在自定义网站样式设置中,将aria2配置抽象出来,在管理页面进行配置

从alist目前的使用体验上来看,方案3是最合理的。

Additional context / 附件

No response

welcome[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the issue template!

li-peifeng commented 1 month ago

首先很多人是共享alist出来的,你配置好了别人要是点了难道都下载到你的设备上? 如果你想要默认配置好的可以使用自己编译

stale[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.