Improve link preview for invites #131

Closed
opened 2026-04-02 19:52:12 +00:00 by mplorentz · 12 comments
Collaborator

I shared an invitation link to a flotilla space in flotilla, and it rendered a link preview that just said "Flotilla". It would be cool if the preview communicated that it was an invitation to a flotilla space. Bonus points if it can load the space name and icon.
Screenshot 2026-04-02 at 3.48.52 PM.png

The link I shared was https://app.flotilla.social/join?r=relay.scuttle.works&c=T4QEJ23W. Feel free to use it for testing if you want.

I shared an invitation link to a flotilla space in flotilla, and it rendered a link preview that just said "Flotilla". It would be cool if the preview communicated that it was an invitation to a flotilla space. Bonus points if it can load the space name and icon. ![Screenshot 2026-04-02 at 3.48.52 PM.png](/attachments/41c30767-92b7-499f-9b5a-5c77ba50ead1) The link I shared was `https://app.flotilla.social/join?r=relay.scuttle.works&c=T4QEJ23W`. Feel free to use it for testing if you want.
Owner

Let's solve this by creating a proxy server.js that intercepts requests and adds opengraph/twitter metadata to the html template based on the request URL.

Let's solve this by creating a proxy `server.js` that intercepts requests and adds opengraph/twitter metadata to the html template based on the request URL.
hodlbod added the dev label 2026-04-02 19:56:57 +00:00
hodlbod added this to the Current milestone 2026-04-02 19:56:59 +00:00
Contributor

Hey @hodlbod,
No one seems to be working on Issue #131 (Improve link preview for invites) right now.
I would like to pick this up if it's okay with you.
I'll work on improving the Open Graph meta tags for invite links so that when someone shares a Flotilla invite link, the preview properly shows:

That it's a Flotilla Space invite
The actual Space Name
The Space Icon (if possible)

Let me know if I can start working on it.
Thanks!

Hey @hodlbod, No one seems to be working on Issue #131 (Improve link preview for invites) right now. I would like to pick this up if it's okay with you. I'll work on improving the Open Graph meta tags for invite links so that when someone shares a Flotilla invite link, the preview properly shows: That it's a Flotilla Space invite The actual Space Name The Space Icon (if possible) Let me know if I can start working on it. Thanks!
priyanshu_bharti was assigned by hodlbod 2026-04-06 17:22:42 +00:00
Owner

Yep, go for it, I've assigned this issue to you.

Yep, go for it, I've assigned this issue to you.
Owner

Hey @priyanshu_bharti I can't find where I commented before, could you add caching to the vthumbs server? In-memory caching is fine.

Hey @priyanshu_bharti I can't find where I commented before, could you add caching to the vthumbs server? In-memory caching is fine.
Contributor

hii @hodlbod
yes is it here
#142

hii @hodlbod yes is it here https://gitea.coracle.social/coracle/flotilla/pulls/142
Owner

That's a PR against flotilla, I'm looking for a PR to the vthumbs project which adds caching (so that the server doesn't have to process the same video repeatedly).

That's a PR against flotilla, I'm looking for a PR to the vthumbs project which adds caching (so that the server doesn't have to process the same video repeatedly).
Contributor

Hey @hodlbod,
Understood!
I'll open a PR in the vthumbs project to add in-memory caching for the thumbnail server.
Will update you once it's ready.
Thanks!

Hey @hodlbod, Understood! I'll open a PR in the vthumbs project to add in-memory caching for the thumbnail server. Will update you once it's ready. Thanks!
Owner

I'm sorry, I got this mixed up with #73, this issue is actually for a separate server-side component (within the main flotilla repository) which serves flotilla and generates OG tags based on the requested URL. Let me know if you have any other questions.

I'm sorry, I got this mixed up with #73, this issue is actually for a _separate_ server-side component (within the main flotilla repository) which serves flotilla and generates OG tags based on the requested URL. Let me know if you have any other questions.
Contributor

Hey @hodlbod,
no worries, I already work on this issue (#131).

Could you please reopen the old PR?
Or would you prefer that I create a new PR for it?

Let me know what you think.
Thank you!

Hey @hodlbod, no worries, I already work on this issue (#131). Could you please reopen the old PR? Or would you prefer that I create a new PR for it? Let me know what you think. Thank you!
Owner

This one? I am actually looking for a different approach, which works anywhere a flotilla link is embedded using open graph tags. Do you know what I mean?

[This one](https://gitea.coracle.social/coracle/flotilla/pulls/170)? I am actually looking for a different approach, which works anywhere a flotilla link is embedded using open graph tags. Do you know what I mean?
priyanshu_bharti was unassigned by hodlbod 2026-04-20 17:52:48 +00:00
Contributor

@hodlbod Mind if i give this a shot?

@hodlbod Mind if i give this a shot?
Owner

Yep, go for it

Yep, go for it
Khushvendra was assigned by hodlbod 2026-04-21 13:12:45 +00:00
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/flotilla#131