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

Open Lemmy links in Remmel #23

Open
xplosionmind opened this issue Sep 5, 2021 · 2 comments
Open

Open Lemmy links in Remmel #23

xplosionmind opened this issue Sep 5, 2021 · 2 comments

Comments

@xplosionmind
Copy link

When I click on a link leading to a Lemmy instance, it opens in Safari (or in the default browser). Nevertheless, if it is a Lemmy link it should open inside the Remmel app.

This happens also when I click on Lemmy links inside of Remmel itself.

@grawlinson
Copy link

The Apollo (Reddit for iOS) app has a Safari Extension that does this, and it has been open sourced. Hopefully the source code can be of some use.

@mediaformat
Copy link

mediaformat commented Dec 8, 2021

Traditional centralized apps can register a handler for the domain of their app, this isn't possible for decentralized apps where instances can exist on any number of domains.

The iOS apps Metatext and Toot! both achieve this by looking at the URL structure of a link. If the link matches (a mastodon URL) then they can GET the link with accept: activity+json header.

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

3 participants