How topupchips/harvest-ai works
WorldScout is a map-driven world-generation product with a data-extraction and object-detection workflow. Users select a location, provide optional product imagery, generate and view a 3D world, then can extract views from saved worlds and detect matching objects for annotated-image download. The graph also includes the landing experience, backend orchestration, and persistence. Some service internals were not excerpted; their links are omitted or marked unverified rather than inferred.
Main entry points: App.jsx App workflow · generate.py World generation routes · main.py HTTP application · DataFactory.jsx Data factory UI
Components 28
Web experience
- App workflow
frontend/src/App.jsx - Location map
frontend/src/components/MapView.jsx - Landing page
frontend/src/components/landing/LandingPage.jsx - 3D Earth
frontend/src/components/landing/Earth3D.jsx - Location details
frontend/src/components/LocationPopup.jsx - Product descriptor
frontend/src/components/ProductDescriptor.jsx - World viewer
frontend/src/components/WorldViewer.jsx
World generation
- API client
frontend/src/services/api.js - World generation routes
backend/routes/generate.py - Product compositor
backend/services/compositor.py - Image placement
backend/services/image_placement.py - Generation client
backend/services/worldlabs.py
Data factory
- Data factory UI
frontend/src/components/DataFactory.jsx - Progress log
frontend/src/components/GatewayLog.jsx - Factory client
frontend/src/services/dataFactory.js - Factory routes
backend/routes/data_factory.py - View extraction
backend/services/data_factory.py - Vision detection
backend/services/vision_detector.py - Panorama processing
backend/services/panorama.py
Backend services
- HTTP application
backend/main.py - Vision routes
backend/routes/vision.py - Vision service
backend/services/vision.py - World records routes
backend/routes/worlds.py - Storage client
backend/services/supabase_client.py
External systems
- Supabase
- World Labs
- Vision model API
Other components
- Visitor
Connections 34
- Visitor → Landing page: opens
- App workflow → Landing page: renders
frontend/src/App.jsx - Landing page → 3D Earth: renders
frontend/src/components/landing/LandingPage.jsx - App workflow → Location map: renders
frontend/src/App.jsx - Location map → App workflow: reports location
frontend/src/App.jsx - App workflow → Location details: renders
frontend/src/App.jsx - App workflow → Product descriptor: renders
frontend/src/App.jsx - App workflow → API client: requests generation
frontend/src/App.jsx - App workflow → World viewer: renders
- App workflow → Data factory UI: renders
frontend/src/App.jsx - Data factory UI → Factory client: starts extraction
frontend/src/components/DataFactory.jsx - Data factory UI → API client: fetches worlds
frontend/src/components/DataFactory.jsx - Data factory UI → Progress log: renders events
frontend/src/components/DataFactory.jsx - API client → World generation routes: posts generation
frontend/src/services/api.js - Factory client → Factory routes: calls endpoints
- HTTP application → World generation routes: registers routes
backend/main.py - HTTP application → Factory routes: registers routes
backend/main.py - HTTP application → Vision routes: registers routes
backend/main.py - HTTP application → World records routes: registers routes
backend/main.py - World generation routes → Generation client: requests generation
backend/routes/generate.py - World generation routes → Product compositor: composites imagery
backend/routes/generate.py - Product compositor → Image placement: uses placement
backend/services/compositor.py - World generation routes → Storage client: stores world
backend/routes/generate.py - Factory routes → View extraction: extracts views
backend/routes/data_factory.py - Factory routes → Vision detection: runs detection
backend/routes/data_factory.py - View extraction → Panorama processing: processes panorama
backend/services/data_factory.py - View extraction → Generation client: loads world data
backend/services/data_factory.py - View extraction → Storage client: reads world data
backend/services/data_factory.py - Vision routes → Vision service: uses vision
backend/routes/vision.py - Vision routes → Product compositor: uses compositor
backend/routes/vision.py - World records routes → Storage client: reads worlds
backend/routes/worlds.py - Storage client → Supabase: reads and writes
backend/services/supabase_client.py - Generation client → World Labs: generates worlds
- Vision detection → Vision model API: queries model