Better HN
topnewbestaskshowjobs
Log inSign up

wtomas

2 karma · joined Jul 26, 2026 (4mo ago) · 3 submissions

Submissions

1.

Show HN: Sufleur - npm-style prompt registry with typed code-generation(github.com ↗)

3 points · by wtomas · 3mo ago · discuss

comment 4mo ago · link · parent

I'm building Sufleur: a package manager for LLM prompts. You publish Mustache templates as immutable semver versions, and a CLI generates typed TypeScript/Python from them — typed on both the input and output side. The part that's been the most fun to build is inferring input types from the template itself:

  Hi {{user.name}}{{@type string}}
becomes

  { user: { name: string } }
as an input type in the generated code, so prompt changes fail your build instead of your production.

I started it ~a year ago and it died like side projects do. Months later, building something completely different, I caught myself wishing for exactly the tool I'd abandoned, and since then it's completely vacuumed up all my free time.

Repo: https://github.com/sufleur/cli