02 Case study / 2026

CV Studio

Resume builder

A simple resume studio with eight themes, live previews and Turkish-compatible PDF export, keeping drafts on the device.

How it was built

Challenge

Turn resume preparation into a clear workflow that is comfortable on mobile, without crowded forms or account creation.

Engineering

A three-step editor presents experience, education, projects and skills through eight themes. Preview and PDF share a page layout, with automatic pagination for long content on A4 and Letter paper.

Outcome

PDFs embed fonts supporting Turkish, preserve selectable text and include clickable links. Drafts save automatically on the device and can be backed up as JSON to open on another device.

Engineering decisions

The choices and their reasoning.

01

Share the layout between preview and PDF

Page size, wrapping and overflow are calculated in one layout engine. Preview and PDF consume the same page data to stay aligned.

02

Export a document with real text

pdf-lib embeds fonts while preserving selectable text and clickable links. The resume is exported as a document rather than a screenshot.

03

Keep personal information on the device

Drafts save automatically in the browser. JSON backup and reopening let users continue without creating an account or uploading a resume.

The resulting workflow

Add your details → choose a theme and paper size → preview → download the PDF.

Resume data is stored in the browser. A JSON backup preserves a draft before browser data is cleared.

Source-grounded flow

The architecture of a feature.

PDF generation consumes the same layout data as the preview. Fonts are embedded and every layout page becomes a PDF page with the same dimensions.

Data flow verified in the sourceResume dataLayout engineLive previewText-based PDF

Scroll the diagram horizontally on narrow screens. Resume data · Layout engine · Live preview · Text-based PDF

Annotated source excerpt

Inside the implementation.

src/pdf.js · 4–11Formatted for readability
export async function makePDF(layout,{regular,bold},name='CV') {
  const pdf=await PDFDocument.create();pdf.registerFontkit(fontkit);
  const fonts={regular:await pdf.embedFont(regular,{subset:true}),bold:await pdf.embedFont(bold,{subset:true})};
  pdf.setTitle(name);pdf.setAuthor(name);pdf.setCreator('CV Studio · ceskacan.com');pdf.setProducer('CV Studio');
  for(const items of layout.pages){
    const page=pdf.addPage([layout.width,layout.height]);
    for(const item of items){
      if(item.type==='rect')page.drawRectangle({x:item.x,y:layout.height-item.y-item.height,width:item.width,height:item.height,color:color(item.color)});

Source revision: 2f751c5 · · View source ↗

From the actual commit history

Development log.

  1. Fixed stale caching by naming release assets with content fingerprints.

    2f751c5 ↗
  2. Added the responsive pixel couple animation to the welcome area.

    4c38a9a ↗
  3. Added six themes for eight in total, with multi-page PDF layouts.

    3147c6f ↗

Dates are displayed in the Türkiye time zone.