OverviewFilesCommitsIssuesDocsReleasesPeers

server-info-kb commits / a08b483

Update Wirecore deployment: Phase 3 complete
Phase 3 (P2P Feed Discovery & Replication) complete: - Feed key mapping and storage - Discovery endpoint (/api/discover/:publicKey) - Proper follow flow with feedKey discovery - Hyperswarm P2P replication - Follow persistence across restarts Current status: - PID: 581012 - 1 user feed loaded (8 posts) - Discovery endpoint tested and working Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
a08b483da17ef8a303b09c75a513246d66e2dc38
by plankatron <fleeky@gmail.com> · 2026-01-18T23:23:11.000Z

Changed files (1) +27 -2

tabertron/WIRECORE_DEPLOYMENT.md +27 -2
……@@ -1,13 +1,13 @@
11# Wirecore Deployment on Tabertron
22
33**Date**: 2026-01-18
4**Status**: Running in production (Phase 2 complete)
4**Status**: Running in production (Phase 3 complete)
55
66---
77
88## Current Status
99
10✅ **Wirecore running**: PID 578568
10✅ **Wirecore running**: PID 581012
1111✅ **Port**: 3000
1212✅ **Node version**: v22.20.0
1313✅ **Storage**: `./wirecore-web-storage/` (legacy server feed)
……@@ -69,6 +69,31 @@ Feeds now persist across server restarts:
6969- `a079021` - Add pagination to timeline endpoint (Phase 2 complete)
7070- `18b116e` - Fix pagination: aggregate all posts before limiting
7171
72### Phase 3: P2P Feed Discovery & Replication (COMPLETE)
73
74Proper P2P feed discovery and replication:
75- **Feed key mapping**: getFeedKey() method added to Wirecore
76- **Metadata enhancement**: feedKey stored in metadata.json
77- **Discovery endpoint**: /api/discover/:publicKey returns feedKey
78- **Follow with discovery**: Server discovers feedKey before replication
79- **Hyperswarm replication**: Follows trigger P2P feed replication
80- **Follow persistence**: Followed feeds restored on startup via _loadFollows()
81
82**Architecture**:
83- Each user has unique Hypercore feed (server-managed)
84- Browser publicKey (ed25519) maps to Hypercore feedKey
85- Hyperswarm joins followed users' topics
86- Timeline aggregates from own feed + followed feeds
87- All feeds replicate via P2P when online
88
89**Verified working**:
90- ✅ Discovery endpoint returns feedKey for online/offline users
91- ✅ metadata.json will include feedKey for new posts
92- ✅ Follow flow: publicKey → discovery → feedKey → replicate
93
94**Recent commits**:
95- `f7334c0` - Implement P2P feed discovery & replication (Phase 3)
96
7297---
7398
7499## Location