Who it is forA web designer or personal site owner who wants a custom handwritten headline or body font.
The problemWeb fonts need several formats and a CSS snippet, which is tedious to set up by hand.
The outcomeWeb-ready WOFF and WOFF2 files plus a CSS @font-face snippet for your site.
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
- Build the font from your photo with
npx draw-your-font make photo.jpg --chars "ABCabc" --name "My Hand". - Add web formats by running
npx draw-your-font make photo.jpg --chars "ABCabc" --name "My Hand" --formats ttf,woff,woff2,css. (inferred, check the README) - Copy the generated @font-face snippet into your site stylesheet.
- Load a test page and confirm the font renders in the browser.
Prompt for your agent
Use the draw-your-font repo to build a font from <photo-path> with --formats ttf,woff,woff2,css and save the outputs to <site-assets-dir>. Expected output is WOFF, WOFF2, and a CSS @font-face snippet. Verify that the CSS references both the WOFF2 and WOFF files.
Caveat. The README lists web formats and a CSS snippet, but it does not describe how the font is tested across browsers, so check rendering yourself.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for danilo-znamerovszkij/draw-your-font and "Export a handwriting web font with CSS for a site"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer