Giter VIP home page Giter VIP logo

annedorko / highlight Goto Github PK

View Code? Open in Web Editor NEW
21.0 5.0 0.0 494 KB

Static Site Generator (SSG) for creating multiple targeted portfolios and resumes with one website.

Home Page: https://highlight.dorko.dev

License: GNU General Public License v3.0

Python 61.57% HTML 32.12% CSS 4.02% JavaScript 2.29%
portfolio-template resume-builder resume-creator resume-template resume-website static-site-generator python3 ssg jinja python

highlight's Introduction

Highlight: a Static Site Generator

Highlight is a lightweight, opinionated Static Site Generator (SSG) for quickly creating a beautiful resume and portfolio site that targets multiple ideal roles.

Highlight Site Preview

Landing Page | Demo | Live Usage

If you are using Highlight and wish to be featured, please contact me.

Note: This project is experimental. Updates may introduce breaking changes. Please follow these instructions for upgrading your Highlight installation. Keep backups of your data and implement Highlight at your own risk!

Who is it for?

Highlight is built by and for generalists who often need tweaked versions of their resume and portfolio to be appealing for different opportunities. This SSG is built to help you highlight the right parts of your diverse skill-set and experiences to the right people, quickly and elegantly.

Highlight is a Static Site Generator, which means the output can be hosted anywhere as plain HTML and CSS. By default it is configured to deploy to Github Pages automatically.

This repo uses dummy data (which still features much of my own resume) and the results of the auto-deployment through Github Pages can be viewed here: Highlight Demo Site.

Built With

Getting Started

If you use this project base, modify this project to suit your own resume and portfolio activities!

Prerequisites

Built using:

  • Python 3+
  • Node.js 21+
  • NPM 10+

The program may work on lower versions of Node or NPM but has not been thoroughly tested.

Installation

Please check the wiki for more detailed installation instructions.

1. Clone this repo into a clean project folder.

git clone https://github.com/annedorko/highlight.git

Alternatively, you can create a new project using Highlight as a Template and checkout your new project before proceeding.

2. Navigate into your project folder using the console.

cd highlight

3. Install NPM packages.

npm install

4. Install Python package requirements.

Depending on your preference, you can use pip, pipenv, or conda to install the requirements using the convenient npm scripts provided:

npm run install-pip
npm run install-pipenv
npm run install-conda

4. Get started!

Get started developing! The following command will use python3 to execute the start-up script which generates your Highlight site, watches for changes, and makes them available in the browser at http://localhost:4242

npm run develop

Learn more about available scripts in the wiki.

Usage

This repo is full of example data. Currently, that data is mostly from my own resume. You can use it as a reference to create your own site.

Data in Highlight is managed through YAML. If you receive errors it is likely because the YAML got mis-formatted. Be sure to follow the same indentations and patterns as provided in the example data!

As Highlight is so young, the YAML formatting may slightly change from update to update without backward compatibility, so be sure to check for any special notes before updating to use new Highlight features.

Step 1. Configure Site

  1. Open src/config.yaml
  2. Change the url setting to the root domain your site will be published at.

This URL controls:

  • The root of your links throughout the site
  • The CNAME for Github Pages to support custom domains

Note: Highlight automatically generates a .nojekyll file to support Github Page deployment.

Step 2. Start Site for Local Editing

If you haven’t already, you can start the development server using the following command:

npm run develop

Step 3. Update Your Bio

  1. Open src/resume/about.yaml
  2. Edit the data to reflect your name, contact information, skills, and more.

This document contains the data that is the same across all your resume and portfolio items.

  • Name
  • Tagline
  • Work availability
  • Skills grouped by category
  • Important links
  • Contact information
  • Education

By default, your email will also be used to pull your Gravatar image, so I recommend ensuring you have an account there associated with your work email. Set up a professional photo that looks great on the homepage.

Alternatively, you can set avatar to github in the src/config.yaml file and ensure that your Github username is set under contact in the src/resume/about.yaml file.

Something like this:

avatar: github
contact:
  email: [email protected]
  phone: +1 555 321 5432
  timezone: Pacific
  github: yourusername

Skills

