thunder-app / thunder

Thunder - An open-source cross-platform Lemmy client for iOS and Android built with Flutter
https://thunderapp.dev
GNU Affero General Public License v3.0
789 stars 69 forks source link

Deep link protocol #146

Open shocklateboy92 opened 1 year ago

shocklateboy92 commented 1 year ago

Hey, I'm putting together a link redirection service for Lemmy: https://lemmy.guide

It lets people create links to that will open in their instance (set in browser local storage) in app of their choice: https://lemmy.guide/link?target=!programmer_humor@programming.dev

At the moment, I only have Liftoff (and browser, obviously) in there. But I'd love to add more, including Thunder. Does thunder have a protocol it's registered to open like say, thunder://lemmy.world/c/programmer_humor@programming.dev?

realeatham commented 1 year ago

There isn't, imma make a feature request for one.

hjiangsu commented 1 year ago

Hey @shocklateboy92! I'm not sure if this is still an active project that you're working on, but we've finally gotten around to start some initial ground work to allow deep-linking in Thunder so I wanted to bring this issue back up (still a WIP feature at this time).

I think thunder:// should work for the protocol!

PR just for reference: https://github.com/thunder-app/thunder/pull/832