Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Thinking about building “#Fedify Studio” (tentative name)—a web-based #ActivityPub debugging & development toolkit, like a supercharged version of ActivityPub

Technical Discussion
6 3 40

Gli ultimi otto messaggi ricevuti dalla Federazione
  • I think the wrapping in <p> is just plain good practice because otherwise rendered content could be injected somewhere resulting in invalid HTML.

    Not that browsers ever reject bad HTML anyway heh</p>

    read more

  • @helge @reiver

    >Can you explain what goes on in mitra?

    When mediaType is text/markdown, the entire content is wrapped in a <p> tag. This was done for compatibility with PeerTube. I think <p> was needed to create a space between the title (name) and the content, since title is prepended to content in Mitra (also a compatibility hack -- for Mastodon API clients).

    read more

  • I'd generally discourage RFC7591 in decentralized systems due to the fact that it creates client sprawl (this is currently a problem with Mastodon's client registration mechanism, which is why we created CIMDs) — every client in RFC7591 is a distinct client, with its own client_id and client_secret, which can make client management interfaces difficult to implement (e.g., every time you login on a mobile device or SPA, you'll get a brand new client_id). CIMDs solve this by anchoring client metadata to a URI, and using that URI as the client_id.

    If you need to test clients using CIMDs in development, there is cimd-service however, it's currently targeting the AT Protocol ecosystem (so has a few specifics that at present there that would not necessarily make sense of ActivityPub)

    read more

  • Speaking of handling markdown. I created funfedi.dev Media Types a while ago (and just added it to the navigation). I lost interest when I saw that nobody properly handled the mediaType attribute of a note. Not that I know what I expected.

    Can you explain what goes on in mitra? When mediaType is text/markdown. It changes __bold__ to <p>__bold__</p>, otherwise no paragraph tags. I'm pretty sure, I was once told to use __ for bold and * for emphasize. So my markdown should be good.

    Full example ... input activity -> mitra api response

    Final note: I am not sure what I would want a proper data format to do. I find the solution of W3C ActivityPub (not W3C ActivityStreams) proposes of putting HTML in content and adding source with the original, from which the HTML was generated ok. Of course, this leaves the existence of the summary and name field superfluous.

    read more

  • @reiver@mastodon.social add in NodeBB as well. Markdown first, and probably HTML too, although it will probably be sanitized to death on the way out.

    read more

  • @mariusor that's too bad. All I have left is mussels, French fries, large-scale bureaucracy, and peeing statues.

    read more

  • @reiver uses Markdown by default too, but of course sends out HTML to the fediverse

    read more

  • @reiver Markdown or its subset is supported by almost every platform except Mastodon.
    But PeerTube is the only software I know that puts markdown in content instead of HTML.

    read more
Post suggeriti
  • 0 Votes
    2 Posts
    6 Views
    @stefano buongiorno Stefano! 👋☕️✨
  • 0 Votes
    1 Posts
    10 Views
    #datocurioso ¿Creías que el #fediverso se limitaba solo al microblogging de #Mastodon? ¡Piénsatelo de nuevo!El fediverso es un cosmos interconectado regido por el protocolo #ActivityPub, y alberga un sinfín de mundos más allá de las publicaciones cortas. Puedes encontrar alternativas descentralizadas para casi cualquier servicio centralizado que conozcas: ¿Buscas compartir imágenes al estilo Instagram? Existe #Pixelfed.¿Anhelas un espacio para vídeos como YouTube? Tienes a tu disposición #PeerTube, que usa tecnología P2P para aligerar la carga.¿ quieres compartir videos cortos al estilo tik Tok? Prueba #loops!¿Prefieres los agregadores de enlaces al estilo Reddit? #Lemmy es tu destino. ¿ buscas compartir tu #podcast? #funkwhale es a donde debes ir.¿ te gusta escribir o quieres hacer un blog? Intenta con #WriteAs¡Y eso solo es la punta del iceberg!El fediverso no es un solo lugar, sino una constelación de plataformas que interactúan entre sí, una red de redes libres, abiertas y federadas, permitiendo a un usuario de Mastodon o de algún otro servicio federado seguir e interactuar con alguien en PeerTube o Pixelfed, etc. ¡La verdadera magia radica en la interoperabilidad y la libertad de elección! #SoftwareLibre #Tecnologia #Privacidad ✨‍♂️🎙️
  • 1 Votes
    30 Posts
    81 Views
    If I used an object observer for a topic/context, and proceeded to delete that context, the object observer would go away too. That is, unless you're inferring that I take steps to preserve the object observer for some period of time (if not forever?)
  • 0 Votes
    1 Posts
    13 Views
    Hello #Fediverse and Happy New Year!I'd like to mark the start of 2025 with the first message from my self-hosted instance. You may already know me as @_elena@mastodon.social. Well, now I also run my own #ActivityPub microblogging server, thanks to the magic of #YunoHost and #GoToSocial (and #Phanpy, which I'm using to compose this).I registered this domain – aseachange.com – a looooong time ago but never did anything with it. It was the very first domain name I ever bought, even before securing elenarossini.com (!!!). It was so long ago, but I remember I was inspired by Beck's album Sea Change. seachange[dot]com was taken, so I grabbed Aseachange.I absolutely love its meaning of profound transformation and I think it's PERFECT for my self-hosted #Fediverse instance and what it represents: independence, empowerment and digital sovereignty.Ever since setting it up, I've been feeling joyful and hopeful. Everytime I look at myself in the mirror, I think: I'm in control of my own social media platform. And it feels SOOO GOOD.What do I have in store for 2025? I plan to use this account to post messages about #selfhosting, learning #Linux, privacy and digital sovereignty.I will also keep posting from my Mastodon account because you don't give a Lamborghini to someone who just passed their driver's license. I barely know what I'm doing here, so I feel a lot safer (for now) keeping my mastodon.social account as well... In case anything goes wrong here. Better safe than sorry!So, this is my #Introduction and if you've read as far as here I just want to thank the Fediverse for being so amazing and allowing me to connect with people on my own terms. And thank you Fedi people for being so generous and supportive with your superb advice and kind words.This is a really magical, special place.Happy New Year, everyone!