Categories can be written using alphanumeric values followed by a colon. If you need to include a colon in your category name, be sure to surround it with quotes.

For example:

  • Good: Music Production:
  • Good: 'Music: Production':
  • Bad: Music: Production:

Links

Links can be plain text, like so:

Homepage: 'https://www.annedorko.com'

Or, you can optionally provide a URL, anchor text, and even a FontAwesome icon. This makes your resume look much cleaner and enables you to include icons for Twitter, LinkedIn, or whatever sites you may be referencing.

Without icon:

Homepage:
  url: 'https://www.annedorko.com'
  text: 'annedorko.com'

With icon:

Homepage:
  url: 'https://www.annedorko.com'
  text: 'annedorko.com'
  icon: '<i class="fas fa-home"></i>'

about.yaml Template

Here is a blank template with a few required stand-ins if you’d like to start from scratch. Feel free to cross-reference these values with the default about.yaml to better understand how to use them.

---
  name: ''
  taglines:
    default: ''
  open:
    available: true
    seeking: ''
    location: ''
  skills:
    Your Category Here:
      - skill: Write a Skill
        years: 1
      - skill: Another Skill
        years: 4
    Your 2nd Category Here:
      - skill: Another Skill
        years: 2
  links:
    Homepage:
      url: ''
      text: ''
    LinkedIn: 'https://linkedin.com'
  contact:
    email: ''
    phone: ''
    timezone: ''
  education:
    Degree Name Here:
      school: ''
      degree: ''
      study: ''
      graduation: ''

Step 4. Add Your Target Roles

  1. Open src/resume/roles.yaml
  2. Edit the values to reflect your target roles.

This document is the root of all your generated resumes. There is no limit to the number of target roles you can add, as long as you follow the YAML format! Every role you add will generate a new resume page targeted towards that role.

Every role requires:

  • Role/Title Name
  • Professional Summary
  • List of Essential Skills (Multiples of 3 work best)

Preview Role Summary

This information will appear at the top of your resume, as shown above.

role.yaml Template

Here is a blank template with a few required stand-ins if you’d like to start from scratch. Feel free to cross-reference these values with the default role.yaml to better understand how to use them.

---
  - role: Role Name
    summary: Professional summary.
    skills:
      - Skill 1
      - Skill 2
      - Skill 3
  - role: 2nd Role Name
    summary: Professional summary.
    skills:
      - Skill 1
      - Skill 2
      - Skill 3

Step 5. Add Your Work History

Without adding any career history, your generated resumes will look a bit empty. You will need to add work history to your src/resume/history/ folder.

Each file represents a single element that will show up on your resumes. You will need to add a new file per work history item.

The file names don’t matter, so long as they are unique. I use a YYYY-company-name.yaml format so it’s easier to find what I’m looking for later.

These documents define:

  • Which resumes to include the experience on.
  • The role you played, adjustable per target resume role.
  • Company name
  • Company location
  • Company URL
  • Type of work (Full-time, part-time, freelance, etc.)
  • Dates: Start and end. Requires a 'YYYY-MM' format for both values, or you can use 'Present' for end date.
  • Skills used on the job. Base is for all target roles, default is used by default, or you can add target-role-specific lists as well. Will be relevant on portfolio pages in the future.
  • Description, adjustable per target resume role.

Titles and descriptions all both required, and both require default values.

Skills are not required. If included, skills require both base and default values. (Currently, skills are not necessary to add here but will be helpful for when portfolio pages are available in the app.)

If you do not follow the required date format, the script will not run correctly. The script will automatically supply the number of years and months.

Adding and Customizing Work Experience to a Target Role Resume

To add a work experience to all resumes, use:

include:
  - All

To add a work experience to specific resumes, list them under include in a list.

include:
  - Target Role
  - Target Role 2
  - Target Role 3

Since v0.1.0: To add a work experience to all except specific resumes, use the All keyword under include, and use an exclude list to remove it from only those roles:

exclude:
  - Target Role
  - Target Role 2
  - Target Role 3

Titles and descriptions need a default title, to start. If you would like to change your title role for specific resumes, you can do so by listing the name of the target role followed by the name of your changed title.

