Skip to content

feat: remove Firebase, replace with manual room-name session entry#1

Draft
DJBen wants to merge 2 commits intomainfrom
GCP-only
Draft

feat: remove Firebase, replace with manual room-name session entry#1
DJBen wants to merge 2 commits intomainfrom
GCP-only

Conversation

@DJBen
Copy link
Copy Markdown
Owner

@DJBen DJBen commented Mar 13, 2026

  • Relay (server.mjs): strip all Firestore presence tracking; relay is now pure in-memory WebSocket message forwarding with no GCP/Firebase dependency.
  • Package.swift: drop all firebase-ios-sdk products; keep only SwiftTerm.
  • GoVibeBootstrap: replace FirebaseApp.configure() with a no-op.
  • AppRuntimeConfig: remove apiBaseURL / GCP project+region keys; relay host is the only required config value.
  • SessionStore: remove Firebase anonymous auth and /relay/rooms discovery; sessions are now persisted locally in UserDefaults under a fixed key. Users add sessions by typing a room name (unchanged UX — alert was already there).
  • SessionViewModel: remove FirebaseAuth import, apiClient, bootstrapAuth(), createSession(), iosDeviceId, and sessionId. View connects to relay directly on appear via connectRelayNow().
  • SessionDetailView: .task now calls connectRelayNow() directly.
  • GoVibeAPIClient.swift: deleted (no backend calls remain).
  • Models.swift: remove SessionCreateResponse / SessionDiscoveryResponse.

DJBen and others added 2 commits March 12, 2026 19:08
- Relay (server.mjs): strip all Firestore presence tracking; relay is
  now pure in-memory WebSocket message forwarding with no GCP/Firebase
  dependency.
- Package.swift: drop all firebase-ios-sdk products; keep only SwiftTerm.
- GoVibeBootstrap: replace FirebaseApp.configure() with a no-op.
- AppRuntimeConfig: remove apiBaseURL / GCP project+region keys; relay
  host is the only required config value.
- SessionStore: remove Firebase anonymous auth and /relay/rooms discovery;
  sessions are now persisted locally in UserDefaults under a fixed key.
  Users add sessions by typing a room name (unchanged UX — alert was
  already there).
- SessionViewModel: remove FirebaseAuth import, apiClient, bootstrapAuth(),
  createSession(), iosDeviceId, and sessionId. View connects to relay
  directly on appear via connectRelayNow().
- SessionDetailView: .task now calls connectRelayNow() directly.
- GoVibeAPIClient.swift: deleted (no backend calls remain).
- Models.swift: remove SessionCreateResponse / SessionDiscoveryResponse.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant