AI Cover Letter Generator is a Streamlit web application designed to help job seekers quickly generate personalized cover letters. It leverages the OpenAI API to create a cover letter based on the user's curriculum vitae (CV) and the job description provided. The application supports multiple languages, offering a global utility.
Before running the application, make sure you have the following prerequisites installed:
- Python 3.6 or higher
- Streamlit
- An active OpenAI API Key
You can install Streamlit using pip:
pip install streamlit
Clone the AI Cover Letter Generator repository from GitHub:
git clone https://github.com/hheydaroff/ai-cover-letter-generator.git
cd ai-cover-letter-generator
- Setup virtual environment so your packages are local to this repository, and it doesn't interfere with your system wide packages.
python3 -m venv .venv
source .venv/bin/activate
- Install Python packages
pip install -r requirements.txt
To run the application, use the following command in your terminal:
streamlit run app.py
After running the command, Streamlit will start a web server, and you'll be provided with a local URL that you can open in your web browser to use the application.
- Open the application in your web browser.
- Upload your CV in PDF, DOCX, or TXT format.
- Paste the job description into the designated text area.
- Select the language for the cover letter.
- Enter your OpenAI API Key in the sidebar (kept confidential).
- Click "Generate Cover Letter" to process and display your personalized cover letter.
- CV Upload: Securely upload your CV to extract relevant information.
- Job Description Input: Paste the job description directly into the application.
- Multi-language Support: Choose from a variety of languages for your cover letter.
- OpenAI Integration: Utilize OpenAI's API to generate a professional cover letter.
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change. Make sure to update tests as appropriate.
This project is open-source and available under the MIT license. See the LICENSE file for more details.