Documentation

dresume keeps your resume content in YAML and the layout in Typst templates. Change a template and every resume linked to it is restyled. This page covers the desktop app, the workspace format, templates and the CLI.

Get started

Prebuilt installers are coming soon. For now, build from source.

You need Rust, Node.js and pnpm. Typst does not need to be installed: it's built in.

git clone https://github.com/diegorezm/dresume
cd dresume/app
pnpm install
pnpm tauri dev

Click New workspace, pick a folder, and start editing my-resume.

Command line only

cargo install --path crates/cli
dresume init my-resumes
dresume -w my-resumes build          # → my-resumes/output/*.pdf

Concepts

A workspace is a plain folder. There is no database and no hidden state: everything is a file you can read, edit, diff and commit.

my-resumes/
├── dresume.yaml        workspace marker (name, version)
├── profile.yaml        name, email, links — shared by every resume
├── templates/<id>/
│   ├── template.yaml   display name, description, hidden profile fields
│   ├── template.typ    the Typst layout
│   ├── schema.json     which content the template accepts
│   └── sample.yaml     sample content used to preview the template
├── resumes/<id>.yaml   content only, with `template: <id>`
└── fonts/              optional extra fonts (.ttf/.otf)
  • A template is layout plus a JSON Schema describing the content it accepts.
  • A resume is content only and links to a template with template: <id>.
  • The profile holds personal info once. Each template can hide profile fields it doesn't want.
  • Ids (file and folder names) use only letters, digits, - and _.

Using the app

Overview

The home screen lists your templates as cards, each with the resumes that use it. From a card you can create a resume with that template or open the template's layout.

Editing a resume

Resumes are edited with a form generated from the template's schema: basic fields on top, then one card per section. Drag items to reorder them, add bullets and tags, and add optional sections when you need them. The preview updates while you type, before you save. Export to PDF from the top bar.

Editing a template

The template editor has a tab per file (template.typ, helpers, schema.json, sample.yaml) with Typst highlighting. The preview renders the template with its own sample.yaml, and errors point to the file and line.

Profile

The profile editor edits profile.yaml. Links can be plain URLs or {label, url}. The show in templates table chooses which fields each template displays.

AI agent panel: Claude and ChatGPT

Press Ctrl+J in the resume or template editor. The panel drives an AI agent you already have installed and logged into: Claude Code, Codex (with your ChatGPT account), Gemini CLI or OpenCode. dresume never calls a model API itself and needs no API key.

  1. Install an agent and log in once (for example claude or codex login).
  2. Open a resume and press Ctrl+J.
  3. Ask for a change: "tailor this resume for this job post: …", "translate it to Portuguese", "cut it to one page". In the template editor: "make it two columns with a dark sidebar".
  4. The agent edits the files and the preview follows. Review the diff and Keep or Undo each change.

Pick the model and the reasoning effort in the composer. Permissions (also in Settings) decide what the agent may do:

  • Ask first: every edit and command waits for your approval.
  • Auto-edit: edits to workspace files go through; commands ask first.
  • Read only: the agent can read and suggest, but every change is refused.

Claude Desktop and other MCP clients

dresume mcp serves a workspace over MCP (stdio), so any MCP client can list, validate, show, build and preview resumes and templates. The app wires it into agent sessions automatically when the CLI is on PATH.

claude mcp add dresume -- dresume -w ~/my-resumes mcp

For Claude Desktop, add it to claude_desktop_config.json:

{ "mcpServers": { "dresume": { "command": "dresume", "args": ["-w", "/path/to/my-resumes", "mcp"] } } }

Settings

Settings are saved per user, in the app's config folder, not in the workspace.

SettingOptionsDefault
LanguageEnglish, PortuguêsSystem language
ThemePaper, Paper Night, Sage, Slate, Midnight, RoséPaper
Accent colorAny color From the theme
FontFigtree, Inter, System, SerifFigtree
CornersSharp, Soft, RoundSoft
Interface size85% – 120%100%
AI agentClaude Code, Codex (ChatGPT), Gemini CLI, OpenCodeFirst one installed
PermissionsAsk first, Auto-edit, Read onlyAuto-edit

Themes

Custom themes

