How pncodes10/naukri-automation works
Job Automation Tool is an interactive CLI for configuring a job-search profile, finding and filtering Naukri listings, answering application questions, and submitting applications within a daily quota. The same menu supports recruiter-email workflows and usage statistics; AI configuration and profile management are supporting capabilities. The graph follows relationships evidenced by excerpts, the SOURCE INDEX, or the README; unsampled modules are represented by their indexed responsibilities, without assuming unshown internal calls.
Main entry points: index.js Program workflow · jobUtils.js Search and applications · gemini.js Gemini configuration · userUtils.js Profiles and preferences
Components 22
CLI and profiles
- Program workflow
index.js - Interactive prompts
utils/prompts.js - Profiles and preferences
utils/userUtils.js
Job workflow
- Search and applications
utils/jobUtils.js - Naukri job service
- Naukri API client
api.js - Recruiter email workflow
utils/emailUtils.js
AI and messaging
- Gemini configuration
gemini.js - AI prompt library
utils/genAiPrompts.js - Text embeddings
utils/embeddings.js - Vector search
vectorSearch.js - Email templates
utils/emailTemplate.js
State and updates
- File and CSV I/O
utils/ioUtils.js - Usage analytics
utils/analyticsUtils.js - About information
utils/about.js - Update management
utils/updater.js - Program utilities
utils/programUtils.js - Latest executable download
updateFunctionality/downloadLatestExeFromGitHub.js - Progress indicators
utils/spinniesUtils.js - Runtime helpers
utils/helper.js - Command utilities
utils/cmdUtils.js
Other components
- CLI user
Connections 35
- CLI user → Program workflow: runs CLI
README.md - Program workflow → Profiles and preferences: loads profile
index.js - Program workflow → Interactive prompts: shows menus
index.js - Program workflow → Search and applications: runs workflow
index.js - Program workflow → Recruiter email workflow: opens email menu
index.js - Program workflow → Usage analytics: loads statistics
index.js - Program workflow → File and CSV I/O: persists preferences
index.js - Program workflow → About information: uses information
index.js - Program workflow → Update management: uses updater
index.js - Profiles and preferences → Interactive prompts: requests input
utils/userUtils.js - Profiles and preferences → File and CSV I/O: reads and writes
utils/userUtils.js - Profiles and preferences → Naukri API client: authenticates profile
utils/userUtils.js - Search and applications → Naukri API client: fetches and applies
utils/jobUtils.js - Naukri API client → Naukri job service: sends requests
api.js - Search and applications → Profiles and preferences: uses preferences
utils/jobUtils.js - Search and applications → Gemini configuration: gets AI answers
utils/jobUtils.js - Search and applications → Interactive prompts: asks questions
utils/jobUtils.js - Search and applications → File and CSV I/O: stores job data
utils/jobUtils.js - Recruiter email workflow → Email templates: uses template
utils/emailUtils.js - Recruiter email workflow → Naukri API client: uses job details
utils/emailUtils.js - Recruiter email workflow → Usage analytics: records sent mail
utils/emailUtils.js - Gemini configuration → Interactive prompts: requests configuration
gemini.js - Gemini configuration → Runtime helpers: reads runtime state
gemini.js - Text embeddings → Gemini configuration: gets model
utils/embeddings.js - Text embeddings → Runtime helpers: reads preferences
utils/embeddings.js - Vector search → Text embeddings: creates embeddings
vectorSearch.js - Vector search → Gemini configuration: uses model
vectorSearch.js - Usage analytics → File and CSV I/O: loads and saves
utils/analyticsUtils.js - Program workflow → Progress indicators: shows progress
index.js - Search and applications → Progress indicators: shows progress
utils/jobUtils.js - Gemini configuration → Progress indicators: shows progress
gemini.js - Update management → Interactive prompts: requests choices
utils/updater.js - Program utilities → Latest executable download: downloads executable
utils/programUtils.js - Program utilities → Command utilities: uses commands
utils/programUtils.js - About information → File and CSV I/O: reads local data
utils/about.js