展示HN:RenderCV – 开源简历/简历生成器,YAML → PDF
Show HN: RenderCV – Open-source CV/resume generator, YAML → PDF

原始链接: https://github.com/rendercv/rendercv

## RenderCV:轻松生成 PDF 简历 RenderCV 通过使用 YAML 文件作为输入,简化了专业质量简历的创建。 您无需在传统的文档编辑器中苦苦挣扎格式,只需专注于*内容*。 简单地以结构化的 YAML 格式编写您的简历详细信息——姓名、教育、经验等——RenderCV 就会生成一份排版精美的 PDF。 主要优势包括版本控制(因为它纯文本)、格式一致性和像素级对齐。 您可以通过可定制的设置完全控制设计元素,如页边距、颜色和排版。 RenderCV 提供 JSON Schema 以实现具有自动完成功能的交互式编辑,并支持多种语言环境。 安装通过 pip 非常简单,一个简单的命令 (`rendercv render your_cv.yaml`) 即可创建您完善的 PDF。 了解更多信息并查看示例,请访问 [https://rendercv.com](https://rendercv.com)。

## RenderCV:现代简历生成器 RenderCV 是一款开源工具,旨在简化简历/CV 的创建。开发者对 Word 的局限性和 LaTeX 的复杂性感到沮丧,因此创建了 RenderCV,以将简历管理为单个、可版本控制的 YAML 文件。 通过单个命令 (`rendercv render cv.yaml`),用户可以生成由 Typst 提供支持的完美排版的 PDF。主要功能包括通过 YAML 进行完全设计控制、LLM 友好的编辑(可轻松使用 ChatGPT 定制)以及内置 JSON Schema,用于自动完成和文档。 RenderCV 拥有强大的基础——经过数千用户的实践检验,具有广泛的测试覆盖和积极的维护。该项目还作为教育资源,详细介绍了 Python 项目维护的最佳实践,涵盖 GitHub Actions 和 Docker 等主题。可在 GitHub 上找到它:[https://github.com/rendercv/rendercv](https://github.com/rendercv/rendercv)
相关文章

原文

Write your CV or resume as YAML, then run RenderCV,

rendercv render John_Doe_CV.yaml

and get a PDF with perfect typography. No template wrestling. No broken layouts. Consistent spacing, every time.

With RenderCV, you can:

  • Version-control your CV — it's just text.
  • Focus on content — don't wory about the formatting.
  • Get perfect typography — pixel-perfect alignment and spacing, handled for you.

A YAML file like this:

cv:
  name: John Doe
  location: San Francisco, CA
  email: [email protected]
  website: https://rendercv.com/
  social_networks:
    - network: LinkedIn
      username: rendercv
    - network: GitHub
      username: rendercv
  sections:
    Welcome to RenderCV:
      - RenderCV reads a CV written in a YAML file, and generates a PDF with professional typography.
      - See the [documentation](https://docs.rendercv.com) for more details.
    education:
      - institution: Princeton University
        area: Computer Science
        degree: PhD
        date:
        start_date: 2018-09
        end_date: 2023-05
        location: Princeton, NJ
        summary:
        highlights:
          - "Thesis: Efficient Neural Architecture Search for Resource-Constrained Deployment"
          - "Advisor: Prof. Sanjeev Arora"
          - NSF Graduate Research Fellowship, Siebel Scholar (Class of 2022)
    ...

becomes one of these PDFs. Click on the images to preview.

RenderCV's JSON Schema lets you fill out the YAML interactively, with autocompletion and inline documentation.

JSON Schema of RenderCV

You have full control over every detail.

design:
  theme: classic
  page:
    size: us-letter
    top_margin: 0.7in
    bottom_margin: 0.7in
    left_margin: 0.7in
    right_margin: 0.7in
    show_footer: true
    show_top_note: true
  colors:
    body: rgb(0, 0, 0)
    name: rgb(0, 79, 144)
    headline: rgb(0, 79, 144)
    connections: rgb(0, 79, 144)
    section_titles: rgb(0, 79, 144)
    links: rgb(0, 79, 144)
    footer: rgb(128, 128, 128)
    top_note: rgb(128, 128, 128)
  typography:
    line_spacing: 0.6em
    alignment: justified
    date_and_location_column_alignment: right
    font_family: Source Sans 3
  # ...and much more

Design Options of RenderCV

No surprises. If something's wrong, you'll know exactly what and where. If it's valid, you get a perfect PDF.

Strict Validation Feature of RenderCV

Fill out the locale field for your language.

locale:
  language: english
  last_updated: Last updated in
  month: month
  months: months
  year: year
  years: years
  present: present
  month_abbreviations:
    - Jan
    - Feb
    - Mar
  ...

Install RenderCV (Requires Python 3.12+):

pip install "rendercv[full]"

Create a new CV yaml file:

Edit the YAML, then render:

rendercv render "John_Doe_CV.yaml"

For more details, see the user guide.

联系我们 contact @ memedata.com