Spaces:
Runtime error
Runtime error
Commit History
-
feat(cloud-sync): GitHub OAuth + Upstash Redis cross-device sync (LWW)
Đào Minh Tú- /api/auth/[...nextauth] (NextAuth GitHub provider, JWT session) - /api/sync GET/PUT with scope param (sessions/settings/collections) - lib/sync-keys.ts allowlist of localStorage keys per scope - hooks/use-cloud-sync: patch setItem to detect mutations + debounced 3s push + initial pull + pull on focus/visibility - components/cloud-sync-button: sign in/out + status + manual pull/push - Sidebar footer integration - README + .env.local.example updated with setup stepse58a028