Yusuf is a web application designed to analyze CVs and provide professional summaries, job recommendations, and other related functionalities. The application leverages Groq's vision model to analyze CV images and Coresignal's API to fetch job listings.
- CV Upload: Upload a PDF CV and convert it to images for analysis.
- CV Analysis: Analyze the CV using Groq's vision model to generate a professional summary.
- Job Recommendations: Get job recommendations based on the analyzed CV.
- Job Details: View detailed information about recommended jobs.
-
Clone the repository:
git clone https://github.com/JerryWu0430/yusuf.git cd yusuf -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.envfile in the root directory with the following content:GROQ_API_KEY = your_groq_api_key SECRET_KEY = your_secret_key BEARER_TOKEN = your_bearer_token
- Create a
-
Run the Flask application:
flask run
-
Open your web browser and navigate to
http://127.0.0.1:5000/. -
Upload a CV in PDF format on the homepage.
-
View the analyzed CV summary and job recommendations.
- Upload CV:
/upload-cv(POST) - Job Listings:
/api/job-listings(GET)
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Groq for their vision model.
- Coresignal for their job search API.