ActivityPub Support: Phase 1 RFC

I don’t think so: remote users could still be staged, unless they link their remote account to a local one in which case antispam would apply to that account.

I only had a short look at the comments, I must confess. I would suggest that every category would be an own actor (with the type “Group”). Then people from outside can simply subscribe to specific categories. Posts in these categories can the be realized with having the “Group” account announced the user posts. So we do have both the category and the author. This is the way we are doing it with our own software. When using JSON-LD signatures, this would be safe for non public categories as well.

Question is what to do with comments from outside. I would suggest that the group accounts are defined as “manually-approve”. Then one could add some validation process to avoid random spam. These validated accounts should then be able to comment on these posts.

This would instantaneously allow people from (nearly) the whole fediverse to connect and interact with discourse systems.

6 Likes

I agree with @heluecht’s suggestion.

Additionally, I think it would be great that:

  1. Every category Group actor can have an owner who has power to manage the category: control posting permissions, ban or remove users, set visibility (public or private)…
  2. Local users would create categories on their instance, as long as the instance staff approve their category creations.
  3. If a category owner doesn’t fit their position, the site staff can change them.

That’s the way many centralized forums and communities work. What to improve is making it federating.

Nevertheless, there are still problems:

  1. Should actor ids be mutable? Discourse usernames can be set to modifiable in the site settings. However, I doubt whether other AP software can handle this. Is Object's `id` immutable? - ActivityPub - SocialHub
    (More to be mentioned)
5 Likes

Anyone from Discourse team coming to the SocialHub at OFFDEM next week? It would be a great moment to meet and match with other AP implementors.

7 Likes

Not to my knowledge, but thanks for asking!

5 Likes

Some quick points of reference:
Friendica and Hubzilla can turn RSS feeds into ActivityPub/Diaspora*/OStatus compatible federated accounts.

Also, see this Wordpress plugin that turns posts into ActivityPub posts.

9 Likes

Some more points of reference…

5 Likes

Congrats for the EU money!
https://nlnet.nl/project/DiscourseActivityPub/
Is there a roadmap?

Anyone from Discourse team coming to the ActivityPub Conf?
It would be a great moment to meet and match with other AP implementors.
https://conf.activitypub.rocks

5 Likes

I don’t think this actually moved forward for a variety of reasons – that was just the RFC proposal.

1 Like

Hopefully we’re going to discuss ActivityPub implemention in Discourse over the Birds of a Feather next Sunday during the APConf2020. See the dedicated topic over at the SocialHub:

@rishabh it would be great to have you around, at least in the topic if you cannot make it on Sunday. We don’t know the precise hour yet, but it’s on Sunday morning. I’ll update this post when I know.

7 Likes

Hey @hellekin,

Sorry I didn’t make it. I should inform you that we didn’t apply for the NGI0 funding and no one is currently working on this at the moment. I’m also not the best person to be driving this because I’m not familiar with the protocol but I’ll ping @Falco here just to see if he has any thoughts or interest in taking this forward.

4 Likes

Well, at the time, one of your team members did – even if he’s no more on board, and you were selected – so someone had to approve it, so I don’t know what “we” you’re referring to. :slight_smile: Anyway I’m looking forward to discussing with @Falco. Some kind of AP support would really be helpful for the ActivityPub community, especially since it would facilitate working across Discourse instances and integrate with the Fediverse better.

I’m conscious about the anti-spam issue, but I think it can be alleviated with staging Fediverse users like unregistered email users until they actually register a local account.

5 Likes

Of course, it would be really nice to see that.

Yes, we did apply for the funding in the past but we spoke with the NLnet team earlier this year to close the project and free up the funding that was reserved for us. Even if we were selected then, the collaboration with NGI0 is cancelled for now. Of course, we are free to make proposals in the future.

I just remembered that @riking might be interested too :slight_smile:

1 Like

Interesting.

This project was funded through the NGI0 Discovery Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 825322.

So: Are they talking about another “Discourse”?
Just asking because of “Projects own website: https://discourse.org” …

1 Like

Oh, I didn’t know that page existed. I’ll write an e-mail to our contact at NLnet, nudge them in case they forgot to remove it and post an update here.

EDIT: changes are live on NLnet; Discourse ActivityPub

1 Like

I see.
Pretty frustrating.

Friends changed do discourse because of upcoming ActivityPub.
Now they all trash discourse again …

Also the official forum for ActivityPub went to discourse and now we
need to debate what to do …

The developers behind Lemmy are doing great work on this front of adapting ActivityPub to be usable by community software:

However, they had to extend it, so there is no other software implementing their activities.

Our federation implementation is already feature complete, but so far we haven’t focused at all on complying with the ActivityPub spec. As such, Lemmy is likely not compatible with implementations which expect to send and receive valid activities.

I guess if Lemmy can get it to be compatible with Mastodon, we can go and implement the same API Lemmy uses, mapping

Discourse Lemmy ActivityPub
Category Community
Watching Follow
Topic Post
Post Comment
Like Like
15 Likes

In ActivityPub parlance this would be a Page then, which makes a lot of sense if you consider the Page publishing feature: first part would be announced as a Page, then any response would be a Note.

I’m unsure about Category -> Community. Since AP support and SSO make this more fluid. I tend to have more than one Discourse instance for a single community.

4 Likes

Just to say, the following Discourse instances started to share both users and topics, and ActivityPub in Discourse would be very useful to all of us:

7 Likes

Interesting, worth noting Mobilizon is also using ActivityPub for event planning, developed by Framasoft… same people making Peertube.

1 Like