summaryrefslogtreecommitdiff
path: root/SPRINT.md
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-01-29 16:46:22 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-01-29 16:46:22 +0100
commita5748bd37bb0411b0ddd507120c72fa0335d5c39 (patch)
treebb3709843c7364103758c678560a16a3d65e2d6d /SPRINT.md
parent5269dc9e840be50d945ce89a2abaca7ee50b6536 (diff)
feat(pleroma): add incremental caching for post fetching
Use Astro 5 MetaStore to persist sync state (newestStatusId, lastSyncTime, accountId) between builds. On subsequent builds, only fetch new posts via the Mastodon API since_id parameter instead of re-fetching all ~344 statuses. Includes force-refresh support via PLEROMA_FORCE_REFRESH env var or config option, cache TTL, and automatic fallback to full fetch on errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'SPRINT.md')
-rw-r--r--SPRINT.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/SPRINT.md b/SPRINT.md
index 541cdab..ba4c150 100644
--- a/SPRINT.md
+++ b/SPRINT.md
@@ -7,9 +7,6 @@ Goal: Initialize project tooling for Claude Code
## In Progress
## Backlog (Prioritized)
-- [ ] **[FEATURE-001]** Add caching for Pleroma post fetching
- - Implement local cache to avoid re-fetching all posts from social.craftknight.com on every build
- - Cache should store fetched posts and only pull new/updated ones
- [ ] **[FEATURE-002]** Import posts from old Mastodon instance
- Fetch posts from https://mastodon.com.pl/@knightdave using the same approach as the Pleroma loader
- Integrate into the existing content collection alongside Pleroma posts
@@ -21,6 +18,9 @@ Goal: Initialize project tooling for Claude Code
- Let users see total page count and jump to specific pages
## Completed This Sprint
+- [x] **[FEATURE-001]** Add caching for Pleroma post fetching
+ - Completed: 2026-01-29
+ - Notes: Incremental fetching via Astro 5 MetaStore + Mastodon since_id API. Supports force refresh via env var, config option, and cache TTL.
- [x] **[CHORE-001]** Initial Claude Code setup
- Completed: 2026-01-29
- Notes: Added CLAUDE.md, SPRINT.md, .claude/settings.local.json