La Boétie
Brief

Open source

.cvThe open resume file format

A .cv file is one resume that opens as a normal PDF. The same file carries a Markdown copy for applicant tracking systems, an HTML copy for the web, JSON Resume data and precomputed vectors for AI search.

The SDKs cover JavaScript, Python and Go.

Specification
cv 1.0
Code license
Apache 2.0
Media type
application/vnd.cv+pdf

Who .cv is for

Job seekers

You export resume.cv once and send the same file to every application. A recruiter opens it as a PDF, while an applicant tracking system reads its Markdown copy, which keeps accents and bullet characters intact.

Recruiters and sourcing tools

A sourcing tool indexes a resume from its embedded Markdown and its precomputed BGE-M3 vectors. It runs neither optical character recognition nor a new embedding pass.

Careers pages and personal sites

The <cv-embed> web component shows the PDF to visitors and puts the resume text in the page for search engines. On the server, the @cvfile/server middleware answers a request for text/markdown with the Markdown copy from the same URL.

AI agents and RAG pipelines

An agent or a RAG (retrieval augmented generation) pipeline reads clean text and one vector per chunk. Each vector carries UTF-8 byte offsets into the Markdown, so a quote maps back to its exact passage in the resume.

How .cv works

  1. A PDF/A-3u container

    The visual layer is a standard PDF/A-3u document, so Preview, Adobe Reader and Chrome open it with a double click.

  2. Embedded copies

    The file carries resume.md, resume.html, resume.json and embeddings.cbor as PDF/A-3 attachments. XMP metadata in the cv: namespace lists these payloads. Each extra language of a resume travels as an alternate payload beside the primary one.

  3. Integrity digests

    Every payload carries a SHA-256 digest. The validator checks each digest on read and fails the file when one does not match.

  4. Security checks

    The validators of the three SDKs reject encrypted documents, JavaScript, launch and import data actions, external file references and forms that submit to any address other than a mailto link.

  5. Content negotiation

    One URL serves the PDF to a browser. A client that sends Accept: text/markdown receives the Markdown copy from that URL.

Get started

The Python SDK installs with pip install cvfile and the Go SDK with go get github.com/cvfile/cv/sdks/go. Extraction skips the security and integrity checks, so validate a file from an unknown source before you extract its payloads.

Command line

brew install cvfile/tap/cv
cv inspect resume.cv --json
cv validate resume.cv --strict
cv extract resume.cv --format md

JavaScript

pnpm add @cvfile/sdk

import { extractMarkdown, validate } from '@cvfile/sdk';

const report = validate(cvBytes);
const markdown = await extractMarkdown(cvBytes);

Web page

<script type="module" src="https://cvfile.org/embed/1/cv-embed.js"></script>
<cv-embed src="resume.cv" view="auto" theme="auto"></cv-embed>

License

SDKs, CLI, viewer and server middleware
Apache 2.0
Specification
CC BY 4.0