How puspharaj-7/osint works
This repository contains a role-based OSINT investigation platform, with a web application and a separate Expo-based mobile client. Staff can authenticate, create and manage investigations, review cases and intelligence, monitor activity, and view relationship graphs; clients have a portal for case progress and reports. The web entry point and client-portal service calls are visible in excerpts. Other page and service connections are represented cautiously because their source was not sampled.
Main entry points: App.tsx Web router · ClientPortal.tsx Client portal · index.tsx Mobile session gate · NewInvestigation.tsx New investigation
Components 22
Web application
- Web router
src/App.tsx - Landing and login
src/pages/Landing.tsx - Role dashboards
src/pages/investigator/InvestigatorDashboard.tsx - Client portal
src/pages/client/ClientPortal.tsx
Investigation workflow
- New investigation
src/pages/NewInvestigation.tsx - Case management
src/pages/Cases.tsx - Case details
src/pages/CaseDetails.tsx - Global monitor
src/pages/investigator/GlobalMonitor.tsx
Intelligence and reporting
- Relationship graph
src/pages/GraphView.tsx - Alerts
src/pages/Alerts.tsx - OSINT orchestration
src/lib/api/orchestrator.ts - OSINT source clients
src/lib/api - Report service
src/services/reportService.ts
Identity and data
- Authentication
src/lib/authContext.tsx - Application store
src/lib/store.tsx - Case service
src/services/caseService.ts - Client service
src/services/clientService.ts
Mobile client
- Mobile session gate
mobile/app/index.tsx - Mobile dashboard
mobile/app/(app)/dashboard.tsx - Mobile cases
mobile/app/(app)/cases.tsx - Mobile authentication
mobile/services/authService.ts
Other components
- User
Connections 22
- User → Web router: opens
src/App.tsx - Web router → Landing and login: routes to
src/App.tsx - Web router → Role dashboards: routes to
src/App.tsx - Web router → Client portal: routes to
src/App.tsx - Web router → New investigation: routes to
src/App.tsx - Web router → Case management: routes to
src/App.tsx - Web router → Case details: routes to
src/App.tsx - Web router → Global monitor: routes to
src/App.tsx - Web router → Relationship graph: routes to
src/App.tsx - Web router → Alerts: routes to
src/App.tsx - Web router → Authentication: provides auth
src/App.tsx - Web router → Application store: provides state
src/App.tsx - Client portal → Client service: loads client
src/pages/client/ClientPortal.tsx - Client portal → Case service: loads cases
src/pages/client/ClientPortal.tsx - Client portal → Report service: loads reports
src/pages/client/ClientPortal.tsx - New investigation → OSINT orchestration: may request enrichment
- OSINT orchestration → OSINT source clients: may dispatch queries
- Case details → Report service: may access reports
- User → Mobile session gate: opens
mobile/app/index.tsx - Mobile session gate → Mobile authentication: signs out
mobile/app/index.tsx - Mobile session gate → Mobile dashboard: redirects to
mobile/app/index.tsx - Mobile dashboard → Mobile cases: may navigate to