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

Added blurhash support for anilist and anime news #435

Merged
merged 7 commits into from
Dec 4, 2023
Merged

Added blurhash support for anilist and anime news #435

merged 7 commits into from
Dec 4, 2023

Conversation

tanwarjigyasu
Copy link
Contributor

What kind of change does this PR introduce?

Additional key named imageHash, coverHash and thumbnailHash etc which contains a small blurhash code that loads instantly to display until actual image loads.
I had to add a new npm package for it to convert image url into blurhash key.

Did you add tests for your changes?

No

If relevant, did you update the documentation?

No

Summary

I added blurhash support for images in anilist and ann (anime news) provider. Blurhash provides a blur image which loads instantly until the actual image is loaded which created good user experience unlike normal loaders and shimmer effects.

Other information

-> BlurHash Official Website -> https://blurha.sh/
-> NPM Package Used -> https://www.npmjs.com/package/blurhash

@riimuru riimuru linked an issue Dec 4, 2023 that may be closed by this pull request
@riimuru riimuru merged commit 4dc76dc into consumet:master Dec 4, 2023
3 of 5 checks passed
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.

Enhancement: Blurhash Support
3 participants