# Implementation plan: Tumblr-style reblog chains for a Misskey fork

## 1. Implement the right data model

Tumblr's important feature is that every reblog carries a trail of earlier contributions, followed by the new author's contribution. Tumblr's own API represents this as a `trail` array ordered from the original post to the immediate parent; the current reblog's content is stored separately.&#x20;

[image](https://www.google.com/s2/favicons?domain=https://github.com\&sz=32)

GitHub

+1



Use Misskey's existing `Note` model, but add a distinct reblog-chain relationship. Do not change the meaning of ordinary renotes or quote posts.

| Field            | Purpose                                                                   |
| ---------------- | ------------------------------------------------------------------------- |
| `reblogParentId` | The exact Note being reblogged                                            |
| `reblogRootId`   | The original Note at the start of the chain                               |
| `reblogTrail`    | The inherited contributions, in display order, excluding the current Note |

Keep the first two fields on the Note itself. Store trail entries in a separate table if practical, with each entry recording its source Note, position, author attribution, and enough content information to survive missing or deleted ancestors.

For example:

```
Alice: original drawing
  └── Bob: "Cute cat!"
        ├── Carol: "He owes me money."
        └── Dave: "Where can I find more?"
```

Bob's Note has Alice as its parent and root. Carol's has Bob as its parent and Alice as its root. Dave's has the same parent and root as Carol, but is an independent branch.

Carol's trail contains Alice and Bob. Dave's trail contains Alice and Bob. Neither includes the other's commentary.

## 2. Build a chain-aware reblog operation

Add a reblog action and creation path that accepts the target Note, new commentary, attachments, content warning, and visibility.

When someone reblogs a Note, the server should:

1. Validate that the target is rebloggable and visible to the user.
2. Create a new Note representing that user's contribution.
3. Set `reblogParentId` to the exact target and inherit its root.
4. Copy the target's existing trail into the new entry, then append the target's contribution to that trail.
5. Apply any trail-trimming choices made in the composer.
6. Publish the new Note through the normal timeline, notification, and delivery machinery.

The server must construct the trail itself rather than trusting a client-supplied list of authors or content.

A reblog without commentary must also be supported. It still creates an identifiable reblog entry, even though the author's contribution is empty.

## 3. Make the trail behave like Tumblr's

The trail is more than a chain of links. It is the history displayed with a particular reblog.

The frontend should render the inherited trail oldest-first and then show the current author's contribution. Each contribution retains its own author attribution, content, attachments, and link to the corresponding Note.

The reblog composer should display the existing trail before publication and let users trim inherited commentary without editing anyone else's original Note. A simple first version could offer the ability to remove intermediary captions while retaining the original, as Tumblr's documented interface does.&#x20;

[image](https://www.google.com/s2/favicons?domain=https://help.tumblr.com\&sz=32)

Tumblr Help Center

+1



Prefer storing a per-reblog snapshot of the trail rather than dynamically reconstructing everything from parent pointers. Otherwise, deleting or changing an ancestor could unexpectedly alter the history shown on descendants. Keep parent/root references as well, so the original relationship remains queryable.

Place reasonable limits on trail depth and total size. Preserve a deleted or unavailable contribution as an appropriate placeholder when its content cannot be retained or displayed.

## 4. Integrate with Misskey without breaking existing features

Keep regular renotes, quote posts, replies, and their existing API semantics unchanged.

The new chain entries should use the normal Note creation infrastructure wherever possible. Extend the relevant Note packer/API response to expose the root, parent, and ordered trail; update the frontend's Note component to render it.

Interactions need explicit rules:

- Replies and reactions: Attach them to the particular Note the user interacted with.
- Deletion: Deleting your reblog removes your own entry, not its ancestors or descendants.
- Editing: Allow editing only the current author's contribution, never previous trail entries.
- Search: Index the current contribution rather than repeatedly indexing the entire inherited trail.
- Visibility: Never widen the visibility of content carried into a trail. Follow existing Misskey restrictions on renoting private Notes and add checks for the new operation.&#x20;

  [image](https://www.google.com/s2/favicons?domain=https://misskey-hub.net\&sz=32)

  Misskey

  +1



Add a per-Note reblog permission if the fork needs Tumblr-style controls for disabling further reblogs.

## 5. Add federation support and fallbacks

A custom chain model will not automatically be understood by other ActivityPub implementations.

Between compatible fork instances, serialize the parent/root relationships and trail data using documented, fork-specific ActivityPub properties. Follow Misskey's conventions for optional `_misskey_` extension properties and context definitions.&#x20;

[image](https://www.google.com/s2/favicons?domain=https://github.com\&sz=32)

GitHub



A chain reblog with commentary should federate as an authored Note, not merely as an `Announce` boost. On receiving instances that understand the extension, reconstruct the trail. On ordinary Misskey, Mastodon, and other instances, fall back to a normal post or quote-like representation where supported. Do not promise full trail preservation across incompatible servers.

## 6. Test before release

Cover branching chains, empty reblogs, trail trimming, deleted ancestors, edited contributions, duplicate reblogs, permissions, and visibility enforcement. Add federation tests for two compatible fork instances and for communication with unmodified Misskey and Mastodon.

### Recommended implementation order

1. Extend the Note schema and add migrations for parent/root relationships and trail storage.
2. Implement chain-aware reblog creation, inheritance, and validation.
3. Expose trail data through the API and render it in the frontend.
4. Add trail trimming, deletion handling, permissions, and interaction rules.
5. Implement the ActivityPub extension, compatibility fallbacks, and federation tests.

Core design decision: Each reblog is a new authored Note with its own contribution, a reference to the exact post reblogged, and a preserved trail of inherited contributions. That gives you Tumblr's branching and attribution model while leaving ordinary Misskey renotes and quote posts intact.
