A generative AI-powered tool to create personalized and professional cover letters leveraging Google's Gemini 2.0 Flash generative AI model.
- AI-Powered Generation: Create custom cover letters using Google's Gemini AI model.
- Dynamic Inputs: Upload your resume (PDF or TXT) and paste the job description.
- Interactive UI: Modern, Apple-inspired design with smooth animations.
- Download Options: Save the generated cover letter as a
.txtfile. - Responsive Design: Works seamlessly on desktop and mobile devices.
- Python 3.8+
- Flask
- Google Gemini API Key
-
Clone the repository:
git clone https://github.com/joshrobertson8/Cover-gen.git cd Cover-gen -
Install dependencies:
pip install -r backend/requirements.txt
-
Obtain a Google Gemini API key:
- Visit the Google AI Studio to get your API key.
-
Set up the API key:
- Open
backend/gemini_integration.pyand replace"your_google_gemini_api_key"with your actual API key:API_KEY = "your_google_gemini_api_key"
- Open
-
Run the Flask application:
python backend/app.py
-
Access the application:
- Open your browser and navigate to http://localhost:5000.
Drag and drop your resume (PDF or TXT) into the upload zone, or click to select a file.

Copy and paste the job description into the provided text box.

Click the "Generate Cover Letter" button. The AI will analyze your resume and job description to create a tailored cover letter.
Once generated, click the "Download" button to save the cover letter as a .txt file.
- Edit the prompt in
backend/gemini_integration.pyto customize the cover letter format or tone.
- Modify the CSS files in
static/css/to change the visual design.
- Adjust the parameters in
gemini_integration.pyto use a different Gemini model or modify the generation settings.
Contributions are welcome! Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m "Add your feature" - Push to the branch:
git push origin feature/your-feature
- Open a pull request.
This project is open-source and available for use, modification, and distribution. Feel free to adapt it to your needs.