Improve link preview for invites #131
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.

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.Let's solve this by creating a proxy
server.jsthat intercepts requests and adds opengraph/twitter metadata to the html template based on the request URL.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!
Yep, go for it, I've assigned this issue to you.
Hey @priyanshu_bharti I can't find where I commented before, could you add caching to the vthumbs server? In-memory caching is fine.
hii @hodlbod
yes is it here
#142
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).
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!
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.
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!
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?
@hodlbod Mind if i give this a shot?
Yep, go for it