The Cover Letter Generator is an AI-powered web application that helps you create professional, personalized cover letters for job applications. It leverages web scraping technology to extract job posting details automatically and combines them with your professional background to generate tailored cover letters using advanced language models.
Live Demo: Cover Letter Generator
- Automated Job Data Extraction: Scrapes job posting details from URLs, including:
- Job title
- Company name
- Location
- Job description
- Salary information (when available)
- Personalized Content Generation:
- Input your professional background
- Customize with education, experience, skills, and certifications
- Generate tailored cover letters matching job requirements
- Flexible Customization:
- Upload custom prompt templates
- Fine-tune the generation process
- Multiple output options
Note: The profile URL scraping feature is available only in local deployments and is not included in the cloud demo for security reasons.
- Python 3.8 or higher
- OpenAI API key
- Clone the repository:
git clone https://github.com/ancastal/Cover-Letter.AI.git
- Navigate to the project directory:
cd Cover-Letter.AI
- Install dependencies:
pip install -r requirements.txt
- Set up your OpenAI API key:
- Create a
.streamlit/secrets.toml
file - Add your API key:
OPENAI_API_KEY = "your-api-key-here"
- Or set it as an environment variable:
export OPENAI_API_KEY="your-api-key-here"
- Create a
- Start the application:
streamlit run app.py
-
Open your browser and navigate to the provided local URL
-
Using the application:
- Enter a job posting URL
- Click "Scrape Job Posting" to extract details
- Fill in your professional information
- (Optional) Upload a custom prompt template
- Click "Generate Cover Letter"
- Review and download your personalized cover letter
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Please check our Contributing Guidelines for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Streamlit
- Powered by OpenAI's language models
- Special thanks to all contributors