Obtainium icon indicating copy to clipboard operation
Obtainium copied to clipboard

Add option to search apps using Github api

Open ph00lt0 opened this issue 3 years ago • 3 comments
trafficstars

As a way to move more to apps discovery I think a great start would be to utilize the option to use API keys of GitHub to search repositories. Ideally these would be filtered based on the results having releases with an APK file.

This all would remove the requirement to find the url of the app and copy it over etc.

ph00lt0 avatar Oct 02 '22 13:10 ph00lt0

This is a good idea, but i'm not sure about filtering results to get rid of non-APK releases, because there could be 100s of results and checking each needs one API request so even a user with a token could run out quickly (and it would take a long time). But yeah, allowing the user to search then pick a result can be looked into.

ImranR98 avatar Oct 02 '22 20:10 ImranR98

i think the token running out is not so likely. I use an app called raycast to search github repo's and I never hit a limit. Filtering is def, a challenge. Even without the filter it could already help to add apps people know.

ph00lt0 avatar Oct 02 '22 20:10 ph00lt0

Is there no official way that Github devs designate what platform their repos target? Like a Tag for android? If there is, you could use that as a filter

S7venLights avatar Oct 04 '22 07:10 S7venLights

Added: https://github.com/ImranR98/Obtainium/releases/tag/v0.7.0-beta

No way to filter only for android Apps as far as I can see, so it's up to the user to recognize what they want. For now the results only show App name/author since that was easiest to implement, but I'll add App descriptions and URL links later to make it easier to pick results. Leaving the issue open till then.

ImranR98 avatar Nov 12 '22 14:11 ImranR98

Done: https://github.com/ImranR98/Obtainium/releases/tag/v0.7.1-beta

ImranR98 avatar Nov 12 '22 16:11 ImranR98