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.

Show HN: OpenSpend – Invoicing for creators, popup shops and small businesses

https://openspend.riamu.io/
1•openspend•3s ago•0 comments

I built an offline tool to stabilize TV audio because nothing else worked

https://github.com/AdBusterOfficial/Adbuster--WinApp
1•Bo_Amigo_910•34s ago•0 comments

AirPods/AirPods Pro – One Hack to Identify Them All

https://bookofjoe2.blogspot.com/2026/06/yoyo.html
1•bookofjoe•1m ago•0 comments

Microsoft will end Office 2021 support in October

https://www.windowslatest.com/2026/06/20/microsoft-is-killing-office-2021-in-october-to-push-you-...
2•logickkk1•2m ago•0 comments

Show HN: Supaqueue – Node.js background job queue (no Redis needed)

https://github.com/emirce/supaqueue
1•emirce•4m ago•0 comments

Attackers hijacked over 1,500 Arch Linux packages

https://thenextweb.com/news/arch-linux-aur-malware-credential-stealer-supply-chain
2•andmarios•5m ago•0 comments

Show HN: Phone Number for AI Agents Like Hermes and OpenClaw

https://agentline.cloud
2•sameersri2004•9m ago•0 comments

Show HN: A decompilation-based native PC runtime for GoldenEye 007

https://github.com/akratch/mgb64
1•akratch•10m ago•0 comments

GWT 2.13.1

https://github.com/gwtproject/gwt/releases/tag/2.13.1
2•theanonymousone•11m ago•0 comments

The Magic of Changing Units

https://twitter.com/15424578268/status/2068318342327472520
1•MrBuddyCasino•11m ago•0 comments

Pulse, lightweight Linux monitoring dashboard written in C

https://github.com/cherries-works/pulse
1•xerrs•13m ago•0 comments

Unauthorized alert sent to cell phones across Brazil

https://www.cnn.com/2026/06/20/americas/brazil-hackers-unauthorized-alert-latam
1•zdw•14m ago•0 comments

Windows UI evolution: Clicking an unassociated file

https://movq.de/blog/postings/2026-06-20/0/POSTING-en.html
2•zdw•20m ago•0 comments

Why do people suddenly see so many competitors once they start marketing?

4•xnslx•20m ago•0 comments

Crit – AI Design Reviews in the Terminal

https://crit.officialjp.com/
2•jprim•20m ago•0 comments

Show HN: MiniPCs.zip (charting the pareto frontier of MiniPCs)

https://minipcs.zip
2•yathern•23m ago•0 comments

When AI Files Your Taxes: Who Pays When It Fails

https://smarterarticles.co.uk/when-ai-files-your-taxes-who-pays-when-it-fails
4•dxs•36m ago•0 comments

The best stack for the AI Era

https://www.porchlab.com/blog/best-ai-stack-elixir-phoenix/
2•wallflow3r•40m ago•0 comments

Plants keep tabs on the competition, and adapt growth patterns

https://www.economist.com/science-and-technology/2026/06/18/how-plants-keep-tabs-on-the-competition
3•marojejian•44m ago•1 comments

Show HN: Persona.js – a vanilla-JS agent UI library with native WebMCP (MIT)

https://www.persona-chat.dev/
6•becomevocal•46m ago•7 comments

Show HN: An experiment in human and AI social networking

https://www.sentibook.com/
2•sentibook•49m ago•0 comments

HSIP–local identity server in Rust with Ed25519 signing and AI agent governance

https://github.com/rewired89/HSIP-1PHASE
3•Rewired89•51m ago•0 comments

No-Code Automated Quant Trading

https://runhalcyon.com/
19•Entropnt•52m ago•2 comments

The notational conventions I adopted, and why (EWD 1300)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD13xx/EWD1300.html
2•tosh•53m ago•0 comments

Why an AI-saturated internet gave me a reason to write

https://halit.alptekin.im/posts/still-human-here/
5•nofool•55m ago•0 comments

Read Zero Knowledge As I Write It (crypto thriller)

https://feld.com/archives/2026/06/read-zero-knowledge-as-i-write-it/
2•rmason•56m ago•0 comments

AMD will reinstate memory encryption on Ryzen 9000 CPUs via BIOS update in July

https://www.tomshardware.com/pc-components/cpus/amd-will-reinstate-memory-encryption-on-ryzen-900...
18•roboror•1h ago•1 comments

Show HN: My Windows XP portfolio with working Game Boy and iPod

https://mitchivin.com/
18•mitchivin•1h ago•8 comments

GitHub DMCA Repository

https://github.com/github/dmca/blob/master/2026/06/2026-06-04-tesla.md
4•5701652400•1h ago•1 comments

Show HN: Tin Validate, a tax ID validator that explains why checks pass or fail

https://tin-validate.com/
4•bapito•1h ago•0 comments