How theunstopabble/satark-ai works
Satark-AI detects synthetic audio and images, verifies enrolled speakers, and provides monitoring, history, analytics, feedback, and interactive learning features. The main path runs from an authenticated browser upload through the API to audio analysis and persisted scan results; image scans use a separate proxy pipeline. Source excerpts establish several calls, while README statements support documented capabilities whose implementation details were not sampled.
Main entry points: AuthenticatedShell.tsx Authenticated shell · index.ts API routes · client.ts API client · main.py Engine endpoints
Components 21
Web experience
- App routing
apps/web/src/App.tsx - Authenticated shell
apps/web/src/AuthenticatedShell.tsx - Audio scan
apps/web/src/components/AudioUpload.tsx - API client
apps/web/src/api/client.ts - Live monitor
apps/web/src/components/LiveMonitor.tsx - Image scan
apps/web/src/components/ImageUpload.tsx - Speaker identity
apps/web/src/components/SpeakerIdentity.tsx - History and reports
apps/web/src/pages/History.tsx - Scan analytics
apps/web/src/components/AnalyticsStats.tsx - Scan feedback
apps/web/src/components/FeedbackWidget.tsx - Deepfake game
apps/web/src/components/DeepfakeGame.tsx
API and persistence
- API routes
apps/api/src/index.ts - Authentication
apps/api/src/middleware/auth.ts - Speaker routes
apps/api/src/routes/speaker.ts - Scan and speaker records
apps/api/src/db/schema.ts
Audio and identity
- Engine endpoints
apps/engine/main.py - Audio forensics
apps/engine/detect.py - Speaker embeddings
apps/engine/speaker.py
Image detection
- Image proxy
apps/worker/src/index.ts - Hugging Face inference
Other components
- User
Connections 26
- User → App routing: uses
apps/web/src/App.tsx - App routing → Authenticated shell: routes to
apps/web/src/App.tsx - Authenticated shell → Audio scan: renders
apps/web/src/AuthenticatedShell.tsx - Audio scan → API client: submits scans
apps/web/src/components/AudioUpload.tsx - API client → API routes: requests scans
apps/web/src/api/client.ts - API routes → Authentication: protects routes
apps/api/src/middleware/auth.ts - API routes → Scan and speaker records: reads and writes
apps/api/src/index.ts - API routes → Engine endpoints: forwards audio
- Engine endpoints → Audio forensics: analyzes audio
apps/engine/main.py - Authenticated shell → Live monitor: offers monitoring
README.md - Authenticated shell → Image scan: offers image scans
README.md - Image scan → API client: submits images
README.md - API client → API routes: requests image scan
apps/web/src/api/client.ts - API routes → Image proxy: proxies image
- Image proxy → Hugging Face inference: forwards image
README.md - Authenticated shell → Speaker identity: renders identity
apps/web/src/AuthenticatedShell.tsx - Speaker identity → API client: enrolls and verifies
README.md - API routes → Speaker routes: mounts routes
apps/api/src/index.ts - Speaker routes → Engine endpoints: requests embeddings
apps/api/src/routes/speaker.ts - Engine endpoints → Speaker embeddings: extracts embeddings
apps/engine/main.py - Speaker routes → Scan and speaker records: stores identity data
apps/api/src/routes/speaker.ts - Authenticated shell → History and reports: routes to
apps/web/src/AuthenticatedShell.tsx - History and reports → API client: loads scan history
README.md - History and reports → Scan analytics: summarizes scans
README.md - Audio scan → Scan feedback: collects feedback
apps/web/src/components/AudioUpload.tsx - Authenticated shell → Deepfake game: offers challenge mode
README.md