# ActivityPub between two Discourse instances

**URL:** https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374
**Category:** Support
**Tags:** activitypub
**Created:** [September 1, 2024, 10:31am UTC](https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374 "2024-09-01T10:31:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Matthias\_Schuster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matthias_schuster/32/389927_2.png) [@Matthias\_Schuster](https://meta.discourse.org/u/Matthias_Schuster)
#### Post date: [September 1, 2024, 10:31am UTC](https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374/1 "2024-09-01T10:31:08Z")

</div>

To which extend can two instances of Discourse communicate with each other through the API of ActivityPub?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [September 4, 2024, 10:51am UTC](https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374/2 "2024-09-04T10:51:23Z")

</div>

Do you mean directly using the [ActivityPub Plugin](https://meta.discourse.org/t/activitypub-plugin/266794)? If so, this is what you can currently federate:

### Can be federated between Discourse instances

1. _Public_ topics can be federated when
  - created in a specified Category or created with a specified tag

2. Replies on those topics can also be federated _in both directions_
  - this is super cool, but only works if both instances are public

3. Deletions of these will also be federated

### What _can’t_ currently be federated between instances:

1. edits aren’t federated
  - this includes wiki edits

2. old topics / replies can’t be federated
  - this can be quite a challenge for legacy content

We are currently exploring federation between the #pavilion tag here on [meta.discourse.org](http://meta.discourse.org) and [coop.pavilion.tech](https://coop.pavilion.tech), so hopefully you’ll be able to see this in action in a real world setting shortly.

---

<div class="post-metadata">

### Author: ![Matthias\_Schuster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matthias_schuster/32/389927_2.png) [@Matthias\_Schuster](https://meta.discourse.org/u/Matthias_Schuster)
#### Post date: [September 15, 2024, 6:09pm UTC](https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374/3 "2024-09-15T18:09:28Z")

</div>

In case I federate based on categories, do I go right in the assumption, that they would simply show up in each others category list?

So are those categories listed as if they were native, non-federated categories?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [September 16, 2024, 7:07am UTC](https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374/4 "2024-09-16T07:07:32Z")

</div>

New topics in the source show up in the follower’s designated category, and replies are shared in both directions.

New Topics posted in the follower aren’t federated at present.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 16, 2024, 7:07am UTC](https://meta.discourse.org/t/activitypub-between-two-discourse-instances/324374/5 "2024-10-16T07:07:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
