A powerful AI-assisted tool for generating tailored resumes and cover letters from a master resume. The tool helps you create job-specific application materials while ensuring content accuracy and preventing AI hallucinations.
- AI-Powered Resume Tailoring: Generate job-specific resumes that highlight relevant experience and skills
- Cover Letter Generation: Create personalized cover letters that align with job requirements
- Content Validation: Built-in validation to prevent AI hallucinations and ensure factual accuracy
- PDF Conversion: Convert generated resumes to professional PDF format
- Smart File Organization: Automatically organizes output files with consistent naming conventions
- Job Summary Generation: Creates a structured summary of job postings to help with application targeting
- Node.js (v14 or higher)
- npm (Node Package Manager)
- An AI API key (e.g., OpenAI API key)
- Clone the repository:
git clone https://github.com/yourusername/resume-builder.git
cd resume-builder- Install dependencies:
npm install- Create a
config.jsonfile:
cp config.example.json config.json- Edit
config.jsonwith your API credentials:
{
"aiApiKey": "your-api-key-here",
"aiApiUrl": "your-api-url-here",
"aiModel": "your-model-name-here",
"maxTokens": 4000
}- Prepare your master resume in Markdown format and save it as
master-resume.md - Run the tool:
node builder.js- Follow the prompts to:
- Enter the job description
- Review and confirm generated content
- Save the output files
--roleor-r: Specify the job role/title directly--coveror-c: Generate a cover letter along with the resume--hallucinate: Test mode - intentionally introduce a hallucination in the cover letter
Example:
node builder.js --role "Senior Software Engineer" --coverTo convert a Markdown file to PDF:
node convert.js input.md output.pdfThe tool creates an organized output structure:
output/
├── [job-specific-folder]/
│ ├── job-summary-[date].txt
│ ├── resume-[name]-[role]-[company].md
│ ├── resume-[name]-[role]-[company].pdf
│ └── cover-letter-[name]-[role]-[company].txt
- Input Processing: The tool reads your master resume and job description
- Content Generation: AI generates tailored content based on the job requirements
- Validation: Generated content is validated against the master resume to prevent hallucinations
- File Generation: Validated content is saved in appropriate formats
- PDF Conversion: Markdown resumes are converted to professional PDFs
- API keys and sensitive information are stored in
config.json - The master resume should be kept secure as it contains personal information
- Generated files are stored in the
outputdirectory
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.