适配 GitHub Releases
Please make sure of the following things
- [x] I have read the documentation.
- [x] I'm sure there are no duplicate issues or discussions.
- [x] I'm sure this feature is not implemented.
- [x] I'm sure it's a reasonable and popular requirement.
Description of the feature / 需求描述
向 用户/朋友 提供开源软件最新版的下载链接,无需他们访问 GitHub。(这与最近合入的 GitHub 驱动不同)
类似于 地址树,但需要自动更新为最新的版本。且包含 仓库下的 *.md 文件。
Suggested solution / 实现思路
https://api.github.com/repos/alistGo/alist/releases/latest
使用此 API 来获取最新版。
~~如果此 Feature 符合 合理且受欢迎的要求 的要求,我可以自行 pr。~~ pr: #7844
Additional context / 附件
No response
支持,很棒的想法
有趣,很棒的想法
我也有一个在用的 github release driver,这样就能把测试包和其他文件下载都集中到 Alist 中管理。
设计跟楼主的 #7844 不太一样:
- 在楼主的设计中,通过一个 storage 配置映射多个仓库的最新 Release。
- 而我的需求(设计)则是“一个 storage 配置对应一个仓库”,alist 中挂载仓库所有版本的 Release(tag name)(见附图)。
另外由于我们工作仓库是私有仓库,所以也支持302(浏览器“自备”github session) 和代理模式下载。配置好 repo name(如 AlistGo/alist) 和 personal access token 就可以工作。
~晚点整理一下提个 PR 上来😉。~ see #7859
下图是 AlistGo/alist 的挂载示例:
我也有一个在用的 github release driver,这样就能把测试包和其他文件下载都集中到 Alist 中管理。
设计跟楼主的 #7844 不太一样:
- 在楼主的设计中,通过一个 storage 配置映射多个仓库的最新 Release。
- 而我的需求(设计)则是“一个 storage 配置对应一个仓库”,alist 中挂载仓库所有版本的 Release(tag name)(见附图)。
另外由于我们工作仓库是私有仓库,所以也支持302(浏览器“自备”github session) 和代理模式下载。配置好 repo name(如 AlistGo/alist) 和 personal access token 就可以工作。
~晚点整理一下提个 PR 上来😉。~ see #7859
需求差异很小,如果你之前就pr了,我就可以在你的基础上加 readme 显示了😂
我修改了pr描述,以便能区分这两个pr的区别。