DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a font from a photo with the CLI, no AI with Draw Your Font

Run one npx command on a freeform photo and get a font file you can install.

Short answer: Write the letters on paper in a known order and photograph them; then run npx draw-your-font make photo.jpg --chars "ABCabc" --name "My Hand"; open the generated MyHand.ttf and install it on your system. All steps.

  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

Who it is forA developer or hobbyist who knows the order they wrote the letters and wants a scripted, repeatable build.

The problemFont tools often require system installs of FontForge or ImageMagick, which slows down a simple personal font.

The outcomeA font file such as MyHand.ttf that installs by double-click, built with pure npm and no system dependencies.

What you need first

  • Node.js 18 or newer installed
  • A photo of your handwritten alphabet on paper, or a printed template filled in by hand
  • Claude Code installed if you want the skill route; the CLI works without it

Steps

  1. Write the letters on paper in a known order and photograph them.
  2. Run npx draw-your-font make photo.jpg --chars "ABCabc" --name "My Hand".
  3. Open the generated MyHand.ttf and install it on your system.
  4. Run npx draw-your-font preview to render sample text with the built font. (inferred, check the README)

Prompt for your agent

Use the draw-your-font CLI from the danilo-znamerovszkij/draw-your-font repo to build a font from <photo-path> with --chars set to <characters-in-order> and --name set to <font-name>. Expected output is a .ttf file in the working directory. Verify the file exists and that the preview command renders the sample text.

Caveat. The README says the output is a clean single-variant font, so kerning and letter randomization are not part of this build.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for danilo-znamerovszkij/draw-your-font and "Build a font from a photo with the CLI, no AI"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer