redlib icon indicating copy to clipboard operation
redlib copied to clipboard

✨ Feature parity: Open Graph Preview

Open brainwo opened this issue 1 year ago • 0 comments

How does this feature work on Reddit?

There are preview for links with Open Graph protocol support, as shown in the screenshot attached below.

Describe how this could be implemented into Redlib

https://www.reddit.com/r/krita/comments/1d03ozl/theres_still_time_to_nominate_best_of.json Reddit already have this in their JSON, so perhaps we can just fetch it from there.

Describe alternatives you've considered

Download the HTML of shared links and fetch the open graph metadata.

Additional context / screenshot

On Reddit: image On Redlib (v0.31.2): image

I haven't spend much time on Redlib, I apologize in advance if my feature request/proposed solution isn't compatible with how Redlib is designed to be.

brainwo avatar May 25 '24 04:05 brainwo