MCMrARM / revolution-irc

A modern Android IRC client. #revolutionirc on Libera.chat
GNU General Public License v3.0
557 stars 62 forks source link

[Feature request] Media and Open Graph preview #340

Open codeurimpulsif opened 1 year ago

codeurimpulsif commented 1 year ago

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

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

MCMrARM commented 1 year ago

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.).

codeurimpulsif commented 1 year ago

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