this post was submitted on 26 Jul 2021
20 points (100.0% liked)

Rust Programming

8346 readers
15 users here now

founded 5 years ago
MODERATORS
 

Iframely is our embed / picture thumbnail fetcher for external sites. But its extremely heavy, unreliable ( crashes a lot ), and doesn't build for ARM.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 3 years ago* (last edited 3 years ago) (1 children)

And doesn't seem to show correctly the preview for YouTube hahahahahaha.

This last issue was also happening in Element because of the curl useragent they used.

[–] [email protected] 5 points 3 years ago (1 children)

They might've fixed that, at least a few days ago I saw a youtube thumbnail go through. I imagine enough people complained about it.

[–] [email protected] 5 points 3 years ago* (last edited 3 years ago)

Well, seems that only workarounds at user level are done.

I was confused at the time of writing and put that was Element's fault but was Synapse's fault.

https://github.com/matrix-org/synapse/issues/9733

[–] [email protected] 4 points 3 years ago* (last edited 3 years ago) (1 children)

Would this do what y'all need? https://github.com/kumabook/opengraph of course after posting I realize it hasn't been updated since 2018 😥

[–] [email protected] 2 points 3 years ago

Yes that would be helpful actually.

[–] [email protected] 2 points 3 years ago (1 children)

Hmm, so a service that you send a URL to, via REST request, and then it fetches the thumbnail/content, wraps some HTML around it, and then responds with that to the REST request?

That sounds like a rather big project...

[–] [email protected] 1 points 3 years ago

It doesn't need to wrap html, only serve up json.