A command-line tool that helps candidates tailor their resumes and cover letters to specific job descriptions. Tailor4Job analyzes the provided documents, evaluates strengths and weaknesses, and offers actionable feedback to improve alignment with job req
npm install tailor4jobTailor4Job is a command-line tool that helps candidates tailor their resume and cover letter to specific job descriptions. By leveraging the Groq API and a specified model, Tailor4Job analyzes your resume and cover letter in relation to a job description, providing valuable insights to optimize your application for better chances of passing Applicant Tracking System (ATS) screenings.
---
llama3-8b-8192) for analysis. [Optional Feature].docx or .pdf output formats for tailored documents. [Optional Feature]---
bash
python --version
`
- Ensure pip (Python package manager) is installed:
`bash
pip --version
`
2. wkhtmltopdf: Required for PDF generation.
- Download and Install wkhtmltopdf
- Verify installation:
`bash
wkhtmltopdf --version
`
3. Groq API Key:
- You must sign up for the Groq API to obtain your API key (details in the Get an API Key section).---
Installation
$3
1. Install Tailor4Job globally using npm:
`bash
npm install -g tailor4job
`
2. Test the installation:
`bash
tailor4job --help
`---
$3
1. Clone the Repository:
`bash
git clone https://github.com/InderParmar/Tailor4Job
cd Tailor4Job
`2. Create and Activate a Virtual Environment (recommended):
`bash
python3 -m venv env
source env/bin/activate # On Windows use: env\Scripts\activate
`3. Install Dependencies:
`bash
pip install -r requirements.txt
`4. Set Up
wkhtmltopdf (for PDF output):
- Download and install wkhtmltopdf and ensure it’s available in your system’s PATH.5. Configure the
.env File:
- Create a .env file in the project root and add your Groq API key:
`bash
GROQ_API_KEY=your_actual_api_key_here
`---
Usage
$3
Run Tailor4Job from the command line to analyze your resume and cover letter.#### Basic Analysis Command
`bash
tailor4job --model llama3-8b-8192 --output Output_Analysis.docx --analysis_mode basic GENERAL_RESUME.docx General_Cover_Letter.docx job_description.txt
`#### Detailed Analysis Command
`bash
tailor4job --model llama3-8b-8192 --output Output_Analysis.docx --analysis_mode detailed GENERAL_RESUME.docx General_Cover_Letter.docx job_description.txt
`#### Check Version
`bash
tailor4job --version
`#### Display Help
`bash
tailor4job --help
`---
Get an API Key
To use Tailor4Job, you’ll need an API key for the Groq API. Follow these steps:1. Sign up for an account at Groq API.
2. Navigate to the API section and generate an API key.
3. Add the API key to your
.env file in the project root:
`bash
GROQ_API_KEY=your_actual_api_key_here
`---
Troubleshooting
1. Python Not Found:
- Ensure Python is installed and added to your system’s PATH.
- For Windows, re-install Python and select the "Add Python to PATH" option during setup.
2. pip Command Not Recognized:
- Ensure pip is installed. Use the following command to install pip manually:
`bash
python -m ensurepip --upgrade
`3. wkhtmltopdf Not Found:
- Verify wkhtmltopdf is installed and added to PATH:
`bash
wkhtmltopdf --version
`4. Command Not Found After npm Installation:
- Ensure npm's global bin directory is in your PATH:
`bash
npm config get prefix
`
Add /prefix/bin to your PATH if necessary.5. API Key Missing:
- Ensure the
.env file contains the correct API key. The tool will raise an error if the key is missing or invalid.---
Inputs and Outputs
$3
- Resume: A .docx file with your general resume.
- Cover Letter: A .docx file with your general cover letter.
- Job Description: A .txt file containing the job description.$3
Tailored resume and cover letter analysis results are saved as either .docx or .pdf` files based on your preference.---
This project is licensed under the MIT License. See the LICENSE file for details.
---
Happy tailoring, and best of luck with your job applications! 🚀