Turn a photo of your handwriting into a real font (TTF/WOFF/WOFF2) using a free, open-source CLI or Claude Code skill that runs entirely locally with no uploads.

Stars

425

7-day growth

No data

Forks

37

Open issues

1

License

MIT

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a unique, one-shot workflow: photograph your handwritten alphabet and instantly get an installable font, leveraging AI only for labeling while keeping vectorization deterministic and private.

Who it is for

  • People who want to digitize their handwriting for personal use
  • Graphic designers needing custom handwritten fonts
  • Developers and tinkerers interested in font creation pipelines
  • Hobbyists and educators looking for a free alternative to paid font services

Use cases

  • Creating a personal handwritten font from a notebook photo
  • Building a custom web font with WOFF2 and CSS for a website
  • Rapidly prototyping a font for branding or invitations
  • Learning about OCR, vectorization, and font generation pipelines

Strengths

  • Fully local – no uploads, your handwriting stays on your machine
  • Free and open source (MIT) with no hidden costs or credits
  • Works with messy, real-world photos (bad lighting, shadows, spiral binding)
  • Deterministic CLI can run without AI, relying only on user-provided labels

Considerations

  • Output is a single‑variant font; kerning, ligatures, and letter randomization are planned for v2
  • Requires Node.js 18+, so not suitable for systems without a recent Node runtime
  • AI vision labeling (when used) depends on Claude and may introduce small errors that need fixing

README quick start

draw-your-font

Turn a photo of your handwriting into a real font (TTF/WOFF/WOFF2) - free, open source, no uploads, no credits.

Draw your alphabet on paper. Take a photo. Get your font.

This is a real one-shot result: dim light, spiral binding, page shadow. One photo in, installable font out.

Use it as a Claude Code skill (the fun way)

npx skills add danilo-znamerovszkij/draw-your-font

Then in Claude Code, invoke the skill and hand it your photo:

/draw-your-font "here's a photo of my handwriting - make my font" (drag the photo into the terminal)

Claude finds your letters in the photo, labels them with vision, builds the font, shows you a preview, and critiques its own work. Iterate by talking:

  • "make it rounder" / "a bit bolder"
  • "the g looks bad" - it shows you the crop and fixes or asks for a re-shoot
  • "give me woff2 + css for my website"
  • "how readable is it?" - a legibility score and the two worst letter pairs

No photo yet? Say "give me a font template" and you get a printable PDF grid: write your alphabet with a dark pen, photograph the pages, and hand them back. Messy freeform photos work too. Napkins, notebooks, spiral binding, bad lighting: that's what the vision step is for.

Everything runs locally on your machine. Your handwriting never leaves it.

Use it as a CLI (no AI at all)

The skill is a thin layer over a deterministic npm CLI. It works on its own when you can tell it what you wrote:

# freeform photo, you know the order you wrote in:
npx draw-your-font make photo.jpg --chars "ABCabc" --name "My Hand"
# → MyHand.ttf - double-click, install, done.

# best quality: print a template, fill it, photograph:
npx draw-your-font template -o template.pdf --charset minimal   # or: spanish
npx draw-your-font make page1.jpg page2.jpg --charset minimal --name "My Hand"

Pure npm, zero system dependencies: no FontForge, no ImageMagick, no potrace binary. Works on macOS / Linux / Windows wherever Node ≥ 18 runs.

CLI reference

CommandWhat it does
templateprintable A4 PDF grid (--charset minimal|spanish)
segment find letters → crops + numbered contact sheet + blobs.json
buildlabeled crops → font (--labels / --chars / --charset)
make segment + build in one shot
previewrender any text with the built font

Refinem

Description

Turn a photo of your handwriting into a real font (TTF/WOFF/WOFF2) - free, open source, no uploads. Node CLI + Claude Code skill.

Related repositories

Similar projects matched by category, topics, and programming language.

0xwilliamortiz
Featured
0xwilliamortiz GitHub avatar

ponytail-improved

Ponytail is a plugin for AI coding agents that enforces a disciplined ladder of reuse before writing code, reducing code volume by roughly 54% while preserving safety.

AI & Machine LearningAI Agents
545
7-e1even
Featured
7-e1even GitHub avatar

learn-agent

A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.

AI & Machine LearningLarge Language Models
218
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958