If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?
-
@mariusor thanks! (Looks like I had already starred this one awhile ago haha) I'll check it out and see if it's what I'm looking for
@tom if it doesn't work out I'd also be interested in learning why not.
-
If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?
@tom I'm slowly working on one, but it's completely unpaid work.
-
@tom if it doesn't work out I'd also be interested in learning why not.
@mariusor I got it running w/o many issues (maybe I missed it but I didn't see any wiki pages on building Box? I got that working as well regardless)
Is there an active issue w/ fetching oni content in Mastodon? I can't seem to grab my user or any statuses from my server or from activitypub.academy. I also tried fetching your posts (because it sounded like it at least worked last year, https://metalhead.club/@mariusor/113708953874760675) but that didn't work either so maybe I'm missing something.
-
@tom check if this one I wrote can be of use:
https://github.com/mariusor/oni
PS: Any feedback about setting it up and configuring it for your use case will be appreciated, either here, or on github/mailing list.
mariusor@metalhead.club is there a public instance available?
-
@mariusor I got it running w/o many issues (maybe I missed it but I didn't see any wiki pages on building Box? I got that working as well regardless)
Is there an active issue w/ fetching oni content in Mastodon? I can't seem to grab my user or any statuses from my server or from activitypub.academy. I also tried fetching your posts (because it sounded like it at least worked last year, https://metalhead.club/@mariusor/113708953874760675) but that didn't work either so maybe I'm missing something.
@tom I basically follow actors and that's how seeing posts by others in your /inbox works.
The frontend loads stuff directly through JavaScript fetch and needs all the mechanisms of that to work (and I imagine what you see might be things failing to load due to CORS rules being too restrictive on remote Mastodon instances)
I am not aware of any issues with receiving activities though, and in this process the objects themselves should be fully dereferenced to local copies.
I'll add a note about BOX compilation. Thanx.
-
@tom I basically follow actors and that's how seeing posts by others in your /inbox works.
The frontend loads stuff directly through JavaScript fetch and needs all the mechanisms of that to work (and I imagine what you see might be things failing to load due to CORS rules being too restrictive on remote Mastodon instances)
I am not aware of any issues with receiving activities though, and in this process the objects themselves should be fully dereferenced to local copies.
I'll add a note about BOX compilation. Thanx.
@tom looking at the post of mine you linked, I realize you're probably thinking of regular object discovery, and there isn't any mechanism for it yet, or for viewing remote objects that haven't reached your inbox.
-
@tom looking at the post of mine you linked, I realize you're probably thinking of regular object discovery, and there isn't any mechanism for it yet, or for viewing remote objects that haven't reached your inbox.
@mariusor sorry I meant the reverse behavior, viewing Oni users/activities from my mastodon instance (or from mastodon.social) not viewing remote activities from oni
I.e. searching for https://marius.federated.id/outbox/1725894299052/object doesn't pull up the object in mastodon (and searching for the user doesn't bring that up either)
-
@mariusor sorry I meant the reverse behavior, viewing Oni users/activities from my mastodon instance (or from mastodon.social) not viewing remote activities from oni
I.e. searching for https://marius.federated.id/outbox/1725894299052/object doesn't pull up the object in mastodon (and searching for the user doesn't bring that up either)
@mariusor actually nevermind ignore me, searching for your federated id user seems to work so I must have something wrong with my network configuration, I'll do some debugging later
-
@mariusor actually nevermind ignore me, searching for your federated id user seems to work so I must have something wrong with my network configuration, I'll do some debugging later
@tom a quick check list for you:
1. Check if the actor is publicly accessible from the internet.
2. Check if it has a RSA private/public key.
3. Check that if you have a proxy in front of ONI it doesn't mangle Accept/Vary/Content-Type headers.
4. Check that if you have a proxy the `/.well-known/webfinger` route is handled by ONI. (your proxy should forward all routes to ONI directly as a start)
-
@tom a quick check list for you:
1. Check if the actor is publicly accessible from the internet.
2. Check if it has a RSA private/public key.
3. Check that if you have a proxy in front of ONI it doesn't mangle Accept/Vary/Content-Type headers.
4. Check that if you have a proxy the `/.well-known/webfinger` route is handled by ONI. (your proxy should forward all routes to ONI directly as a start)
mariusor@metalhead.club Can you use ActivityPub.academy? There is a logger built in so you can see the activities coming and going. It might help you debug why the ONI activities aren’t being processed.