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. ActivityPub
  3. Protocol handler?

Protocol handler?

Scheduled Pinned Locked Moved ActivityPub
fediverse
28 Posts 11 Posters 1.7k 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.
  • tchambers@indieweb.socialT tchambers@indieweb.social

    @julian I write about this here: near zero mobile browser support but strong desktop browser support- and I suggest a JavaScript fallback for the others …. https://www.timothychambers.net/2025/06/24/the-seven-deadly-fediverse-ux.html

    rimu@mastodon.nzoss.nzR This user is from outside of this forum
    rimu@mastodon.nzoss.nzR This user is from outside of this forum
    rimu@mastodon.nzoss.nz
    wrote on last edited by
    #17

    @tchambers @julian @silverpill I put together a prototype, using web+ap.

    Here’s a video demo - https://peertube.wtf/w/r8M4KpS6yLd9H2r2oPAs9M

    The workflow is a wee bit clunky, with the browser popping up things more than I'd like, but it works.

    silverpill@mitra.socialS julian@community.nodebb.orgJ smitten_@key.portend.placeS julian@activitypub.spaceJ 4 Replies Last reply
    1
    • rimu@mastodon.nzoss.nzR rimu@mastodon.nzoss.nz

      @tchambers @julian @silverpill I put together a prototype, using web+ap.

      Here’s a video demo - https://peertube.wtf/w/r8M4KpS6yLd9H2r2oPAs9M

      The workflow is a wee bit clunky, with the browser popping up things more than I'd like, but it works.

      silverpill@mitra.socialS This user is from outside of this forum
      silverpill@mitra.socialS This user is from outside of this forum
      silverpill@mitra.social
      wrote on last edited by
      #18

      @rimu @tchambers @julian

      Neat.

      @smitten_ Check it out

      1 Reply Last reply
      0
      • rimu@mastodon.nzoss.nzR rimu@mastodon.nzoss.nz

        @tchambers @julian @silverpill I put together a prototype, using web+ap.

        Here’s a video demo - https://peertube.wtf/w/r8M4KpS6yLd9H2r2oPAs9M

        The workflow is a wee bit clunky, with the browser popping up things more than I'd like, but it works.

        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote on last edited by
        #19

        rimu@mastodon.nzoss.nz what happens if a browser that doesn't understand protocol handlers encounters this scheme?

        1 Reply Last reply
        0
        • tchambers@indieweb.socialT tchambers@indieweb.social

          @julian I write about this here: near zero mobile browser support but strong desktop browser support- and I suggest a JavaScript fallback for the others …. https://www.timothychambers.net/2025/06/24/the-seven-deadly-fediverse-ux.html

          smitten_@key.portend.placeS This user is from outside of this forum
          smitten_@key.portend.placeS This user is from outside of this forum
          smitten_@key.portend.place
          wrote on last edited by
          #20

          @tchambers@indieweb.social @julian@community.nodebb.org You're absolutely right about the mobile browsers sadly, but support on mobile apps is good. The UX there is better than it is on desktop browsers too, because it can be registered in the app manifest and doesn't require complicated approval and handler selection flows. People are also more familiar with links that look a certain way opening in their related app, it's just that they expect the behavior at the host level instead of the protocol level.

          1 Reply Last reply
          0
          • rimu@mastodon.nzoss.nzR rimu@mastodon.nzoss.nz

            @tchambers @julian @silverpill I put together a prototype, using web+ap.

            Here’s a video demo - https://peertube.wtf/w/r8M4KpS6yLd9H2r2oPAs9M

            The workflow is a wee bit clunky, with the browser popping up things more than I'd like, but it works.

            smitten_@key.portend.placeS This user is from outside of this forum
            smitten_@key.portend.placeS This user is from outside of this forum
            smitten_@key.portend.place
            wrote on last edited by
            #21

            This is so great, I feel like whenever this idea comes up it's just so difficult to explain to people what it would feel like to use. (and why it's helpful!)

            You talked about changing the address yourself in the browser bar which is already easier than loading up your home server and going through the step to lookup. For me what excited me about this idea was that people could be displaying the links in pages. You often see it with a socials section at the bottom of someone's blog, they link to their profile on their server when what I want them to link to is their profile with the web+ap protocol.

            But this leads to another big UX problem, the links are useless if you don't have a handler registered. There is no fallback mechanism your browser will just ask you what you want to open it with and have an empty list of suggestions. So I think it would need to have a recognizable way to be communicated to the user, a consistent icon for the link and a memorable name because only people who knew they set up a handler would want them.

            @rimu@mastodon.nzoss.nz @tchambers@indieweb.social @julian@community.nodebb.org @silverpill@mitra.social

            julian@community.nodebb.orgJ 1 Reply Last reply
            0
            • smitten_@key.portend.placeS smitten_@key.portend.place

              This is so great, I feel like whenever this idea comes up it's just so difficult to explain to people what it would feel like to use. (and why it's helpful!)

              You talked about changing the address yourself in the browser bar which is already easier than loading up your home server and going through the step to lookup. For me what excited me about this idea was that people could be displaying the links in pages. You often see it with a socials section at the bottom of someone's blog, they link to their profile on their server when what I want them to link to is their profile with the web+ap protocol.

              But this leads to another big UX problem, the links are useless if you don't have a handler registered. There is no fallback mechanism your browser will just ask you what you want to open it with and have an empty list of suggestions. So I think it would need to have a recognizable way to be communicated to the user, a consistent icon for the link and a memorable name because only people who knew they set up a handler would want them.

              @rimu@mastodon.nzoss.nz @tchambers@indieweb.social @julian@community.nodebb.org @silverpill@mitra.social

              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote on last edited by
              #22

              smitten_@key.portend.place might I suggest appropriating the ActivityPub logo? For lack of a better option.

              There's the "networked nodes" fediverse logo but it really loses its effect when made small.

              1 Reply Last reply
              0
              • smitten_@key.portend.placeS This user is from outside of this forum
                smitten_@key.portend.placeS This user is from outside of this forum
                smitten_@key.portend.place
                wrote on last edited by
                #23

                @julian@community.nodebb.org I agree, that was what I ended up using in the akkoma prototype

                1 Reply Last reply
                1
                • rimu@mastodon.nzoss.nzR This user is from outside of this forum
                  rimu@mastodon.nzoss.nzR This user is from outside of this forum
                  rimu@mastodon.nzoss.nz
                  wrote on last edited by
                  #24

                  @julian nothing good...

                  tchambers@indieweb.socialT 1 Reply Last reply
                  0
                  • rimu@mastodon.nzoss.nzR rimu@mastodon.nzoss.nz

                    @tchambers @julian @silverpill I put together a prototype, using web+ap.

                    Here’s a video demo - https://peertube.wtf/w/r8M4KpS6yLd9H2r2oPAs9M

                    The workflow is a wee bit clunky, with the browser popping up things more than I'd like, but it works.

                    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 on last edited by
                    #25

                    There are quite a few dialogues, yes... but once the initial setup is done it looks alright.

                    Curious... because when I open magnet:// links, there's no confirmation on subsequent links once I've done the initial handler assignment. It looks to be something reserved for web+ handlers, which is a little annoying, isn't it.

                    1 Reply Last reply
                    0
                    • rimu@mastodon.nzoss.nzR rimu@mastodon.nzoss.nz

                      @julian nothing good...

                      tchambers@indieweb.socialT This user is from outside of this forum
                      tchambers@indieweb.socialT This user is from outside of this forum
                      tchambers@indieweb.social
                      wrote on last edited by
                      #26

                      @rimu @julian I was suggesting a JavaScript backup for non-compliant browsers and may have some early code to offer if helpful

                      rimu@mastodon.nzoss.nzR 1 Reply Last reply
                      0
                      • tchambers@indieweb.socialT tchambers@indieweb.social

                        @rimu @julian I was suggesting a JavaScript backup for non-compliant browsers and may have some early code to offer if helpful

                        rimu@mastodon.nzoss.nzR This user is from outside of this forum
                        rimu@mastodon.nzoss.nzR This user is from outside of this forum
                        rimu@mastodon.nzoss.nz
                        wrote on last edited by
                        #27

                        @tchambers @julian Yep I will be keen on that if the feature gains any traction. I recall seeing some JS on your blog which looks like it'd do the trick.

                        1 Reply Last reply
                        0
                        • rimu@piefed.socialR rimu@piefed.social

                          I'm going to register a protocol handler, so links to anywhere on the fedi will be opened in the user's home instance.

                          Link Preview Image
                          Navigator: registerProtocolHandler() method - Web APIs | MDN

                          The Navigator method registerProtocolHandler() lets websites register their ability to open or handle particular URL schemes (also known as protocols).

                          favicon

                          MDN Web Docs (developer.mozilla.org)

                          Has anyone already done this and if so what was the prefix you used? We might as well all use the same thing. I'm thinking web+fedi.

                          evan@activitypub.spaceE This user is from outside of this forum
                          evan@activitypub.spaceE This user is from outside of this forum
                          evan@activitypub.space
                          wrote on last edited by
                          #28

                          rimu@piefed.social I've been using web+acct for the acct URI format.

                          Link Preview Image
                          acct URI scheme - Wikipedia

                          favicon

                          (en.wikipedia.org)

                          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