Use Save as a new theme to keep the current theme with your accent color, or drop a JSON file in the themes folder (Open themes folder in Settings). It has the same shape as the built-in themes:

{
  "id": "my-theme",
  "name": "My theme",
  "dark": false,
  "colors": {
    "bg": "#f3eee8",
    "sidebar": "#ebe4dc",
    "surface": "#f9f6f2",
    "surface2": "#e9e2da",
    "canvas": "#e6ded5",
    "border": "#e0d7cd",
    "text": "#2b2622",
    "muted": "#8a8079",
    "accent": "#e07a4f",
    "accentText": "#ffffff",
    "danger": "#c8473b",
    "warn": "#b7791f"
  }
}

Keyboard shortcuts

On macOS use Cmd instead of Ctrl.

ShortcutAction
Ctrl + SSave the open resume or template
Ctrl + JToggle the AI agent panel
Ctrl + \Toggle the preview (editor / split / preview)
Ctrl + BToggle the sidebar

Writing templates

Templates get their data through two inputs holding workspace-rooted paths:

#let profile = yaml(sys.inputs.profile)
#let resume  = yaml(sys.inputs.resume)

The profile a template receives is normalized: links are always {label, url} and fields hidden by the template are removed. Render contact fields generically (iterate the profile) so new or hidden fields never break the layout. When you add a field, also add it to schema.json and sample.yaml.

Start from Basic (--from @starter) or copy an existing template. For fonts that work everywhere, use the ones built into Typst: Libertinus Serif, New Computer Modern, DejaVu Sans Mono. Others go in fonts/.

Schema and the form

These schema keywords drive the app's form:

Keyword Effect
title Field label
format: "textarea" Multi-line text
enum Select
format: "uri" URL input
array of strings Bullets
format: "tags" on a string array Chips instead of bullets
array of objects Collapsible cards, titled by the first two text fields
period / date / year key Shown as the card's meta
items.title Singular noun ("Add position")

Non-array top-level fields are grouped in the Basics card; optional sections appear under Add section.

CLI reference

Every command accepts -w <dir> (workspace; defaults to the nearest parent with dresume.yaml) and --json for machine-readable output. Commands exit non-zero on failure.

Resume workspaces powered by Typst.

  • -w, --workspace <workspace> Workspace directory (defaults to the nearest parent with dresume.yaml)
  • --json Print machine-readable JSON instead of text
dresume init <dir> [--name <name>]

Create a new workspace in the given directory.

  • --name <name> (default: My resumes)
dresume list

List templates and the resumes linked to each.

dresume build [ids…] [-o, --out <out>] [-f, --format <format>]

Compile resumes to PDF (all when no id is given).

  • -o, --out <out> Output directory (default: output)
  • -f, --format <format> svg writes one <id>-<page>.svg per page (default: pdf)
dresume show <id>

Print a resume's content as JSON.

dresume preview-template <template> [-o, --out <out>]

Compile a template with its own sample.yaml, to check it while editing.

  • -o, --out <out> Output PDF path
dresume validate [ids…]

Validate resumes against their template schema (all when no id is given).

dresume new <id> -t, --template <template>

Create a resume from a template's sample content.

dresume duplicate <id> --from <from>

Create a resume with a copy of another resume's content.

dresume new-template <id> --name <name> [--from <from>]

Create a template, optionally copying an existing one (--from @starter copies the built-in Basic).

dresume profile-fields [<template>] [--hide <hide>]

Show which profile fields each template shows; with --hide, set them for one template.

  • --hide <hide> Comma-separated profile keys to hide (empty string shows everything)
dresume schema <template>

Print a template's JSON Schema.

dresume mcp

Serve the workspace as an MCP server over stdio (tools: list, schema, show, validate, build, preview_template).

For AI agents

Every workspace includes an AGENTS.md that teaches agents the format. A typical loop:

  1. Edit the YAML.
  2. dresume validate --json to check it against the schema.
  3. dresume build <id> --format svg --json to render pages the agent can look at.
  4. Fix the reported diagnostics.

Try prompts like "tailor my backend resume for this job post" or "make a two-column template with a dark sidebar".

✎ Edit this page on GitHub