Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. Technical Discussion
  3. It’s really surprising to me that the #fediverse hasn’t agreed on a standardized way to open cross-instance #activitypub objects and instead relies on links that open in the browser.

It’s really surprising to me that the #fediverse hasn’t agreed on a standardized way to open cross-instance #activitypub objects and instead relies on links that open in the browser.

Scheduled Pinned Locked Moved Technical Discussion
fediverseactivitypuburischeme
124 Posts 16 Posters 36 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ricferrer@mastodon.socialR ricferrer@mastodon.social

    @sl007 @julian @jaffathecake @benpate but you don’t need approval or the blessing from the browsers to implement a uri scheme right? iTunes used it with itms: , zoom does it.

    It works of people have the app. You would only need their support if you want the browser to do something with the uri out of the box when there is no app other than showing an error. Right?

    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.space
    wrote last edited by julian@activitypub.space
    #92

    @ricferrer@mastodon.social yes and no. I think standalone apps can listen for their own protocol handlers (like julian:// what a great protocol)

    But PWAs must use the web+ prefix. The OS (or maybe just the browser) won't allow registration otherwise

    @trwnh@mastodon.social @benpate@mastodon.social @sl007@digitalcourage.social

    1 Reply Last reply
    0
    • ricferrer@mastodon.socialR ricferrer@mastodon.social

      @trwnh @benpate
      The issue with PWA targets afaik is that they are like universal/app links -> bound to a domain

      Apps from different vendors can pick it up (it’s only a problem if you have more than one on iOS, Android lets you choose)

      For 3b to work you would need to tell the page with the content which one is your home server every time for every content

      Do you use a browser for the fediverse mostly or an app? I am 100% app 😎

      benpate@mastodon.socialB This user is from outside of this forum
      benpate@mastodon.socialB This user is from outside of this forum
      benpate@mastodon.social
      wrote last edited by
      #93

      “For 3b to work you would need to tell the page with the content which one is your home server every time”

      Not quite. FedCM solves this. And in the interim, we can put this in localStorage so you only need to enter your handle once per domain. And even that can be reduced if all the JS widgets are served by a shared location.

      @ricferrer @trwnh

      1 Reply Last reply
      0
      • ricferrer@mastodon.socialR ricferrer@mastodon.social

        @trwnh @benpate
        The issue with PWA targets afaik is that they are like universal/app links -> bound to a domain

        Apps from different vendors can pick it up (it’s only a problem if you have more than one on iOS, Android lets you choose)

        For 3b to work you would need to tell the page with the content which one is your home server every time for every content

        Do you use a browser for the fediverse mostly or an app? I am 100% app 😎

        benpate@mastodon.socialB This user is from outside of this forum
        benpate@mastodon.socialB This user is from outside of this forum
        benpate@mastodon.social
        wrote last edited by
        #94

        @ricferrer @trwnh

        I’m 70/30 app/browser. I used the browser, for instance, when traveling internationally so I don’t have an app signed in to my identity.

        But I’m not the target audience. I’m already sold. The main reason to put open web first is to give an on-ramp to newbies who would join us if we made it easy enough 😇

        1 Reply Last reply
        0
        • ricferrer@mastodon.socialR This user is from outside of this forum
          ricferrer@mastodon.socialR This user is from outside of this forum
          ricferrer@mastodon.social
          wrote last edited by
          #95

          @julian @sl007 @benpate @trwnh oh ok. I was talking only about native standalone apps and forgot about PWAs… that makes it a bit more complex, but still solvable. Do you use lots of “installed” PWAs?

          1 Reply Last reply
          0
          • benpate@mastodon.socialB This user is from outside of this forum
            benpate@mastodon.socialB This user is from outside of this forum
            benpate@mastodon.social
            wrote last edited by
            #96

            @julian

            That’s really helpful. Thanks, Julian://

            One follow up question? Is it possible for regular apps to use the web+ prefix, too? Otherwise we’d have to pick one over the other, which might be problematic.

            @ricferrer @trwnh @sl007

            sl007@digitalcourage.socialS 1 Reply Last reply
            0
            • sl007@digitalcourage.socialS This user is from outside of this forum
              sl007@digitalcourage.socialS This user is from outside of this forum
              sl007@digitalcourage.social
              wrote last edited by
              #97

              @julian

              well, the difference is what I demoed at IWC:
              Apple itself (itms) or zoom https://www.visualcapitalist.com/zoom-boom-biggest-airlines/ can do anything.
              You will not be asked for consent.
              Same with mailto …

              But as shown the consent mechanism is not standardized and when I see the nearly white icon in the white browser bar I wanted to hit the person who made it cause at least 30% will not even realize it …

              @ricferrer @benpate @trwnh

              1 Reply Last reply
              0
              • benpate@mastodon.socialB benpate@mastodon.social

                @julian

                That’s really helpful. Thanks, Julian://

                One follow up question? Is it possible for regular apps to use the web+ prefix, too? Otherwise we’d have to pick one over the other, which might be problematic.

                @ricferrer @trwnh @sl007

                sl007@digitalcourage.socialS This user is from outside of this forum
                sl007@digitalcourage.socialS This user is from outside of this forum
                sl007@digitalcourage.social
                wrote last edited by
                #98

                @benpate

                This is possible as just answered to Julian but someone needs to fix the consent issues in the browsers (shown in posted demo video) which is nothing we can do …

                @julian @ricferrer @trwnh

                sl007@digitalcourage.socialS 1 Reply Last reply
                0
                • sl007@digitalcourage.socialS sl007@digitalcourage.social

                  @benpate

                  This is possible as just answered to Julian but someone needs to fix the consent issues in the browsers (shown in posted demo video) which is nothing we can do …

                  @julian @ricferrer @trwnh

                  sl007@digitalcourage.socialS This user is from outside of this forum
                  sl007@digitalcourage.socialS This user is from outside of this forum
                  sl007@digitalcourage.social
                  wrote last edited by
                  #99

                  @benpate @julian @ricferrer @trwnh

                  PS History continued, two years later, in 2019 I sponsored the first offiial ActivityPub Conf https://conf.tube/c/apconf_channel/videos and in the Prague dox museum we had a short session where we said to talk to the browser people again in some years. The 2020 Conf was fully packed and then I was personally overloaded with the EU DMA/DSA consulting (disclaimer; invited expert but all voluntary) …
                  But maybe that time would benow - at least in the interest of accessibility …

                  1 Reply Last reply
                  0
                  • ricferrer@mastodon.socialR ricferrer@mastodon.social

                    @benpate @trwnh @evan @julian @rimu I know I implemented it at some point by analyzing what Facebook and co were doing. I think it was kind of a hack, but it worked. It didn’t let you know what was available. It just assumed it worked if you left the page and if you were still there it opened http. Like I said sometimes you had the page open when you came back to the browser (so it effectively opened both) but it wasn’t that annoying

                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.ca
                    wrote last edited by
                    #100

                    @ricferrer @benpate @trwnh @julian @rimu so, maybe we should have a group working on this problem.

                    ricferrer@mastodon.socialR 1 Reply Last reply
                    1
                    • evan@cosocial.caE evan@cosocial.ca

                      @ricferrer @benpate @trwnh @julian @rimu so, maybe we should have a group working on this problem.

                      ricferrer@mastodon.socialR This user is from outside of this forum
                      ricferrer@mastodon.socialR This user is from outside of this forum
                      ricferrer@mastodon.social
                      wrote last edited by
                      #101

                      @evan @benpate @trwnh @julian @rimu is there a matrix room we could joint? 🤔 or should I make one?

                      julian@activitypub.spaceJ benpate@mastodon.socialB 2 Replies Last reply
                      0
                      • ricferrer@mastodon.socialR ricferrer@mastodon.social

                        @evan @benpate @trwnh @julian @rimu is there a matrix room we could joint? 🤔 or should I make one?

                        julian@activitypub.spaceJ This user is from outside of this forum
                        julian@activitypub.spaceJ This user is from outside of this forum
                        julian@activitypub.space
                        wrote last edited by
                        #102

                        @ricferrer@mastodon.social I feel keeping this on fedi is easier, but that's also because I don't have a matrix account 😅

                        1 Reply Last reply
                        0
                        • evan@cosocial.caE This user is from outside of this forum
                          evan@cosocial.caE This user is from outside of this forum
                          evan@cosocial.ca
                          wrote last edited by
                          #103

                          @julian @ricferrer I meant, taking it to a Task Force. It's a really important question.

                          julian@activitypub.spaceJ 1 Reply Last reply
                          1
                          • evan@cosocial.caE evan@cosocial.ca

                            @julian @ricferrer I meant, taking it to a Task Force. It's a really important question.

                            julian@activitypub.spaceJ This user is from outside of this forum
                            julian@activitypub.spaceJ This user is from outside of this forum
                            julian@activitypub.space
                            wrote last edited by
                            #104

                            @evan@cosocial.ca yep! I was responding to using a matrix chat room.

                            I'm all for a task force on this.

                            1 Reply Last reply
                            0
                            • ricferrer@mastodon.socialR ricferrer@mastodon.social

                              @evan @benpate @trwnh @julian @rimu is there a matrix room we could joint? 🤔 or should I make one?

                              benpate@mastodon.socialB This user is from outside of this forum
                              benpate@mastodon.socialB This user is from outside of this forum
                              benpate@mastodon.social
                              wrote last edited by
                              #105

                              Task Force: Yes

                              Matrix: Please No? I freakin’ HATE matrix

                              @ricferrer @evan @trwnh @julian @rimu

                              ricferrer@mastodon.socialR 1 Reply Last reply
                              1
                              • ricferrer@mastodon.socialR ricferrer@mastodon.social

                                @trwnh @evan @julian @rimu

                                I think the biggest difference with pdfs, mp4 in your example and an activity is that I most likely want to interact with an activitypub object: either follow, repost/announce, etc for this to work I need to be logged in. So is the solution to include an activitypub client in the browser? Use an external viewer that intercepts through browser extensions?

                                Now even the experience inside mastodon sometimes opens a webview 🤷🏻‍♂️

                                django@social.coopD This user is from outside of this forum
                                django@social.coopD This user is from outside of this forum
                                django@social.coop
                                wrote last edited by
                                #106

                                @julian @evan @rimu @ricferrer @trwnh I think handlers like this are an older desktop paradigm, on mobile we already have share sheets, and we’re sharing a url, to an app, what happens when the app receives the url is a client concern. Get the ActivityPub representation, and carry on as you would in the fedi (actor follow, or object like share, reply)!
                                Desktop OS’ have already adopted this UX

                                trwnh@mastodon.socialT 1 Reply Last reply
                                1
                                • benpate@mastodon.socialB benpate@mastodon.social

                                  Task Force: Yes

                                  Matrix: Please No? I freakin’ HATE matrix

                                  @ricferrer @evan @trwnh @julian @rimu

                                  ricferrer@mastodon.socialR This user is from outside of this forum
                                  ricferrer@mastodon.socialR This user is from outside of this forum
                                  ricferrer@mastodon.social
                                  wrote last edited by
                                  #107

                                  @benpate what are your thoughts on matrix? I am considering using it in a product I am working on and would love to know why you don’t like it 🧐

                                  I’ve been testing Element X and haven’t found many issues.

                                  benpate@mastodon.socialB 1 Reply Last reply
                                  0
                                  • benpate@mastodon.socialB benpate@mastodon.social

                                    This is AMAZING, Dan, and it would be a huge win. #ThankYouThankYouThankYou!!!

                                    @dansup @trwnh @ricferrer @evan @julian @rimu

                                    dansup@mastodon.socialD This user is from outside of this forum
                                    dansup@mastodon.socialD This user is from outside of this forum
                                    dansup@mastodon.social
                                    wrote last edited by
                                    #108

                                    @benpate @trwnh @ricferrer @evan @julian @rimu Done!

                                    Link Preview Image
                                    https://loops.video/.well-known/webfinger?resource=acct:dansup@loops.video · BrowserPub · A browser for exploring ActivityPub and the fediverse

                                    Explore the open social web through the lens of ActivityPub and the fediverse.

                                    favicon

                                    (browser.pub)

                                    1 Reply Last reply
                                    0
                                    • benpate@mastodon.socialB benpate@mastodon.social

                                      Here’s a question: do browsers let JavaScript introspect what custom protocol handlers are available/installed?

                                      I’m planning a Franken-widget that works with whatever tools are available.

                                      Activity Intents? Sure

                                      Custom protocol? Okay, we’ll use that too.

                                      None of the above? Sniff the server and polyfill.

                                      We could certainly try an “AND” approach, if JavaScript will let us.

                                      @ricferrer @trwnh @evan @julian @rimu

                                      sl007@digitalcourage.socialS This user is from outside of this forum
                                      sl007@digitalcourage.socialS This user is from outside of this forum
                                      sl007@digitalcourage.social
                                      wrote last edited by
                                      #109

                                      @benpate
                                      Off course not, this would be even illegal in the EU.

                                      @ricferrer @trwnh @evan @julian @rimu

                                      1 Reply Last reply
                                      0
                                      • django@social.coopD django@social.coop

                                        @julian @evan @rimu @ricferrer @trwnh I think handlers like this are an older desktop paradigm, on mobile we already have share sheets, and we’re sharing a url, to an app, what happens when the app receives the url is a client concern. Get the ActivityPub representation, and carry on as you would in the fedi (actor follow, or object like share, reply)!
                                        Desktop OS’ have already adopted this UX

                                        trwnh@mastodon.socialT This user is from outside of this forum
                                        trwnh@mastodon.socialT This user is from outside of this forum
                                        trwnh@mastodon.social
                                        wrote last edited by
                                        #110

                                        @django @julian @evan @rimu @ricferrer now that i'm more awake, one other big concern is that fedcm means no privacy. so a browser or os solution like an extension or a share target is privacy-preserving. i don't think it's acceptable to make people say who they are just so like and share buttons can work. your identity should not be known to the site necessarily unless there's a very good reason (like reading private posts)

                                        1 Reply Last reply
                                        0
                                        • trwnh@mastodon.socialT trwnh@mastodon.social

                                          @ricferrer @evan @julian @rimu

                                          https: is not for web pages. it's for http resources, which can be any content type. the content should be dispatched to the appropriate content handler; for example:

                                          - html opens in an html viewer
                                          - pdf opens in a pdf viewer
                                          - png opens in a png viewer
                                          - mp4 opens in an mp4 viewer

                                          activity+json could be opened in an activity viewer. see firefox for example in pic 1:

                                          strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                          strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                          strypey@mastodon.nzoss.nz
                                          wrote last edited by
                                          #111

                                          How about we start by acknowledging that this is indeed a pain point, and it's been widely discussed that it needs a fix;

                                          @ricferrer
                                          > it’s horrible UX. It opens a browser where I am not logged in instead of opening my default app

                                          In @moshidon, fediverse URLs are often (but not always) recognised as such, and opened in the app, instead of sent to a browser. Can you explain how you achieve this Lucas, and why it doesn't work with every fediverse URL?

                                          @trwnh @evan @julian @rimu

                                          trwnh@mastodon.socialT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups