DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

  • 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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page