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.
- Install an agent and log in once (for example
claudeorcodex login). - Open a resume and press Ctrl+J.
- 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".
- 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.
| Setting | Options | Default |
|---|---|---|
| Language | English, Português | System language |
| Theme | Paper, Paper Night, Sage, Slate, Midnight, Rosé | Paper |
| Accent color | Any color | From the theme |
| Font | Figtree, Inter, System, Serif | Figtree |
| Corners | Sharp, Soft, Round | Soft |
| Interface size | 85% – 120% | 100% |
| AI agent | Claude Code, Codex (ChatGPT), Gemini CLI, OpenCode | First one installed |
| Permissions | Ask first, Auto-edit, Read only | Auto-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.
| Shortcut | Action |
|---|---|
| Ctrl + S | Save the open resume or template |
| Ctrl + J | Toggle the AI agent panel |
| Ctrl + \ | Toggle the preview (editor / split / preview) |
| Ctrl + B | Toggle 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)--jsonPrint 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 listList 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>svgwrites one<id>-<page>.svgper 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 mcpServe 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:
- Edit the YAML.
dresume validate --jsonto check it against the schema.dresume build <id> --format svg --jsonto render pages the agent can look at.- 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".