revolution-irc icon indicating copy to clipboard operation
revolution-irc copied to clipboard

[Feature request] Media and Open Graph preview

Open codeurimpulsif opened this issue 1 year ago • 2 comments

It could be really cool if the app show a preview for things like:

  • Media URL (images, maybe sound and video?)
  • URL informations (websites with HTML Open Graph tags) like title, image and description.

It's a feature that a lot of modern chat applications have. It could be enable/disable via a setting button (maybe disable by default for privacy reasons?).

Informations

  • Open Graph Protocol : https://ogp.me/

codeurimpulsif avatar Apr 28 '23 15:04 codeurimpulsif

There was some work in this regard on the https://github.com/MCMrARM/revolution-irc/tree/link-previews branch. However, it was slightly buggy layout wise.

However, the risks are significant. I think the way it should be done is to provide a public link preview service to handle caching and IP obfuscation that you could also host on your own. I was thinking that if an external proxy is not used, only whitelisted sites could be loaded (eg. twitter, wikipedia, etc.).

MCMrARM avatar Oct 11 '23 22:10 MCMrARM

I don't know. Other IRC clients seems to have previews without any proxy or link preview service.

codeurimpulsif avatar Oct 15 '23 13:10 codeurimpulsif