Skip to content

fix(sync): replace non-image or very large screenshots with warning images#19

Open
edward-ly wants to merge 3 commits into
masterfrom
fix/noid/validate-screenshots
Open

fix(sync): replace non-image or very large screenshots with warning images#19
edward-ly wants to merge 3 commits into
masterfrom
fix/noid/validate-screenshots

Conversation

@edward-ly
Copy link
Copy Markdown
Contributor

@edward-ly edward-ly commented May 20, 2026

Along with some minor refactoring, this PR validates data downloaded from the screenshot URLs in every app's info.xml, ensuring that every screenshot actually consists of image data. We also now impose a 10MB limit on every screenshot. An auto-generated image replaces every screenshot that is either not recognized as an image (e.g. 404 Not Found) or too large in size.

Example images:
test1
test2

edward-ly added 3 commits May 19, 2026 14:47
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
…mages

Signed-off-by: Edward Ly <contact@edward.ly>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant