How vijayk-d/newmodularproduct works
NewModularProduct is local job-application software. Its main user workflow is to prepare a role-specific application from saved evidence, review and tailor its materials, then manage recruiter outreach drafts and contacts. The README documents those capabilities and the layered source layout; the excerpts and source index support several outreach and persistence connections. Other feature links are left dashed where implementation wiring was not shown.
Main entry points: save-application-review.js Application review · prepare-application.js Prepare application · sqlite-outreach-repository.js Outreach persistence · gmail-send-service.js Gmail draft and send
Components 23
Application preparation
- Local web interface
src/interfaces/http - Prepare application
src/application/prepare-application.js - Job advert import
src/application/web-advert-import.js - CV tailoring
src/application/cv-tailoring.js - CV matching rules
src/domain/cv/cv-tailoring-policy.js - Cover letter generation
src/domain/cover-letter/generate-cover-letter.js
Review and evidence
- Application review
src/application/save-application-review.js - Evidence ranking
src/domain/evidence/rank-evidence.js - Application questions
src/application/application-questions.js - Application insights
src/application/insights-snapshot.js
Outreach and email
- Compose outreach letter
src/application/compose-outreach-letter.js - Message snapshot
src/application/outreach-message-snapshot.js - Queue message editor
src/application/queue-message-editor.js - Outreach queue
src/application/outreach-queue-service.js - Gmail draft and send
src/application/gmail-send-service.js - Send state ledger
src/application/gmail-send-ledger.js
Storage and integrations
- Review persistence
src/infrastructure/applications/sqlite-review-store.js - Outreach persistence
src/infrastructure/outreach/sqlite-outreach-repository.js - Gmail draft worker
python-worker/gmail_draft_worker.py - Click tracking
tools/link-tracker/src/worker.js - Perplexity research
src/infrastructure/perplexity-client.js
Other components
- Applicant
- Gmail
Connections 22
- Applicant → Local web interface: uses locally
- Local web interface → Prepare application: prepares applications
- Prepare application → CV tailoring: tailors CV
- Prepare application → Cover letter generation: creates letter
- Job advert import → Prepare application: supplies advert
- CV tailoring → CV matching rules: applies policy
- Prepare application → Application review: produces materials
- Application review → Evidence ranking: uses evidence
- Application review → Application questions: supports questions
- Application review → Review persistence: persists review
src/infrastructure/applications/sqlite-review-store.js - Application review → Compose outreach letter: starts outreach
- Compose outreach letter → Message snapshot: prepares snapshot
src/application/compose-outreach-letter.js - Queue message editor → Message snapshot: validates edits
src/application/queue-message-editor.js - Outreach queue → Outreach persistence: stores queue
- Outreach persistence → Send state ledger: creates ledger
src/infrastructure/outreach/sqlite-outreach-repository.js - Outreach persistence → Queue message editor: uses edit version
src/infrastructure/outreach/sqlite-outreach-repository.js - Gmail draft and send → Gmail draft worker: requests preparation
- Gmail draft and send → Send state ledger: checks send state
- Gmail draft worker → Gmail: creates drafts
- Click tracking → Gmail: records link clicks
- Perplexity research → Gmail: queries research API
- Review persistence → Application insights: supports insights