How probimkim/scraperhouse works
ScraperHouse is a unified dashboard for Microsoft Forms extraction, Sherlock username investigations, GitHub architecture diagrams, error monitoring, and Strix security assessments. Users initiate these workflows through dashboard pages and API routes; results stream or persist for inspection, export, and history. Forms scraping includes image storage, OCR, and image export; Sherlock streams progress and saves findings; Strix includes scanning and stress-testing capabilities. The graph uses README statements and SOURCE INDEX references for relationships; some UI and subsystem details are documented but their implementation was not sampled.
Main entry points: scrape/route.js Scrape endpoint · stress/route.js Stress test endpoint · mongodb.js MongoDB connection · sherlock/route.js Sherlock endpoint
Components 34
Forms extraction
- Forms workspace
src/app/ms-forms/page.js - Scrape endpoint
src/app/api/scrape/route.js - Forms scraper
src/lib/scraper.js - Image OCR
src/lib/ocrEngine.js - OCR endpoint
src/app/api/scraper/[slug]/ocr/route.js - Image storage
src/lib/cloudinary.js - Image delivery
src/app/api/images/[slug]/[imageKey]/route.js - Image proxy
src/app/api/proxy-image/route.js
Investigation tools
- Sherlock workspace
src/app/sherlock/page.js - Sherlock endpoint
src/app/api/sherlock/route.js - Username hunter
src/lib/sherlockEngine.js - Diagram workspace
src/app/gitdiagram/page.js - Diagram endpoint
src/app/api/gitdiagram/generate/route.js - GitHub inspection
src/lib/github.js - AI diagram generator
src/lib/diagramGenerator.js
Security assessment
- Strix workspace
src/app/strix/page.js - Security scan endpoint
src/app/api/strix/scan/route.js - Security scanner
src/lib/strixEngine.js - Stress test endpoint
src/app/api/strix/stress/route.js - Stress and chaos engine
src/lib/stressEngine.js - Chaos suite generator
src/lib/chaosMeshGenerator.js
Shared platform
- Dashboard hub
src/app/page.js - Scrape records
src/models/ScrapeResult.js - Stored images
src/models/StoredImage.js - Sherlock history
src/models/SherlockResult.js - Security scan history
src/models/SecurityScanResult.js - Error monitor
src/app/errors/page.js - Error log API
src/app/api/errors/route.js - Global error logs
src/models/GlobalErrorLog.js - MongoDB connection
src/lib/mongodb.js
Other components
- Dashboard user
- Cloudinary CDN
- GitHub service
- Groq AI
Connections 41
- Dashboard user → Dashboard hub: opens
- Dashboard hub → Forms workspace: launches
- Dashboard hub → Sherlock workspace: launches
- Dashboard hub → Diagram workspace: launches
- Dashboard user → Forms workspace: submits form
- Forms workspace → Scrape endpoint: requests scrape
- Scrape endpoint → MongoDB connection: connects
src/app/api/scrape/route.js - Scrape endpoint → Forms scraper: runs
src/app/api/scrape/route.js - Forms scraper → Image storage: uploads images
src/lib/scraper.js - Image storage → Cloudinary CDN: stores assets
- Forms scraper → Image OCR: uses OCR
src/lib/scraper.js - Scrape endpoint → Scrape records: updates records
src/app/api/scrape/route.js - Scrape endpoint → Global error logs: logs failures
src/app/api/scrape/route.js - OCR endpoint → Image OCR: runs OCR
- Image delivery → Stored images: serves fallback
- Image proxy → Forms workspace: supports image export
- Dashboard user → Sherlock workspace: starts search
- Sherlock workspace → Sherlock endpoint: submits username
- Sherlock endpoint → Username hunter: hunts sites
src/app/api/sherlock/route.js - Sherlock endpoint → Sherlock history: persists results
src/app/api/sherlock/route.js - Sherlock endpoint → MongoDB connection: connects
src/app/api/sherlock/route.js - Dashboard user → Diagram workspace: requests diagram
- Diagram workspace → Diagram endpoint: submits repository
- Diagram endpoint → GitHub inspection: inspects repository
src/app/api/gitdiagram/generate/route.js - Diagram endpoint → AI diagram generator: generates diagram
src/app/api/gitdiagram/generate/route.js - GitHub inspection → GitHub service: fetches repository data
- AI diagram generator → Groq AI: requests inference
- Dashboard user → Strix workspace: starts assessment
- Strix workspace → Security scan endpoint: requests scan
- Security scan endpoint → Security scanner: runs scan
src/app/api/strix/scan/route.js - Security scan endpoint → Security scan history: persists scan
src/app/api/strix/scan/route.js - Security scan endpoint → MongoDB connection: connects
src/app/api/strix/scan/route.js - Strix workspace → Stress test endpoint: requests stress test
- Stress test endpoint → Stress and chaos engine: runs test
src/app/api/strix/stress/route.js - Stress test endpoint → Chaos suite generator: generates suite
src/app/api/strix/stress/route.js - Stress test endpoint → Security scan history: persists report
src/app/api/strix/stress/route.js - Stress test endpoint → MongoDB connection: connects
src/app/api/strix/stress/route.js - Dashboard user → Error monitor: views diagnostics
- Error monitor → Error log API: loads logs
- Error log API → MongoDB connection: connects
src/app/api/errors/route.js - Error log API → Global error logs: reads logs
src/app/api/errors/route.js