Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] 从github直接搜索和下载应用 #89

Open
tumuyan opened this issue Feb 26, 2022 · 5 comments
Open

[enhancement] 从github直接搜索和下载应用 #89

tumuyan opened this issue Feb 26, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@tumuyan
Copy link

tumuyan commented Feb 26, 2022

新功能

  1. 无需订阅源,直接利用github的搜索/收藏/访问页面,获得一组应用
  2. 解析github release页面自动获取release版本的apk文件
  3. 解析github action获取自动构建的测试版软件(这个方法存在一些问题,github action需要登录帐号才能下载,并且build不一定有结果,build结果很可能并非可以直接安装的格式)

添加该功能的原因

去除他人干预地获取应用,更自由,也更便利

实现方法或步骤

待定

@tumuyan tumuyan added the enhancement New feature or request label Feb 26, 2022
@dupdate-bot dupdate-bot added this to Android 端需求 in Distributed Update System 看板 Feb 26, 2022
@xz-dev
Copy link
Member

xz-dev commented Feb 26, 2022

@tumuyan 1. 源代表着不同的网站解析方式,所以这个无论如何都是必要的
2. 这个正在做
3. 这个需要服务端的后续开发

@tumuyan
Copy link
Author

tumuyan commented Feb 26, 2022

@tumuyan 1. 源代表着不同的网站解析方式,所以这个无论如何都是必要的

我的想法是,不需要更新hub,不需要人工维护每一个应用,就可以直接查看一个软件列表,或者直接搜索。当然如果网站API变化了,解析器是需要更新的

@xz-dev
Copy link
Member

xz-dev commented Feb 26, 2022

@tumuyan 目前可以你自己填写你希望的 URL,并不是像包管理器那样有一个固定的数据库。发现界面的列表只是方便用户下载/更新/分享已有的配置。

@tumuyan
Copy link
Author

tumuyan commented Feb 26, 2022

所以如果需要添加应用,需要在编辑跟踪项页面粘贴每每一个应用的url。
这不是不可接受,但是如果有一个批量验证并添加的功能,操作会更加方便。

@momobobe
Copy link
Contributor

I second this.

For Item 1, I guess OP meant to make more work done on the client side, rely less on remote server, aka enhance capability of local crawling. I think it's a good idea to add an option (up to the user's preferrence) to ensure only direct connection to update sources should be made during using UpgradeAll, unless user triggered update for rule, for the sake of privacy and robustness.

For Item 2, source code for Izzy's repo may provide some inspiration. It does something very similar like your project, to download APKs from GitHub, GitLab, fixed link, etc, although it runs on a server. The biggest problem for that project is, Izzy decides everything and has refused a lot of Apps for inclusion, and that's why I found this project of great potential. As a user, I just want a solution to finish everything about updating Apps downloadable from GitHub solely on my Android device, without intermediate server (server for rule subscription is acceptable though).

As for Item 3, maybe it's a little too complex as OP suggested, but if you wanna try, maybe nightly.link is good project for reference, which provides download for GitHub Actions build artifacts.

Also for OP's supplement, it must be very appealing if able to export & import custom list provided by users and editable outside the App, which would be very convenient to share and maintain.

More of my ideas are expanded in #175.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Distributed Update System 看板
  
Android 端需求
Development

No branches or pull requests

3 participants