GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by marius (mariusor@metalhead.club)

  1. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 22-Feb-2026 04:25:54 JST marius marius
    in reply to
    • silverpill

    @silverpill the collections have a next property which consumers should follow, no need to mess with the individual query parameters.

    In conversation about 3 days ago from metalhead.club permalink
  2. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 22-Feb-2026 04:21:00 JST marius marius
    in reply to
    • silverpill

    @silverpill after={url-encoded-object-id}

    In conversation about 3 days ago from metalhead.club permalink
  3. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 05:09:39 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve apologies, I take "server" in the context of ActivityPub discussion to be an "ActivityPub server", not all the other web-servers involved in the process.

    And when I say "client", I mean a "consumer of ActivityPub", which as you say, many times is also a web server.

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink
  4. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 05:09:36 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve out of curiousity why do you make a difference between a consumer of AcitvityPub (assumedly you mean something that fetches ActivityPub using HTTP GET) and a C2S client?

    My assumption is that if something fetches ActivityPub objects and is capable of rendering it to another representation for its users, that's a client to server client.

    Client to server has two sections: consumer and producer and I think anything that fulfills any of those can be called a C2S client...

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink
  5. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 05:09:35 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve yes, but something dumb that only fetches a URL and converts the resulting ActivityPub into a valid other type of representation is a valid client in my opinion. That's what I mean, was that unclear?

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink
  6. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 05:09:32 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve OK, but why?

    I feel like I explained my position relatively clearly, I would like to understand yours, even though I feel some animosity has started to crop up.

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink
  7. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 03:52:48 JST marius marius
    • Emelia 👸🏻
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate
    • Ben Pate 🤘🏻

    @thisismissem it's not explicitly saying to forward authorization, but to me that's implied from "require authentication":

    proxyUrl: Endpoint URI so this actor's clients may access remote ActivityStreams objects which require authentication to access

    https://w3c.github.io/activitypub/#proxyUrl

    @evan @benpate @steve @smallcircles

    In conversation about 4 days ago from metalhead.club permalink
  8. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 00:54:48 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve I think
    we need to emphasize that timelines can be built from regular collections, even unordered ones, by using some intermediate representations specific to the type of timeline that a client wants to render.

    The fact that the specification does not directly support a mapping between a collection and a responsive timeline, *DOES NOT MEAN* one can't be built from it, only that it requires a little more effort on the client side.

    My goto example is how rich mail clients allow responsive mailbox representations on top of a much less expressive collection method that IMAP provides compared to ActivityPub.

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink

    Attachments


  9. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 00:54:46 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve yes, that's how I meant it. A client fetches as much of the collection as it can, then applies whatever rules it wants to transform the result into a "timeline" when the user asks for it.

    This however most likely requires local caching of the collection to have decent latency.

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink
  10. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 21-Feb-2026 00:54:43 JST marius marius
    in reply to
    • 🫧 socialcoding..
    • Evan Prodromou
    • Steve Bate

    @steve frankly I disagree with this point. Servers should be simple. We need to move away from the paradigm of custom purpose ActivityPub servers that Mastodon pushed where the client and server are the same service.

    Timelines should be orthogonal to the ActivityPub specification and, in my opinion, kept well away from it.

    What's the benefit for my client application to know what your server's preferred timeline representation is?

    Let's not go down the path where everything looks like a nail because we really like hammers.

    @smallcircles @evan

    In conversation about 4 days ago from metalhead.club permalink
  11. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 08:31:28 JST marius marius
    in reply to
    • silverpill

    @silverpill can't wait... the good thing about my implementation of using proxyUrl from the frontend is that it only kicks in on failed requests, so it'll be transparent when you switch.

    In conversation about 9 days ago from metalhead.club permalink
  12. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 04:07:23 JST marius marius
    in reply to
    • silverpill

    @silverpill when I fetch mitra actors from the browser with JavaScript fetch, it disallows them due to the server not allowing CORS pre-flight requests.

    When I was adding support for Django's C2S client, it became apparent that if we want objects be accessible form in browser clients, the servers need very relaxed CORS policies. I defaulted to accepting all https:// ... but I'm thinking about rules based on the actor's followers perhaps..

    In conversation about 10 days ago from metalhead.club permalink
  13. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 03:19:36 JST marius marius

    I'm thinking in adding #ONI proxyUrl support in the frontend. :goose_hacker:

    Currently if a request to a remote #ActivityPub object fails - either due to CORS, or because of authorized fetch - I just display a fallback link to it.

    I'm wondering if I can do a two step approach, if the request to the resource fails with 401-403 (for secure fetch) or 400 (for CORS failures) I try to redirect the request through the proxyUrl mechanism.

    Only if that fails too, I fallback to something else.

    In conversation about 10 days ago from metalhead.club permalink
  14. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 03:19:35 JST marius marius
    in reply to

    :🎉 ... and done!

    Now I have the actors of remote instances (like mitra.social and mastodonapp.uk) loading properly in the inbox of ONI.

    I'm not proud of the JavaScript that does it, there must be an idiomatic way to chain fetch requests without the Promise in Promise spaghetti I just wrote. :(

    In conversation about 10 days ago from metalhead.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: mastodonapp.uk
      Mastodon App UK
      UK Hosted and Managed Mastodon Instance. General communal space for discussion, everyone welcome!
  15. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 03:19:33 JST marius marius
    in reply to
    • silverpill

    Ooops... mitra.social is down.

    I hope it wasn't me that brought it down with my testing. :(( Sorry @silverpill

    In conversation about 10 days ago from metalhead.club permalink
  16. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 13-Feb-2026 01:27:17 JST marius marius
    in reply to
    • Matthias Pfefferle

    @pfefferle I added a PKCE task to my todo list:

    https://todo.sr.ht/~mariusor/go-activitypub/440

    In conversation about 12 days ago from metalhead.club permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      ~mariusor/go-activitypub#440: Add support for RFC 7636: PKCE in the authorize server — sourcehut todo
  17. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 13-Feb-2026 01:24:41 JST marius marius
    in reply to
    • Matthias Pfefferle

    @pfefferle love it! 💗

    GoActivityPub doesn't really do "scopes" because I couldn't think of a way store the permissions on the server side in a way that doesn't require custom logic to interact with vanilla ActivityPub objects.

    In conversation about 12 days ago from metalhead.club permalink
  18. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 13-Feb-2026 01:16:23 JST marius marius
    in reply to
    • Matthias Pfefferle

    @pfefferle yes, that might be possible. BOX is strongly biased with the conventions of GoActivitPub where actorIRI/outbox is most of the time a safe assumption to make.

    But there are mechanisms to dereference the oubox correctly after loading an Actor object, and usually I default to that, the "just append outbox to the URL" logic is a last resort.

    Do you think you can send an email to the GoActivityPub mailing list with details about your issue, so I can try to find where exactly this happens? TY

    Just click new post on this page: https://lists.sr.ht/~mariusor/go-activitypub-dev

    In conversation about 12 days ago from metalhead.club permalink

    Attachments

    1. This domain name is registered with Netim
    2. No result found on File_thumbnail lookup.
      ~mariusor/go-activitypub-dev archives — lists.sr.ht
  19. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 13-Feb-2026 01:16:21 JST marius marius
    in reply to
    • Matthias Pfefferle

    @pfefferle I changed some stuff to a potential place where this could have happened.

    If you can build a new version of BOX, please try again and let me know if it fixes the issue for you.

    In conversation about 12 days ago from metalhead.club permalink
  20. Embed this notice
    marius (mariusor@metalhead.club)'s status on Wednesday, 11-Feb-2026 07:25:28 JST marius marius
    • Matthias Pfefferle
    • Manton Reece

    @manton one way you could do this is by uploading the images, then adding the URLs as attachments, while at the same time they can be linked inline in the text content.

    Of course this would be way too much to handle for Mastodon, but from an ActivityPub point of view it makes sense and doesn't require any hand wavy solutions.

    In my one user ActivityPub web-app, I have all the moving parts I described above working, but they haven't come together just yet, because the UI for posting is just a CLI tool and it's difficult to describe in markdown an image that hasn't yet been uploaded with a stable URL. But writing this gave me an idea... 🤔

    @pfefferle

    In conversation about 14 days ago from metalhead.club permalink
  • Before

User actions

    marius

    marius

    Mostly a programmer.Implementing #ActivityPub in the #Go programming language.Current projects: * #GoActivityPub - a library to use ActivityPub in Go. * #FedBOX - a generic ActivityPub service supporting the client to server API. * #brutalinks - a link aggregator inspired by (old) reddit, hacker news and lobste.rs built on top of FedBOX. * #oni - a single user ActivityPub server with minimal fuss.My posts are mostly related to ActivityPub and web development.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          7165
          Member since
          25 Aug 2022
          Notices
          181
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.