Build Container / build (push) Successful in 6s
Micropub like-of/repost-of with optional comment; likes on /likes, off the home page and feeds; reposts in the stream. Native favourites/boosts on GoToSocial and likes/reposts/quotes on Bluesky when the target is on that network, link posts for other reposts. Fix double slash in outgoing webmention source URLs. ADR-068. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
# ADR-068: Likes and reposts
|
|
|
|
## Status
|
|
|
|
Accepted (v2.5.0, 2026-11-01). Bookmarks were considered and declined.
|
|
|
|
## Decision
|
|
|
|
1. **Storage.** `notes.like_of` / `notes.repost_of` (migration 013). The note's
|
|
content is an optional comment and may be empty.
|
|
2. **Display.** Likes stay off the home page and feeds and are listed on
|
|
`/likes`. Reposts appear in the stream and feeds. Both show the target's
|
|
fetched title and author (the reply-context cache) and carry
|
|
`u-like-of` / `u-repost-of`. The target is sent a webmention.
|
|
3. **Crossposting, per target.**
|
|
|
|
| | Target is a post on that network | Anything else |
|
|
|---|---|---|
|
|
| Like | native favourite / like | nothing |
|
|
| Repost, no comment | native boost / repost | "🔁 title url" post |
|
|
| Repost, with comment | Bluesky quote post; GoToSocial status | comment + "🔁 title url" post |
|
|
|
|
GoToSocial finds fediverse posts with `/api/v2/search?resolve=true`
|
|
(needs `read:search`; favourites need `write:favourites`). Bluesky
|
|
recognises `bsky.app/profile/<actor>/post/<rkey>` URLs. Native actions
|
|
are stored as `favourite:<id>` / `reblog:<id>` or the like/repost record
|
|
URI, and deleting the note undoes them.
|
|
|
|
## Consequences
|
|
|
|
- Editing a like/repost doesn't change a native favourite/boost.
|
|
- A repost with a comment can't be a GoToSocial boost (no quote posts there).
|