How unknownbeliek/maya works
MAYA is a browser-first media-authenticity platform. A user uploads media or supplies a remote video URL; the frontend performs provenance, facial, and audio analysis, combines findings into an explainable score, and presents timestamped evidence with report exports. The optional Express backend resolves remote streams and can invoke Python AV-sync analysis. The README documents these capabilities, while the excerpts show selected calls; some connections to unsampled UI and forensic modules are therefore documented rather than source-verified.
Main entry points: AnalysisPage.jsx Analysis workflow · server.js Express API · App.jsx MAYA app · fileUploader.jsx File and URL input
Components 20
Media interface
- MAYA app
frontend/maya-demo/src/App.jsx - Analysis workflow
frontend/maya-demo/src/pages/AnalysisPage.jsx - File and URL input
frontend/maya-demo/src/components/fileUploader.jsx - Media playback
frontend/maya-demo/src/components/VideoPlayer.js
Forensic analysis
- Metadata and hashing
frontend/maya-demo/src/utils/forensics/exifParser.js - File forensics
frontend/maya-demo/src/utils/forensics/fileAnalyzer.js - Signal classification
frontend/maya-demo/src/utils/forensics/classifier.js - Facial landmark analysis
frontend/maya-demo/src/hooks/useFaceMesh.js - Facial metrics
frontend/maya-demo/src/analysis/facial.js - Audio kinematics
frontend/maya-demo/src/analysis/kinematics.js - Anomaly sampling
frontend/maya-demo/src/utils/forensics/samplingEngine.js - Consensus scoring
frontend/maya-demo/src/utils/forensics/scoringEngine.js
Evidence and reporting
- Score and evidence dashboard
frontend/maya-demo/src/components/dashboard/Scorecard.jsx - Flagged-moment timeline
frontend/maya-demo/src/components/dashboard/TimelineScrubber.jsx - Forensic reports
frontend/maya-demo/src/utils/forensics/reportGenerator.js - Certificate export
frontend/maya-demo/src/components/reports/C2PAExportModal.jsx
Optional backend
- Express API
backend/server.js - Stream resolution
backend/server.js - Server AV analysis
backend/av_sync_analyzer.py
Other components
- Media analyst
Connections 21
- Media analyst → MAYA app: opens
- MAYA app → Analysis workflow: renders
frontend/maya-demo/src/App.jsx - Media analyst → File and URL input: provides media
- File and URL input → Analysis workflow: supplies input
- Analysis workflow → Media playback: presents media
- Analysis workflow → Metadata and hashing: extracts provenance
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → File forensics: analyzes file
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Signal classification: classifies signals
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Facial landmark analysis: runs vision analysis
frontend/maya-demo/src/pages/AnalysisPage.jsx - Facial landmark analysis → Facial metrics: computes metrics
frontend/maya-demo/src/hooks/useFaceMesh.js - Analysis workflow → Audio kinematics: analyzes audio
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Anomaly sampling: builds timeline zones
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Consensus scoring: scores layers
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Score and evidence dashboard: presents score
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Flagged-moment timeline: presents anomalies
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Forensic reports: generates report
frontend/maya-demo/src/pages/AnalysisPage.jsx - Analysis workflow → Certificate export: offers certificate
frontend/maya-demo/src/pages/AnalysisPage.jsx - Media analyst → Express API: requests remote analysis
- Express API → Stream resolution: resolves stream
backend/server.js - Express API → Server AV analysis: runs analyzer
backend/server.js - Analysis workflow → Express API: requests stream or AV sync