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.

Chenxiaolong/BasicSync: A simple app for running Syncthing on Android

https://github.com/chenxiaolong/BasicSync
1•aiNohY6g•2m ago•0 comments

Show HN: Framewrite – Turn any video into a document you'll use

https://framewrite.cc/
1•thepace•2m ago•0 comments

Obscura: Headless browser engine. For web scraping and AI agent automation

https://github.com/h4ckf0r0day/obscura
1•thunderbong•3m ago•0 comments

Non Vim TUI for K8s that you don't hate

https://github.com/olafurbergs/krowser
1•obergs•6m ago•0 comments

I fought the slop and I won (unslopping LLM output)

https://castform.com/blog/unslop/
1•BoredomIsFun•10m ago•0 comments

Trumpists' assault on science isn't just harming America – it's harming them

https://www.theguardian.com/commentisfree/2026/aug/07/trump-scientific-research-universities
4•devonnull•10m ago•0 comments

CSS: The bomb inside your inbox

https://portswigger.net/research/css-the-bomb-inside-your-inbox
1•OuterVale•11m ago•0 comments

Homade OS Also PLS Comment

1•TACOCODER•12m ago•1 comments

I watched 13 legal pages for two weeks, three of them changed

https://www.indiehackers.com/post/i-watched-13-legal-pages-for-two-weeks-three-of-them-changed-1d...
1•antoniustyo•15m ago•0 comments

Privacy experts warn of gaps in NZ law, as camera glasses hit Kmart shelves

https://www.rnz.co.nz/news/science-and-technology/933579/privacy-experts-warn-of-gaps-in-nz-law-a...
3•billybuckwheat•16m ago•0 comments

The Nature of Technology

https://sites.santafe.edu/~wbarthur/thenatureoftechnology.htm
4•teleforce•17m ago•0 comments

Show HN: I Built a Carbles Game

https://carbles.app/
1•bmcd•19m ago•0 comments

Trump administration has spent nearly $4B to cancel offshore wind farms

https://techcrunch.com/2026/08/07/trump-administration-has-spent-nearly-4b-to-cancel-offshore-win...
4•higginsniggins•20m ago•1 comments

Show HN: Zero-token memory retrieval for Pi

https://github.com/skorotkiewicz/zero-mem
1•modinfo•20m ago•0 comments

(Warren) Buffett indicator – a measure of valuations

https://en.wikipedia.org/wiki/Buffett_indicator
1•gurjeet•21m ago•0 comments

Simon Claims Polynomial-Time Quantum Algorithm for Lattice Problems

https://postquantum.com/security-pqc/simon-quantum-algorithm-lattice-pqc/
1•cevi•23m ago•0 comments

Timeline of the OpenAI accidental attack against Hugging Face

https://simonwillison.net/2026/Aug/7/openai-timeline/
1•bonsai_spool•24m ago•0 comments

Debugging Information for Inlined Functions

https://lwn.net/Articles/1083985/
1•pykello•24m ago•0 comments

Troxler's Fading

https://en.wikipedia.org/wiki/Troxler%27s_fading
2•thunderbong•30m ago•0 comments

Tearable UI

https://pushmatrix.github.io/tearable/
1•yen223•30m ago•0 comments

Towards a Risk Assessment of Malicious Skill Files in Coding Agents

https://arxiv.org/abs/2608.05223
1•sbulaev•30m ago•0 comments

I got a browser running inside the terminal and let Claude Code control it

https://www.reddit.com/r/vibecoding/comments/1vifa9f/i_got_a_browser_running_inside_the_terminal_...
1•syumei•31m ago•0 comments

A browser golf career SIM with no back end, just LocalStorage

https://www.rainydaygc.com/
1•mdstrobe•33m ago•0 comments

I'm Pulling ColorCopy from the macOS App Store

https://www.abeautifulsite.net/posts/im-pulling-colorcopy-from-the-macos-app-store/
5•claviska•35m ago•1 comments

AI struggles to patch vulns without adult supervision

https://www.theregister.com/ai-and-ml/2026/08/06/ai-struggles-to-patch-vulns-without-adult-superv...
3•Bender•43m ago•0 comments

'Humans will be a rounding error on the internet' says Cloudflare exec

https://www.theregister.com/networks/2026/08/07/humans-will-be-a-rounding-error-on-the-internet-s...
4•Bender•45m ago•0 comments

The Bit Player: My Father with Steve Zissou

https://www.theparisreview.org/blog/2026/07/27/the-bit-player-my-father-with-steve-zissou/
2•Thevet•46m ago•0 comments

Creative Slack

https://herbertlui.net/creative-slack/
2•herbertl•46m ago•0 comments

Skip the Punishment

https://nik.art/skip-the-punishment/
2•herbertl•47m ago•0 comments

NASA to keep its 48-year-old Voyager 2 probe running for yet another year

https://www.space.com/space-exploration/voyager/nasa-figured-out-how-to-keep-its-48-year-old-voya...
16•wglb•48m ago•0 comments