How greg-moiola/enclave works
The repository combines an Enclave web application—account access and messaging—with NEXUS visual-analysis tools and browser-side AI engines. The NEXUS workflow is to choose an analysis mode, provide an image, video, or live input, and inspect results; the sampled code directly confirms image and subject-search engine use. Enclave source excerpts show Firebase-backed authentication and chat-related writes. Several product files are indexed but not excerpted, so their finer behavior and some links are intentionally omitted.
Main entry points: App.tsx Studio navigation · script.js Enclave interface · auth.js Account access · firebase.js Firebase setup
Components 23
Enclave application
- Enclave interface
js/script.js - Account access
js/auth.js - Firebase setup
js/firebase.js - Voice feature
js/enclave-voice.js - Future mode
js/future-mode.js
NEXUS Studio
- Studio navigation
tools/nexus-studio/src/App.tsx - Image analysis
tools/nexus-studio/src/components/ImageAnalysis.tsx - Live analysis
tools/nexus-studio/src/components/LiveAnalysis.tsx - Video analysis
tools/nexus-studio/src/components/VideoAnalysis.tsx - Subject search
tools/nexus-studio/src/components/SubjectSearch.tsx - Settings
tools/nexus-studio/src/components/SettingsPage.tsx - Face and emotion engine
tools/nexus-studio/src/ai/humanEngine.ts - Subject matching engine
tools/nexus-studio/src/ai/subjectSearchEngine.ts
NEXUS engine package
- Face and emotion engine
packages/nexus-engine/src/humanEngine.ts - Subject matching engine
packages/nexus-engine/src/subjectSearchEngine.ts - Engine API
packages/nexus-engine/src/index.ts
Engine runtime
- Browser engine API
nexus-engine/nexus-engine.js - Human engine bundle
nexus-engine/assets/humanEngine-I5UjYiTY.js - Subject search bundle
nexus-engine/assets/subjectSearchEngine-BAwZycqC.js
Other components
- User
- Firebase Auth
- Cloud Firestore
- Studio user
Connections 22
- User → Enclave interface: uses
js/script.js - Enclave interface → Account access: handles access
js/script.js - Account access → Firebase setup: uses services
js/auth.js - Enclave interface → Firebase setup: uses services
js/script.js - Firebase setup → Firebase Auth: initializes
js/firebase.js - Firebase setup → Cloud Firestore: initializes
js/firebase.js - Account access → Firebase Auth: authenticates
js/auth.js - Account access → Cloud Firestore: reads and writes
js/auth.js - Enclave interface → Cloud Firestore: stores chat data
js/script.js - Studio user → Studio navigation: uses
tools/nexus-studio/src/App.tsx - Studio navigation → Image analysis: shows mode
tools/nexus-studio/src/App.tsx - Studio navigation → Live analysis: shows mode
tools/nexus-studio/src/App.tsx - Studio navigation → Video analysis: shows mode
tools/nexus-studio/src/App.tsx - Studio navigation → Subject search: shows mode
tools/nexus-studio/src/App.tsx - Studio navigation → Settings: shows mode
tools/nexus-studio/src/App.tsx - Image analysis → Face and emotion engine: analyzes image
tools/nexus-studio/src/components/ImageAnalysis.tsx - Subject search → Subject matching engine: runs search
tools/nexus-studio/src/components/SubjectSearch.tsx - Video analysis → Subject matching engine: analyzes video
- Engine API → Face and emotion engine: exports engine
packages/nexus-engine/src/index.ts - Engine API → Subject matching engine: exports engine
packages/nexus-engine/src/index.ts - Browser engine API → Human engine bundle: loads dynamically
nexus-engine/nexus-engine.js - Browser engine API → Subject search bundle: loads dynamically
nexus-engine/nexus-engine.js