Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local only community #1576

Closed
Nutomic opened this issue Apr 15, 2021 · 1 comment
Closed

Local only community #1576

Nutomic opened this issue Apr 15, 2021 · 1 comment
Labels
area: federation support federation via activitypub enhancement New feature or request

Comments

@Nutomic
Copy link
Member

Nutomic commented Apr 15, 2021

I noticed that it should be quite easy to implement local-only communities which dont federate. Basically what we need to do is:

  • Disable all HTTP endpoints for the community in apub_receive::http::community
  • Disable converting the community in apub::objects::community::to_apub

With these two changes, it is impossible for any remote instance to get the public key of the community, so they cant send any valid activities to it. This means remote users cant follow the community, and its posts/comments wont be federated.

Edit: We could also make it so that only users who are logged in can view local-only communities, that could be very useful once we have invite only instances.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Nutomic Nutomic added enhancement New feature or request area: federation support federation via activitypub labels Apr 15, 2021
@Nutomic
Copy link
Member Author

Nutomic commented Jun 28, 2023

This feature would be particularly useful for communities like https://lemmy.ml/c/meta or https://sh.itjust.works/c/agora which are used to discuss the moderation and rules of an instance. For such discussions it doesnt make much sense if users from other instances can participate. These local communities could also be made to be viewable only by local users, so they would effectively be a type of private community (#187).

Would anyone be interested to implement it? I can give guidance, but dont have time to do all the coding and testing myself.

Edit: Im planning to work on this myself soonish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: federation support federation via activitypub enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant