| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Write your CV in Markdown and generate both a responsive web page and a professional PDF with minimal setup.
Contents generated with DocToc
npm installnpm run dev # Start a dev server with live reloadnpm run pdf # Generate PDFEdit src/cv.md using Markdown. The file supports front matter for your personal information:
---
title: Your Name
headline: Your Title
email: you@example.com
github: '@username'
---Tip
This project uses Marked to parse markdown. Marked supports the original markdown.pl implementation, CommonMark and GitHub Flavored Markdown, which should generally suffice for most use cases. You could even add custom extensions to extend the functionality, if you needed to.
Modify colors, fonts, and layout in src/css/main.scss:
// Change the primary color
$color-primary: #0073e6; // Default blue
$color-primary: #2ecc71; // Change to green
// Change font family
$font-sans: avenir, montserrat, corbel, 'URW Gothic', sans-serif; // default
$font-sans: optima, candara, 'Noto Sans', source-sans-pro, sans-serif; // Use different fonts
// or, if you prefer a Serif font, you could specify $font-serif to replace $font-sansAdd icons to your section headings using Phosphor Icons. The project uses the regular style by default, but you can switch to thin, light, bold, fill, or duotone styles by updating the import in src/js/main.js:
// Default style
import '@phosphor-icons/web/regular'
// Or use another style
import '@phosphor-icons/web/bold'
import '@phosphor-icons/web/duotone'Add icons to your markdown:
## Skills [ph-wrench] <!-- Adds wrench icon -->
## Experience [ph-briefcase] <!-- Adds briefcase icon -->
## Education [ph-graduation-cap] <!-- Adds graduation cap icon -->Modify skill categories and icons in src/js/utils/skills.js:
// Change icons for skill categories
function getCategoryIcon(categoryText) {
const category = categoryText.toLowerCase()
const iconMap = {
frontend: 'ph ph-browser',
backend: 'ph ph-database',
devops: 'ph ph-cloud',
mobile: 'ph ph-device-mobile',
// Add your own categories
}
// change Default icon from 'ph ph-toolbox' to, say 'ph-caret-double-right'
return Object.entries(iconMap).find(([key]) => category.includes(key))?.[1] || 'ph-caret-double-right'
}Adjust contact info layout in src/js/utils/header.js:
// Add new social media or contact types, for example, gitlab
if (metadata.gitlab) {
const gitlabUsername = metadata.gitlab.replace(/^@/, '')
contactDiv.appendChild(
createContactItem('ph-gitlab-logo', metadata.gitlab, `https://gitlab.com/${gitlabUsername}`)
)
}
// Change icon styles
// First update main.js to import duotone icons:
// import '@phosphor-icons/web/duotone'
// Then update the icon class:
iconElement.className = `ph-duotone ${iconClass}` // Use duotone icons instead of regularThese files control the main aspects of the CV:
To build your project for production:
npm run buildThe built site will be in the ./dist directory. You can preview the build via
npm run previewThis project includes ready-to-use CI/CD configurations for both GitHub and GitLab Pages.
You can also deploy your CV to other platforms like Cloudflare Pages, Vercel, Netlify, or your own server. See the Vite docs for more information.
MIT - Feel free to use and adapt for your needs.
| Back | FazBrowse Home | New Git URL |