TryGhost / TryGhost/ActivityPub

1b12 Group Actors

Open
#659 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
237
Forks
35
Avg merge
1d 16h
Merged PRs (30d)
60

Description

I'd like to recommend that Ghost update the main index actor to be as:Group type, adhering to FEP 1b12.

The properties on both types are equivalent, both have public keys, etc.

The changes would be:

  • Instead of federating Create(Article) directly, you would Announce(Create(Article)) and Announce(Article) (for Mastodon compatibility)
  • The Create's actor and the Note's attributedTo would be the actual post author
    • This would of course hinge on the future support for multiple AP authors

Rationale:

Threaded implementations could slot all content published by the blog itself in an organized collection (like a forum category).

Prior art:

Lemmy/Mbin/NodeBB all do this with their communities/categories. WordPress also does this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how Ghost exposes its main index actor and federates Create(Article) and Article activities. Review the FEP 1b12 requirements and the issue's Mastodon compatibility notes, including the dependency on multiple ActivityPub authors. Done means the index actor is represented as as:Group and the described Announce and author attribution behavior works compatibly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.