- architecture/: overview, technology stack, auth (OIDC + built-in IndieAuth), syndication (POSSE) rewritten; new database.md, deployment.md and indieweb-protocols.md; legacy stack marked historical - decisions/: reconstructed ADR-060 and ADR-063; 31 status corrections (superseded auth ADRs, proposed -> accepted); INDEX rebuilt - design/: reconstructed the v1.6.0 documents the webmention code cites; reports for 18 v2 releases without a design folder; INDEX rebuilt - projectplan/: BACKLOG rewritten (shipped items removed, open issues from the reviews added); RELEASE.md for v2.0.0-v2.10.1; INDEX - standards/: development setup (uv, tests, DEV_MODE), testing (CI test stage), git and release flow, versioning, coding standards, cookies - README, CLAUDE.md, .env.example (every setting the code reads, with defaults) brought up to date - 137 broken links repaired (old absolute paths, moved files); stale ADR references in code comments corrected (comments only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
# ADR-068: Likes and reposts
|
|
|
|
## Status
|
|
|
|
Accepted (v2.5.0, 2026-11-01). Bookmarks were considered and declined.
|
|
|
|
> Bookmarks were later added in v2.9.0 (Micropub `bookmark-of`, migration 015) without a separate ADR. (status updated 2026-11-03)
|
|
|
|
## 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).
|