How galib4444/sonar works
Sonar combines job discovery, evidence-based profile tailoring, application assistance, and outcome tracking. The main workflow runs from scanning roles and selecting verified resume facts through tailoring and applying, then recording application outcomes. The README documents product-level links among the scanner, profile package, web app, extension, and local bridge. Source excerpts additionally show graph-memory persistence and bridge writes; other internal arrows are limited where implementation was not sampled.
Main entry points: scan.mjs Job scanner · content.ts ATS form detection and fill · page.tsx Resume editor and tracker · ai-provider.ts Local AI and resume tools
Components 22
Job discovery
- Job scanner
apps/scanner/scan.mjs - Scan ledger
apps/scanner/lib/applications-store.mjs
Profile source
- Verified master profile
packages/profile/master-profile.ts - Extension profile export
packages/profile/export-extension-profile.ts
Resume web app
- Resume editor and tracker
apps/web/app/(routes)/tailor/page.tsx - Tailor and resume APIs
apps/web/app/api/tailor/route.ts - Resume and application storage
apps/web/lib/db/index.ts - Application analytics
apps/web/app/api/analytics/route.ts
Apply extension
- ATS form detection and fill
apps/extension/src/content.ts - Stored extension profile
apps/extension/src/shared/profile.ts - Field classification and autofill
apps/extension/src/shared/field-classifier.ts - Graph memory service
apps/extension/src/shared/graph/service.ts - Graph memory storage
apps/extension/src/shared/graph/storage.ts - Local AI and resume tools
apps/extension/src/shared/ai-provider.ts
Local integration
- Token-authenticated local bridge
apps/bridge/server.mjs - Markdown application tracker
apps/scanner/lib/applications-store.mjs
Other components
- Job seeker
- ATS portals
- Google Sheets
- Telegram digest and bot
- Ollama
- Gemini or Claude
Connections 21
- Job seeker → Job scanner: requests role scan
README.md - Job scanner → ATS portals: queries job APIs
README.md - Job scanner → Scan ledger: deduplicates results
README.md - Job scanner → Google Sheets: pushes job rows
README.md - Job scanner → Telegram digest and bot: sends digest
README.md - Verified master profile → Extension profile export: provides profile facts
packages/profile/export-extension-profile.ts - Job seeker → Resume editor and tracker: edits and tailors resume
README.md - Resume editor and tracker → Tailor and resume APIs: requests tailoring
README.md - Tailor and resume APIs → Resume and application storage: stores resume data
- Resume editor and tracker → Application analytics: views outcomes
- Extension profile export → Stored extension profile: exports extension profile
README.md - Job seeker → ATS form detection and fill: visits application form
README.md - ATS form detection and fill → Field classification and autofill: classifies form fields
- Stored extension profile → Field classification and autofill: supplies answers
- ATS form detection and fill → Graph memory service: delegates memory requests
- Graph memory service → Graph memory storage: loads and saves graph
apps/extension/src/shared/graph/service.ts - ATS form detection and fill → Local AI and resume tools: offers writing tools
README.md - Local AI and resume tools → Ollama: uses by default
README.md - Local AI and resume tools → Gemini or Claude: supports opt-in providers
README.md - ATS form detection and fill → Token-authenticated local bridge: pushes tracked applications
README.md - Token-authenticated local bridge → Markdown application tracker: appends applications
apps/bridge/server.mjs