Tailor4Job 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.
- Resume and Cover Letter Analysis: Compare your resume and cover letter with the job description to highlight relevant skills and experiences.
- Detailed Feedback: Receive in-depth insights into your strengths, areas for improvement, and specific recommendations.
- ATS Compatibility Analysis: Get an estimation of your application's compatibility with ATS, including keyword suggestions.
- Customizable Models: Use different processing models (e.g.,
llama3-8b-8192
) for analysis. [Optional Feature] - Flexible File Formats: Choose between
.docx
or.pdf
output formats for tailored documents. [Optional Feature]
Ensure the following are installed on your system:
- Python 3.7 or later: Download Python
- Check if Python is installed:
python --version
- Ensure pip (Python package manager) is installed:
pip --version
- Check if Python is installed:
- wkhtmltopdf: Required for PDF generation.
- Download and Install wkhtmltopdf
- Verify installation:
wkhtmltopdf --version
- Groq API Key:
- You must sign up for the Groq API to obtain your API key (details in the Get an API Key section).
- Install Tailor4Job globally using npm:
npm install -g tailor4job
- Test the installation:
tailor4job --help
-
Clone the Repository:
git clone https://github.com/InderParmar/Tailor4Job cd Tailor4Job
-
Create and Activate a Virtual Environment (recommended):
python3 -m venv env source env/bin/activate # On Windows use: env\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Set Up
wkhtmltopdf
(for PDF output):- Download and install wkhtmltopdf and ensure it’s available in your system’s PATH.
-
Configure the
.env
File:- Create a
.env
file in the project root and add your Groq API key:GROQ_API_KEY=your_actual_api_key_here
- Create a
Run Tailor4Job from the command line to analyze your resume and cover letter.
tailor4job --model llama3-8b-8192 --output Output_Analysis.docx --analysis_mode basic GENERAL_RESUME.docx General_Cover_Letter.docx job_description.txt
tailor4job --model llama3-8b-8192 --output Output_Analysis.docx --analysis_mode detailed GENERAL_RESUME.docx General_Cover_Letter.docx job_description.txt
tailor4job --version
tailor4job --help
To use Tailor4Job, you’ll need an API key for the Groq API. Follow these steps:
- Sign up for an account at Groq API.
- Navigate to the API section and generate an API key.
- Add the API key to your
.env
file in the project root:GROQ_API_KEY=your_actual_api_key_here
-
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.
-
pip Command Not Recognized:
- Ensure pip is installed. Use the following command to install pip manually:
python -m ensurepip --upgrade
- Ensure pip is installed. Use the following command to install pip manually:
-
wkhtmltopdf Not Found:
- Verify wkhtmltopdf is installed and added to PATH:
wkhtmltopdf --version
- Verify wkhtmltopdf is installed and added to PATH:
-
Command Not Found After npm Installation:
- Ensure npm's global bin directory is in your PATH:
Add
npm config get prefix
/prefix/bin
to your PATH if necessary.
- Ensure npm's global bin directory is in your PATH:
-
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.
- Ensure the
- 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.
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! 🚀