How ibnnuus/metadatacleaner works
AI Metadata Cleaner is a web app for inspecting and removing image metadata. The main workflow is upload, file validation, a pre-clean scan, in-memory metadata removal, a post-clean verification scan, then displaying a comparison and downloadable result. The scanner also detects known AI-generator signatures. The README describes temporary RAM-only processing and no database or external file storage. API and upload excerpts support the main call flow; the frontend excerpt is partial, so optional UI-to-endpoint wiring beyond the shown clean request is not assumed.
Main entry points: cleaner.py Scan and clean routes · Dropzone.tsx Upload and results · page.tsx Home page · scanner.py Metadata scanner
Components 13
Web interface
- Home page
frontend/app/page.tsx - Upload and results
frontend/components/Dropzone.tsx - Feature overview
frontend/components/Features.tsx - Usage guide
frontend/components/HowItWorks.tsx - Privacy FAQ
frontend/components/FAQ.tsx
API entry
- FastAPI app
frontend/api/index.py - Scan and clean routes
frontend/api/routers/cleaner.py - Queue status
frontend/api/routers/cleaner.py
Image processing
- Metadata scanner
frontend/api/services/scanner.py - AI signature detection
frontend/api/services/scanner.py - Metadata removal
frontend/api/services/cleaner.py
Input validation
- Image validation
frontend/api/utils/magic.py
Other components
- Image user
Connections 15
- Image user → Home page: opens
- Home page → Upload and results: renders
- Home page → Feature overview: renders
- Home page → Usage guide: renders
- Home page → Privacy FAQ: renders
- Image user → Upload and results: uploads image
- Upload and results → Scan and clean routes: requests clean
- Upload and results → Queue status: checks status
- FastAPI app → Scan and clean routes: dispatches routes
- Scan and clean routes → Image validation: validates image
- Scan and clean routes → Metadata scanner: scans before and after
- Scan and clean routes → Metadata removal: removes metadata
- Metadata scanner → AI signature detection: checks signatures
- Scan and clean routes → Upload and results: returns result
- Queue status → Upload and results: returns status