This is particularly helpful if you played many roles within a company, and want to highlight one role over another for a specific resume.

titles:
  default: Job Title
  Target Role: Adjusted Job Title
  Target Role 3: Secondary Job Title

In the above example, "Job Title" will show by default on any resume you include it on. Resumes for "Target Role" and "Target Role 3" will be customized to use the provided titles.

The same goes for descriptions!

descriptions:
  default: Job Title
  Target Role 2: Adjusted Job Title

You can add as many or few customizations as necessary. The default will always be used if you have not provided a specific version. I recommend starting with just the default, and adding customizations as needed when you generate new resumes.

history/*.yaml Template

Here is a blank template with a few required stand-ins if you’d like to start from scratch. Feel free to cross-reference these values with the example history files to better understand how to use them.

---
  include:
    - All
  titles:
    default: Job Title
  company: Company Name
  location: Company City, Country
  url: https://www.example.com/
  type: ''
  dates:
    start: 2010-03
    end: Present
  skills:
    base:
      - Skills
    default:
      - Other Skills
  descriptions:
    default: Default description of experience.

Step 6. Edit, Add, and Delete Site Pages

Finally, you will need to adjust your site pages! You can add as many or few pages as you’d like. These will be linked to at the top of your site in the navigation bar. These will be useful if you plan to send the web versions of your resumes to people.

Your site pages are managed in markdown files under src/pages/. Here is an introduction to markdown if you are not familiar with it.

Since your homepage is generated automatically based on the about.yaml and roles.yaml files, do not create an index.md page. Otherwise, you can create whatever pages you like.

I have included a simple About and Contact page.

You can customize the order the pages show up in your navigation by changing the order value in the meta data. Lower numbers will show first, higher numbers will show later. In the example pages you can see that the About page shows first, with an order of 0, and the contact page shows second, with an order of 2.

You can set title, slug, and order in the markdown metadata.

Step 7. Optional: Compile Your Site for Uploading Manually

Highlight now supports Github Page deployment automatically. This means you can store the entire project using Github and it will deploy to a gh-pages branch from which you can serve your shiny new resume site.

If you wish to host else where you can use this command to generate the site under the site/ folder:

npm run build

The contents of the site/ folder can then be uploaded wherever you would like to host the website.

Step 8: Print to PDF Using Chrome

Highlight comes with custom print styles to ensure your resume can easily be saved as a PDF using the "Print to PDF" feature.

Simply navigate to your desired resume page on the website and Print to PDF. I recommend using Chrome if you experience any formatting issues. Note, in Firefox you will have to manually disable the header and footer text output as this cannot be overridden in the CSS automatically.

Learn more about customizing fonts and other theme styles in the wiki.

Roadmap

See open issues for a list of proposed features and known issues.

License

Distributed under the GNU GPLv3 license. See LICENSE for more information.

Contact

Anne Dorko - LinkedIn - @annedorko - [email protected]

Project Link: github.com/annedorko/highlight

Acknowledgements

This project was to get my own flexible resume and portfolio running as well as experiment with Python in a new environment. Below are packages I used and resources I referenced along the way.

Packages

Resources

Contributors

highlight's People

Contributors

annedorko avatar stedders avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

highlight's Issues

Github Pages workflow

Goal: Make it easy to manage the entire project resume in Github and automatically deploy to Github pages.

Project data structure

Define data structure for identifying experiences (jobs and projects). Must address:

  • Default values
  • Optional optimizations per target job title

Navigation options

Goal: Make it more application friendly

  • Optional: Set homepage to link to just one featured resume so future employers are not see all variations
  • Optional: Set a specific resume to be the homepage
  • Optional: Disable web navigation links on Resumes

Fix months rounding up to 12

Following LinkedIn’s example, the app always rounds up months. It should not do that when rounding up will equal 12 months.

Dark/Light modes for web viewing

The main CSS is designed for PDF generation, however, dark mode could be a great option if anyone is sharing their individual resume pages!

Page design

Responsive CSS page templates for:

  • Homepage
  • Standard pages
  • Resume format pages
  • Portfolio format pages
  • Single item pages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.