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.

The Accidental Democracy of Flat Organizations

https://respectfulleadership.substack.com/p/the-accidental-democracy-of-flat
1•lkrubner•1m ago•0 comments

Some thoughts on hosting email

https://maurycyz.com/misc/email_thoughts/
1•Curiositry•6m ago•0 comments

Ask HN: Starlink Emails Leaked?

1•simenf•8m ago•0 comments

Show HN: A modern reimagining of the Python progresssss bar

https://github.com/minimaxir/psnek
1•minimaxir•9m ago•0 comments

Gnosh.ai for "Functional AI"; functional context management, no compaction

https://gnosh.ai/head-to-head.html
1•jaekwon•12m ago•1 comments

Synology urges users to update DSM following ransomware attacks

https://www.synology.com/en-global/company/news/article/C3RB3R
2•campuscodi•13m ago•0 comments

Ask HN: Estimate for SWE wages in 10 years?

1•NotAnOtter•14m ago•0 comments

Show HN: Epochnbd – Crash-Consistent Linux NBD Block Device on GCS/Google Drive

https://github.com/c789a123/epochnbd
1•c789a123•17m ago•0 comments

ATmega-compatible 8-bit core in SystemVerilog on Skywater 130nm

https://github.com/wkoszek/akmega
1•barelyusable•23m ago•0 comments

Trinity Desktop R14.1.7 Released

https://wiki.trinitydesktop.org/Release_Notes_For_R14.1.7
1•calvinmorrison•23m ago•0 comments

Can light be used to cyberattack?

1•izbizi•23m ago•2 comments

John Leeson (the voice of K9) has died

https://www.doctorwhonews.net/2026/11/john_leeson_1943_2026.html
3•slyrus•28m ago•1 comments

Friday: Run Claude Code and Codex as a crew on your computer (open source)

https://github.com/splashxmoon/friday
1•arundass•28m ago•0 comments

Show HN:Type It Big – full-screen signs, timer, scoreboard and teleprompter

https://typeitbig.com/
2•fineenoughstudi•29m ago•0 comments

Show HN: Quarter – A TUI launcher to browse, search and launch your games

https://github.com/stronxyo/quarter
2•stronxyo•35m ago•0 comments

Mastodon 5.0: A closer look – Mastodon Blog

https://blog.joinmastodon.org/2026/10/5.0-a-closer-look/
2•rbanffy•36m ago•0 comments

"Theranos 2.0" startup has patents, investors but no product

https://fortune.com/2026/10/25/elizabeth-holmes-partner-billy-evans-haemanthus-blood-testing-star...
3•gosen•36m ago•1 comments

Show HN: AirFlick Drop – AirDrop for Windows with zero mobile app installs

https://github.com/k39139215-gif/airflick-drop
2•Snapmotion3421•38m ago•0 comments

Turn Superlogical's Rex into an AI Harness

https://github.com/alpcanaydin/rexmod/
1•alpcan•38m ago•1 comments

Qt Bridges Technology Preview: Qt Quick UIs for Rust and C# Developers

https://www.qt.io/blog/qt-bridges-technology-preview-rust-csharp
4•leonardsouza•39m ago•0 comments

A Global Anti-Right Backlash

https://www.newyorker.com/news/global-notes/a-global-anti-right-backlash
2•rbanffy•39m ago•0 comments

Copper is an operating system for robots

https://github.com/copper-project/copper-rs
2•ahamez•40m ago•0 comments

People 'Vibe Manufacturing'

https://www.businessinsider.com/vibe-manufacturing-ai-prototypes-cad-coding-2026-11
3•theanonymousone•42m ago•2 comments

Rivian, Ford and GM are using 3D printing to reduce costs

https://www.cnbc.com/2026/10/31/automakers-3d-printing-ford-rivian-gm.html
2•andrewstetsenko•44m ago•0 comments

I indexed 37h of my YouTube library using an RTX 4090 and local ML models in 24h

3•iliashad•46m ago•3 comments

Quill Cowork

https://www.youtube.com/watch?v=M97H4umU3pE
1•Bhavishya2011•47m ago•0 comments

FerroUI a cross-platform UI framework for Rust

https://ferroui.github.io/website/
3•wiso•48m ago•1 comments

The Linux 7.4 Merge Window Is Easily the Largest in Kernel History

https://www.phoronix.com/news/Linux-7.4-Massive-Window
3•acossta•50m ago•0 comments

The Future of the Internet

https://erikjohannes.no/posts/20261023-the-future-of-the-internet/index.html
4•speckx•53m ago•2 comments

Artists hiding painted pebbles around the world

https://www.bbc.com/news/articles/c674pvkkp2eyo
1•1659447091•54m ago•0 comments