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

Fetch and cache icons #611

Open
momobobe opened this issue Jun 7, 2023 · 3 comments
Open

Fetch and cache icons #611

momobobe opened this issue Jun 7, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@momobobe
Copy link

momobobe commented Jun 7, 2023

Currently only an installed App has its icon displayed, which makes it hard to distinguish all the uninstalled Apps from a long list. Maybe it's better to fetch the icon from sources upon adding in list. This is doable since sources of alternative App stores always have icons displayed, and sources of code repo usually contain the icon as PNG files in locations like .../src/main/ or .../src/main/res/mipmap-{$dpi}/. After fetching, the icons should be stored locally in persistent cache unless there is any change, and uninstalling an App won't remove its icon, so in this way App records with empty icon could get eliminated.

@ImranR98 ImranR98 added the enhancement New feature or request label Jun 9, 2023
@Zumux
Copy link

Zumux commented Jun 13, 2023

I do like this idea however if this will be added I think there should be a more obvious way to differentiate installed from not installed apps beside the note on the saude that's says not installed. Having no icon makes it super convenient to see which aren't installed

@tusharchopra07
Copy link

tusharchopra07 commented Oct 21, 2023

Same issue the icons were not showing of the apps that are not installed @ImranR98
Screenshot_2023-10-21-09-42-30-272_dev imranr obtainium

@wasu-code
Copy link

wasu-code commented Aug 5, 2024

GitLab api returns project avatar avatar_url example

GitHub allows setting social media preview (Settings > Social preview ), but it's not returned by api (probably present in html though).
Alternatively most repos include app icon in README so taking first image (or first with 1:1 aspect ratio) would allow adding icons before installation.

F-droid seems to provide icon, example when searching


In terms of distinguishing installed from not installed: maybe half-transparent icons or in grayscale (?). Because I agree we need some good way to separate them.

Or maybe making icons smaller, it may look wird but surely would be easy to notice and distinguish one from the other

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
None yet
Development

No branches or pull requests

5 participants