frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•1y ago

Comments

llm-exe•1y ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•1y ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.

You already have a Git server

https://gopeek-lovat.vercel.app/blog-you-already-have-a-git-server.html
2•sheelagay•3m ago•0 comments

Show HN: SaaS Pegasus – the original Django boilerplate, now MIT-licensed

https://github.com/saaspegasus/django-boilerplate
1•czue•8m ago•1 comments

Elon's Net Worth Today

https://whatselonworth.com/
2•Malfunction92•10m ago•1 comments

See How Sam Altman's Personal Investments Benefit from Ties to OpenAI

https://www.wsj.com/tech/ai/see-how-sam-altmans-personal-investments-benefit-from-ties-to-openai-...
1•thm•11m ago•0 comments

Show HN: DomainDash – uptime/SSL/domain checks for client sites

https://domaindash.io
1•edcs•11m ago•0 comments

Ask HN: Does in your workplace employee engagement / recognition is important?

2•mattsadowsky•11m ago•1 comments

Fil-C Linux/x86_64 version 0.680 Latest

https://github.com/pizlonator/fil-c/releases/tag/v0.680
2•sibellavia•13m ago•0 comments

Recursively Diff Packages

https://github.com/anthraxx/diffoscope
1•ankitg12•13m ago•0 comments

OCaml 5.5.0 Released

https://discuss.ocaml.org/t/ocaml-5-5-0-released/18265
2•dtoma•14m ago•0 comments

Run isolated sandboxes with full lifecycle control: AWS introduces MicroVMs

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
1•justincormack•15m ago•0 comments

I built a GPU back end for Emacs

https://en.andros.dev/blog/4b707a03/how-i-built-a-gpu-backend-for-emacs/
1•andros•16m ago•0 comments

Show HN: I built a PC-part picker that handles compatibility and shortages

https://pc-cool.com/
1•mesahm•17m ago•0 comments

Show HN: OpenTerm – A tiny, fast SSH client (no login, no cloud, free)

https://github.com/zhangshuo1991/openterm
1•zhangshuo1991•18m ago•0 comments

Sakana.ai releases a model competiting with Fable

https://sakana.ai/fugu-release/
2•LexSiga•18m ago•0 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
2•exploraz•19m ago•1 comments

AI models capable of devastating attacks on governments and business months away

https://www.theguardian.com/technology/2026/jun/22/anthropic-claude-fable-ai-model-artificial-int...
1•eternalreturn•20m ago•0 comments

Reclassifying ARC as Historic – DKIM2 to solve the problem better

https://datatracker.ietf.org/doc/draft-ietf-dmarc-arc-to-historic/
1•peregrinus_13•20m ago•0 comments

NavigationServer2D in Godot: The Complete Guide

https://vav-labs.com/blog/navigationserver2d-godot-complete-guide/
1•Vav-Labs•20m ago•0 comments

Show HN: VibePantry – Photograph your kitchen, get recipes from what you have

https://vibepantry.com/
2•bigjick•21m ago•0 comments

In-App Avatar Integration

https://www.elias-schoko-shop.de/
1•eschwalme•23m ago•1 comments

standard.site

https://standard.site/
1•soheilpro•23m ago•0 comments

We found a bug in the hyper HTTP library

https://blog.cloudflare.com/hyper-bug/
1•soheilpro•24m ago•0 comments

Democratic Tech Alliance

https://democratic.technology/
2•doener•25m ago•0 comments

Hospitals switched to pen and paper to defeat a national cyber-attack

https://www.bbc.co.uk/news/articles/c4gyk756mzlo
2•mmarian•26m ago•0 comments

Show HN: Founder Pass – 6 indie dev tools lifetime for $14 (first 10 only)

https://xiaohou2503687-design.github.io/shipfast-oss/founder.html
1•shipfastcli•26m ago•1 comments

Metasearch: A self-hosted metasearch engine

https://github.com/tiagozip/metasearch
1•mrunix•30m ago•1 comments

Why AI Problems Are Becoming Philosophical Problems

https://kunyuan.substack.com/p/07concept-entrywhy-ai-problems-are
1•hufdr•31m ago•1 comments

ggsql 0.4.1: new release adds spatial plotting and in-layer aggregation

https://opensource.posit.co/blog/2026-06-23_ggsql_0_4_1/
2•thomasp85•31m ago•0 comments

Feedback on the logo for my programming language, Lopo

https://github.com/dominexmacedon-docs/lopo-docs/blob/main/lopo.png
1•dominex•34m ago•0 comments

Wlog: Claude Code token/cost/tool dashboard, single binary, no Grafana

https://github.com/openwong2kim/wlog
1•wong2kim•35m ago•0 comments