Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Fediverso
  4. Protocol handler?

Protocol handler?

Pianificato Fissato Bloccato Spostato Fediverso
fediverse
17 Post 9 Autori 221 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • evan@cosocial.caundefined evan@cosocial.ca

    @rimu web+acct

    die4ever@retrolemmy.comundefined Questo utente è esterno a questo forum
    die4ever@retrolemmy.comundefined Questo utente è esterno a questo forum
    die4ever@retrolemmy.com
    scritto su ultima modifica di
    #8

    What does acct stand for?

    evan@cosocial.caundefined 1 Risposta Ultima Risposta
    0
    • die4ever@retrolemmy.comundefined die4ever@retrolemmy.com

      What does acct stand for?

      evan@cosocial.caundefined Questo utente è esterno a questo forum
      evan@cosocial.caundefined Questo utente è esterno a questo forum
      evan@cosocial.ca
      scritto su ultima modifica di
      #9

      @Die4Ever

      https://datatracker.ietf.org/doc/html/rfc7565

      1 Risposta Ultima Risposta
      0
      • rimu@piefed.socialundefined 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.

        https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler

        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.

        silverpill@mitra.socialundefined Questo utente è esterno a questo forum
        silverpill@mitra.socialundefined Questo utente è esterno a questo forum
        silverpill@mitra.social
        scritto su ultima modifica di
        #10

        @rimu

        web+ap, which was proposed by Fedilink authors. To my knowledge, it is the most widely adopted proposal

        https://web.archive.org/web/20250402041648/https://fedilinks.org/

        (the main site seems to be offline now)

        cc @SoniEx2

        julian@community.nodebb.orgundefined 1 Risposta Ultima Risposta
        0
        • silverpill@mitra.socialundefined silverpill@mitra.social

          @rimu

          web+ap, which was proposed by Fedilink authors. To my knowledge, it is the most widely adopted proposal

          https://web.archive.org/web/20250402041648/https://fedilinks.org/

          (the main site seems to be offline now)

          cc @SoniEx2

          julian@community.nodebb.orgundefined Questo utente è esterno a questo forum
          julian@community.nodebb.orgundefined Questo utente è esterno a questo forum
          julian@community.nodebb.org
          scritto su ultima modifica di
          #11

          Are there implementors of web+ap? I'd be interested in adopting.

          I assume the fallback behaviour is to just assume https?

          1 Risposta Ultima Risposta
          0
          • silverpill@mitra.socialundefined Questo utente è esterno a questo forum
            silverpill@mitra.socialundefined Questo utente è esterno a questo forum
            silverpill@mitra.social
            scritto su ultima modifica di
            #12

            @julian Fedilinks website lists 3 MastoAPI clients, but the list is incomplete. I saw Fedilinks being mentioned in changelogs of other clients too.

            There was also an Akkoma PR, it was closed by the author: https://akkoma.dev/AkkomaGang/akkoma/pulls/589. I don't quite understand the reasoning, perhaps @smitten could clarify.

            julian@community.nodebb.orgundefined 1 Risposta Ultima Risposta
            0
            • silverpill@mitra.socialundefined silverpill@mitra.social

              @julian Fedilinks website lists 3 MastoAPI clients, but the list is incomplete. I saw Fedilinks being mentioned in changelogs of other clients too.

              There was also an Akkoma PR, it was closed by the author: https://akkoma.dev/AkkomaGang/akkoma/pulls/589. I don't quite understand the reasoning, perhaps @smitten could clarify.

              julian@community.nodebb.orgundefined Questo utente è esterno a questo forum
              julian@community.nodebb.orgundefined Questo utente è esterno a questo forum
              julian@community.nodebb.org
              scritto su ultima modifica di
              #13

              The PR comments suggest that making the various changes to the backend were too large to justify, and a front-end only approach would be preferred? smitten@key.portend.place

              It raises a good point though, where if you serve web+ap://, it's not understood by clients that are not aware of this scheme. If there were a way a client could communicate whether there is a protocol handler registered, then the server could tailor its response.

              1 Risposta Ultima Risposta
              0
              • smitten_@key.portend.placeundefined Questo utente è esterno a questo forum
                smitten_@key.portend.placeundefined Questo utente è esterno a questo forum
                smitten_@key.portend.place
                scritto su ultima modifica di
                #14

                Glad to see more people having this idea! The problems we ran into were in helping the browser understand the address and know where to forward. Each server implements lookup routes differently, so there's not necessarily a generic path that you can trust is available on https on the person's home server, even if you know their home server origin. So in some ways the feature should be offered by your home server software, maybe offering a website that does the handler registration to its known lookup/redirect address.

                But that is limiting in a few ways. It's a lot of extra steps for each person to do (browsers' default UI for registering protocols is not obvious or easy). It doesn't carry over to different devices, and if you have more than one home server in some way, you are back dealing with that not-great browser UI to pick which handler you want.

                In general people are more accustomed to registering protocols to apps they have installed, especially phone apps. It's much easier to register them there and you don't have to have approval flow UI, but taking that approach moves this whole served handler route out of the backend again, so we have to start thinking more along the lines of web+ap-compatible servers that handler clients know how to call or bounce to.

                @julian@community.nodebb.org @silverpill@mitra.social @SoniEx2@chaos.social @rimu@piefed.social

                smitten_@key.portend.placeundefined 1 Risposta Ultima Risposta
                0
                • smitten_@key.portend.placeundefined smitten_@key.portend.place

                  Glad to see more people having this idea! The problems we ran into were in helping the browser understand the address and know where to forward. Each server implements lookup routes differently, so there's not necessarily a generic path that you can trust is available on https on the person's home server, even if you know their home server origin. So in some ways the feature should be offered by your home server software, maybe offering a website that does the handler registration to its known lookup/redirect address.

                  But that is limiting in a few ways. It's a lot of extra steps for each person to do (browsers' default UI for registering protocols is not obvious or easy). It doesn't carry over to different devices, and if you have more than one home server in some way, you are back dealing with that not-great browser UI to pick which handler you want.

                  In general people are more accustomed to registering protocols to apps they have installed, especially phone apps. It's much easier to register them there and you don't have to have approval flow UI, but taking that approach moves this whole served handler route out of the backend again, so we have to start thinking more along the lines of web+ap-compatible servers that handler clients know how to call or bounce to.

                  @julian@community.nodebb.org @silverpill@mitra.social @SoniEx2@chaos.social @rimu@piefed.social

                  smitten_@key.portend.placeundefined Questo utente è esterno a questo forum
                  smitten_@key.portend.placeundefined Questo utente è esterno a questo forum
                  smitten_@key.portend.place
                  scritto su ultima modifica di
                  #15

                  Also I want to highlight this excellent comment by Yumechi about fingerprinting and de-anonymization risks.

                  https://socialhub.activitypub.rocks/t/fep-07d7-a-custom-url-scheme-and-web-based-protocol-handlers-for-linking-to-activitypub-resources/3588/53

                  @SoniEx2@chaos.social @silverpill@mitra.social @julian@community.nodebb.org @rimu@piefed.social

                  silverpill@mitra.socialundefined 1 Risposta Ultima Risposta
                  0
                  • smitten_@key.portend.placeundefined smitten_@key.portend.place

                    Also I want to highlight this excellent comment by Yumechi about fingerprinting and de-anonymization risks.

                    https://socialhub.activitypub.rocks/t/fep-07d7-a-custom-url-scheme-and-web-based-protocol-handlers-for-linking-to-activitypub-resources/3588/53

                    @SoniEx2@chaos.social @silverpill@mitra.social @julian@community.nodebb.org @rimu@piefed.social

                    silverpill@mitra.socialundefined Questo utente è esterno a questo forum
                    silverpill@mitra.socialundefined Questo utente è esterno a questo forum
                    silverpill@mitra.social
                    scritto su ultima modifica di
                    #16

                    @smitten_ Do you know what is the status of Fedilinks? Has it been abandoned?
                    FEP-07d7 was withdrawn, and other proposals have even less support than these two.

                    @SoniEx2 @julian @rimu @activitypub

                    1 Risposta Ultima Risposta
                    0
                    • rimu@piefed.socialundefined 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.

                      https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler

                      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.spaceundefined Questo utente è esterno a questo forum
                      evan@activitypub.spaceundefined Questo utente è esterno a questo forum
                      evan@activitypub.space
                      scritto su ultima modifica di
                      #17

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

                      https://en.wikipedia.org/wiki/Acct_URI_scheme

                      1 Risposta Ultima Risposta
                      0

                      Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                      Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                      Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                      Registrati Accedi
                      Rispondi
                      • Risposta alla discussione
                      Effettua l'accesso per rispondere
                      • Da Vecchi a Nuovi
                      • Da Nuovi a Vecchi
                      • Più Voti


                      Feed RSS
                      Protocol handler?
                      @pierobosio@soc.bosio.info
                      V4.10.0 Contributors
                      • Accedi

                      • Accedi o registrati per effettuare la ricerca.
                      • Primo post
                        Ultimo post