This project is designed to convert a resume from HTML format into a structured YAML format and then generate an HTML resume from the YAML data. It also includes a GitHub Actions workflow to automate the deployment of the generated HTML to GitHub Pages and update the PDF version of the resume.
resume-organizer
├── src
│ ├── html_to_yaml.py # Script to parse HTML and convert to YAML
│ ├── yaml_to_html.py # Script to generate HTML from YAML
│ └── templates
│ └── resume_template.html # HTML template for the resume
├── data
│ └── resume.yaml # YAML file storing structured resume data
├── .github
│ └── workflows
│ └── deploy.yml # GitHub Actions workflow for deployment
├── requirements.txt # Python dependencies
└── README.md # Project documentation
-
Clone the repository:
git clone https://github.com/yourusername/resume-organizer.git cd resume-organizer -
Install the required dependencies:
pip install -r requirements.txt
To convert the HTML resume to YAML format, run the following command:
python src/html_to_yaml.py
This will read the HTML file and generate a resume.yaml file in the data directory.
To generate the HTML resume from the YAML data, run:
python src/yaml_to_html.py
This will create an HTML file using the data from resume.yaml and the template defined in src/templates/resume_template.html.
The project includes a GitHub Actions workflow defined in .github/workflows/deploy.yml. This workflow will:
- Build the HTML from the YAML file.
- Deploy the generated HTML to GitHub Pages.
- Update the PDF version of the resume in the repository.
This project is licensed under the MIT License. See the LICENSE file for details.