frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Tewart Brand on LSD, A.I. Black Boxes and the Beauty of Care [video]

https://www.youtube.com/watch?v=t8u24wvHeSE
1•born-jre•3m ago•0 comments

Code review advice for vibe coders

https://xata.io/blog/code-review-for-vibe-coders
1•tee-es-gee•6m ago•0 comments

Show HN: A CLI to use any model in your coding agent

https://getaivo.dev/
1•spirit23•11m ago•0 comments

What is Nostr? A simple guide to the protocol

https://usenostr.org/
1•vlugorilla•13m ago•0 comments

The Tiny Donut That Proved We Still Don't Understand Magnetism [video]

https://www.youtube.com/watch?v=XKSjCOKDtpk
1•mpweiher•15m ago•0 comments

List of personal sites that host Wander console, a tool to explore the small web

https://susam.codeberg.page/wander/wcn.html
1•susam•16m ago•0 comments

Naming Things Is Easy Now

https://notesbylex.com/naming-things-is-easy-now
2•lexandstuff•19m ago•0 comments

I left Vercel Pro ($20/mo) for a $10/mo VPS. 7-day Next.js migration report

https://gist.github.com/Samarth0211/b728534af45242b61b45a87a4ecdf155
1•samarth0211•25m ago•1 comments

Global Energy Flows

https://ig.ft.com/global-energy-flows/
1•saswatms•25m ago•0 comments

Mystery Cpuid Bit

http://www.os2museum.com/wp/mystery-cpuid-bit/
1•userbinator•28m ago•0 comments

Do you ever ask "Please Claude I need this my account is kinda tokenless "

https://engram-three.vercel.app/
1•-Refraction-•32m ago•1 comments

Ask HN: What should a Microblogging Site look like?

1•PiSquareS•39m ago•1 comments

ChatGPT Recommends the Same 3 Companies to Every B2B Buyer. Until They Specify

https://growtika.com/blog/chatgpt-b2b-persona-recommendations
2•Growtika•40m ago•1 comments

Ubuntu 26.04 LTS (Resolute Raccoon)

https://releases.ubuntu.com/resolute/
1•kwar13•41m ago•1 comments

Show HN: Aliasme – A shell script to memorize your commands

https://github.com/Jintin/aliasme
1•Jintin•45m ago•1 comments

PasswordStore + GnuPG + TouchID

https://gurjeet.singh.im/blog/passwordstore+gnupg+touchid
2•gurjeet•46m ago•0 comments

SoftHSM

https://github.com/softhsm
1•gurjeet•50m ago•0 comments

Show HN: Aromatic – store-and-forward telemetry for unattended devices over Tor

https://github.com/DO-SAY-GO/aromatic
1•keepamovin•57m ago•0 comments

New 10 GbE USB adapters are cooler, smaller, cheaper

https://www.jeffgeerling.com/blog/2026/new-10-gbe-usb-adapters-cooler-smaller-cheaper/
8•calcifer•59m ago•1 comments

Google Patches WithPersona PII Leak, Then Claims It Was 'Not Reproducible'

1•bbounty_robbed•1h ago•0 comments

An Update on Rust-Coreutils

https://discourse.ubuntu.com/t/an-update-on-rust-coreutils/80773
1•rixed•1h ago•2 comments

UWaterloo CS Webring

https://cs.uwatering.com/
1•jusgu•1h ago•0 comments

Sensor tampering to win weather bets

https://www.theguardian.com/world/2026/apr/23/hairdryer-or-lighter-french-police-look-at-claim-of...
1•atmosx•1h ago•0 comments

Annotated source code for the Elite Demonstration Disc

https://elite.bbcelite.com/demo/
2•y1n0•1h ago•0 comments

AMD Ryzen AI Max+ AI PCs Deliver Exceptional Intelligence Right on Your Desk

https://www.amd.com/en/blogs/2026/amd-ryzen-ai-max-ai-pcs-deliver-exceptional-intelligence.html
1•teleforce•1h ago•0 comments

GPT-5.5 Prompting Guide

https://simonwillison.net/2026/Apr/25/gpt-5-5-prompting-guide/
2•y1n0•1h ago•1 comments

Rcarmo/gte-go: Golang inference for the GTE Small embedding model

https://github.com/rcarmo/gte-go
1•rcarmo•1h ago•0 comments

How to Install Haiku on a UEFI-Only Modern System

https://hackaday.com/2026/04/24/how-to-install-haiku-on-a-uefi-only-modern-system/
2•y1n0•1h ago•0 comments

Make-Interfaces-Feel-Better

https://twitter.com/jakubkrehel/status/2045895877588361723
1•hnhsh•1h ago•0 comments

In visit to Brown, Jaron Lanier says people are thinking about AI all wrong

https://www.brown.edu/news/2026-04-24/jaron-lanier-cooper-lecture
2•pigeons•1h ago•1 comments