frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Sufleur - npm-style prompt registry with typed code-generation

https://github.com/sufleur/cli
3•wtomas•2h ago
Hi HN, I've built Sufleur, a prompt registry and companion CLI tool. The motivation was essentially the frustration that prompts are becoming more and more crucial parts of applications, but in the codebases I've seen, they just sit around as random strings, in-house templates with odd rules, and essentially no version control beyond git. I've felt pain in the past when prompts suddenly changed their schemas (either input for rendering or output expected by the LLM), having to read through the whole thing to figure out what I need to supply for the rendering to work, and spent hours trying to debug why the carefully written and evaluated prompt which worked wonders in a python notebook suddenly stopped working in a typescript codebase in prod...

These are the main ideas:

- Mustache templates for the prompts, since Mustache is a mature, logic-less templating language which already has packages in a lot of languages I would ever want to target.

- Input schemas to render a prompt properly are inferred fully from the template. No separate interface to keep in sync, the parser in Sufleur figures out the schema, with some extensions I've added to the templating to aid this.

- Output JSON schemas also recorded on the prompts.

- Semver versioning and immutable versions after publishing.

- The CLI that allows installing/updating/removing prompts as dependencies, generating the code, and exposes all the authoring methods, so your AI agent can drive the prompt development cycle as well.

- No runtime dependency(!). The code is generated with all of the content inlined. The generated code allows you to render each prompt, provides methods to parse and validate the outputs, and access metadata fields (provider, model, model-parameters).

- Public and workspace private prompts. Public prompts can be installed without an account.

- Workspace rules can optionally enforce semver semantics (breaking change can't be patch-bumped) and mandatory eval thresholds.

The CLI is open source (written in go), with npm and pypi wrapper packages distributed. The platform itself has other features (evals, workspace management) all that jazz. Free to use for individuals or $2/seat/month for teams beyond 3 people.

Some honest limitations:

- It's a solo project.

- Only python and typescript codegen so far, but very open to extending that in the future when demand arises.

- Currently working on a representation of LLM tool-calls, they are not on the platform yet but soon will be.

- Pretty much no users so far (admittedly, haven't done much marketing either), so really looking forward to see some folks pick it up and get some honest criticism.

Docs: https://sufleur.com/docs

Curious to see what others use to version and share prompts today, most of the solutions I have seen focused mostly on tracing, without providing much structure around the prompts themselves.

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
67•Rochus•4h ago•15 comments

Show HN: Today's cities on a globe of Earth's tectonic past and future

https://douwe.com/projects/tectonic_globe
10•dosinga•3h ago•0 comments

Show HN: Ember – Redshift safe color palettes

https://github.com/carpdiem/ember
3•carpdiem•1h ago•0 comments

Show HN: Airy – Free, fast, and simple voice content creation

https://airy.so
24•login588•8h ago•12 comments

Show HN: TokenSpend, the AI ROI Solution

https://tokenspend.dev/
3•haseebejaz•1h ago•0 comments

Show HN: Repro, disposable Docker env for GitHub issues(pip install repro-cli)

https://github.com/SukhdevThukral/repro
3•sukhdevth_•1h ago•0 comments

Show HN: Vibez – Open-Source Rust Based Digital Audio Workstation (DAW)

https://alexanderwanyoike.github.io/vibez/
15•mercutio93•2h ago•5 comments

Show HN: Sufleur - npm-style prompt registry with typed code-generation

https://github.com/sufleur/cli
3•wtomas•2h ago•0 comments

Show HN: An enjoyable and efficient way for product teams to communicate

https://fosbury.ai/
2•YarivAshk•2h ago•1 comments

Show HN: Cash-o-mat - Find your favorite new Euro Bill Design

https://cash-o-mat.eu
2•zinngr•2h ago•0 comments

Show HN: StoneBuild – a build tool in Go for your projects in any languages

https://github.com/tigerlang/stonebuild
2•tiger-langer•2h ago•0 comments

Show HN: Make a Fake MySpace Profile

https://allthedamn.tools/myspace-profile-generator/
2•kilroy123•2h ago•0 comments

Show HN: A tool to auto-generate .vscode/settings.json and extensions.json

https://github.com/RKasai127/vscode-autoconfig
3•rkasai•3h ago•0 comments

Show HN: FAIth – a syntax-free JVM language, compiled by an LLM front-end

https://github.com/krossovochkin/faith
3•krossovochkin•4h ago•0 comments

Show HN: My WHOOP has no screen. My Kindle had no job. So I put them together

https://github.com/kaibuildsai/kindle-for-whoop
7•kaibuidsai•5h ago•4 comments

Show HN: textlog – A quiet, text-only microblogging platform, open-source, no JS

https://textlog.cc/about
197•stagas•2d ago•75 comments

Show HN: Algebruh - Cross-check arithmetic claims with Z3, cvc5, and Lean

https://github.com/skorotkiewicz/algebruh
13•modinfo•23h ago•1 comments

Show HN: Open-source binaural-beats engine

https://github.com/txus/farfield
3•txus•9h ago•0 comments

Show HN: Wyzer Programming Language

https://github.com/Wyzer-Lang/wyzer
216•v0id_isgood•2d ago•115 comments

Show HN: Tura – Build agent that uses 80% less token and delivers better results

https://github.com/Tura-AI/tura
12•turaainet•17h ago•0 comments

Show HN: Sign language translation with smart glasses

https://github.com/aadisang/hand-wave
25•aadisang•4d ago•13 comments

Show HN: Faaah – Filesystem as an AI Handler

https://github.com/sebastiancarlos/faaah
3•httbs•18h ago•2 comments

Show HN: VD – TUI Password Manager and OTP Authenticator for Unix

https://github.com/ahmedhosssam/vd
5•ahmedhosssam•18h ago•3 comments

Show HN: Inertia – Not your Grandfathers animation editor

https://inertiagraphics.com/
5•hpen•19h ago•0 comments

Show HN: OpsCart – Read-only Kubernetes triage with incident history

https://github.com/opscart/opscart-k8s-watcher
3•opscart•15h ago•0 comments

Show HN: Aidress – LangChain integration for cross-agent discovery and trust

https://docs.langchain.com/oss/python/integrations/tools
2•mehulv24•16h ago•0 comments

Show HN: 49IDE – 2D Grid IDE for managing many agents, Git trees, issues

https://github.com/alpbahadur/49Agents
10•alpbahadur•1d ago•1 comments

Show HN: Defcon and HN, the only two audiences I might find

5•ycombiredd•18h ago•3 comments

Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo

https://photosynthesis.camera
8•sajomes•18h ago•1 comments

Show HN: Turn tweets into beautiful, shareable photos

https://tweet.download/
3•azeemkafridi•19h ago•0 comments