Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to Bluesky-proper if opened in a browser #24

Open
Zegnat opened this issue Jul 23, 2023 · 0 comments
Open

Redirect to Bluesky-proper if opened in a browser #24

Zegnat opened this issue Jul 23, 2023 · 0 comments

Comments

@Zegnat
Copy link
Contributor

Zegnat commented Jul 23, 2023

Just throwing out an idea here. Might not be what bsky.link wants to do at all.

jort.link has an interesting system where it serves a version of a link hosted by them only when requested by fediverse platforms, otherwise it returns a redirect to the actual link.

bsky.link could do something similar when people are using it to get embeds on Discord, Slack, etc: when a link is requested by a link preview agent, return HTML with <meta> elements for preview generation, but if requested by a web browser redirect the user to Bluesky-proper.

Another prior art for a service like this is https://mstdn.link/ (source). This one did no fancy user-agent detecting, instead putting a little bit of JS on the served page that handles a redirect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant