#social 2018-06-19

2018-06-19 UTC
xmpp-social, vasilakisfil, timbl, JanKusanagi, tuxether and cwebber2 joined the channel
#
tuxether
has anyone done activitypub in golang yet?
#
nightpool[m]
two people are currently working on different go libraries
#
tuxether
is there a minimal code example somewhere? Any language would do. I've read through documentation, but don't quite understand.
#
nightpool[m]
Minimal code example for what?
#
tuxether
A simple implementation using activitypub.
#
nightpool[m]
Implementation of what?
#
nightpool[m]
Lots of different things can be implemented using activitypub. As far as i'm aware there's no project with a specific goal of providing a minimal activitypub C2S and S2S implementation
#
tuxether
I'm trying to implement server to server federation for a social link aggregator (hackernews/reddit). I know I've to use activitypub, but not quite sure how to proceed.
#
nightpool[m]
Hmm. What kind of data are you expecting to federate?
#
tuxether
Just post URL and vote count for now.
#
nightpool[m]
ActivityPub's federation is a follower-based protocol, so the first thing to figure out is who the "actors" would be in your model, and how people would follow them.
#
tuxether
Do I write raw JSON values to/from the inbox?
#
nightpool[m]
What do you mean by raw?
#
nightpool[m]
Yes, the inbox accepts POST requests with a JSON body.
timbl, tantek, vasilakisfil and kaniini joined the channel
#
kaniini
Gargron contentMap fix has been deployed on most mainstream pleroma servers
tantek and timbl joined the channel