How ppmpreetham/vesper works
Vesper searches a username across the site databases behind WhatsMyName, Sherlock, and Maigret, then reports matches and counts. The CLI parses database and timeout options; the optional TUI collects selections, displays progress, and presents found profiles. Each database runner dispatches site checks concurrently, while shared checker logic makes HTTP requests and classifies responses. README documents all three databases and targeted or combined searches. Source excerpts show these runtime paths; some TUI presentation and site-data details are supported by the SOURCE INDEX rather than inspected excerpts.
Main entry points: runner.go Search dispatcher · progress.go Progress display · main.go Application entry · sherlock.go Sherlock runner
Components 18
User entry
- Application entry
main.go - CLI options
cmd/flags/flags.go - Interactive selection
cmd/tui/model.go
Enumeration
- Search configuration
pkg/types/types.go - Search dispatcher
cmd/runner/runner.go - Sherlock runner
cmd/runner/sherlock.go - WhatsMyName runner
cmd/runner/whatsmyname.go - Maigret runner
cmd/runner/maigret.go
Site checks
- Sherlock sites
sites/sherlockSites.go - WhatsMyName sites
sites/whatsmynameSites.go - Maigret sites
sites/maigretSites.go - HTTP site checks
tools/checher.go - Progress and found callbacks
tools/callback.go
Results
- Progress display
cmd/tui/progress.go - Found profiles table
cmd/tui/table.go - CLI summary
cmd/output/output.go
Other components
- CLI user
- Profile websites
Connections 27
- CLI user → Application entry: starts
main.go - Application entry → CLI options: parses options
main.go - Application entry → Interactive selection: starts TUI
main.go - CLI options → Search configuration: creates config
cmd/flags/flags.go - Application entry → Search dispatcher: runs search
main.go - Search dispatcher → Search configuration: uses config
cmd/runner/runner.go - Search dispatcher → Sherlock runner: dispatches
cmd/runner/runner.go - Search dispatcher → WhatsMyName runner: dispatches
cmd/runner/runner.go - Search dispatcher → Maigret runner: dispatches
cmd/runner/runner.go - Sherlock runner → Sherlock sites: loads sites
cmd/runner/sherlock.go - WhatsMyName runner → WhatsMyName sites: loads sites
cmd/runner/whatsmyname.go - Maigret runner → Maigret sites: loads sites
cmd/runner/maigret.go - Sherlock runner → HTTP site checks: checks URLs
cmd/runner/sherlock.go - WhatsMyName runner → HTTP site checks: checks URLs
cmd/runner/whatsmyname.go - Maigret runner → HTTP site checks: checks URLs
cmd/runner/maigret.go - HTTP site checks → Profile websites: requests profiles
tools/checher.go - Sherlock runner → Progress and found callbacks: reports findings
cmd/runner/sherlock.go - WhatsMyName runner → Progress and found callbacks: reports findings
cmd/runner/whatsmyname.go - Maigret runner → Progress and found callbacks: reports findings
cmd/runner/maigret.go - Application entry → CLI summary: prints summary
main.go - Search dispatcher → CLI summary: returns counts
- Interactive selection → Progress display: runs search UI
- Progress display → Sherlock runner: runs database
cmd/tui/progress.go - Progress display → WhatsMyName runner: runs database
cmd/tui/progress.go - Progress display → Maigret runner: runs database
cmd/tui/progress.go - Progress display → Found profiles table: opens results
- Progress and found callbacks → Progress display: sends found results