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.

Django Bolt – Rust-powered API framework for Django achieving 60k+ RPS

https://github.com/dj-bolt/django-bolt
1•giancarlostoro•25s ago•0 comments

Firing one of America's most powerful lasers – here's what a shot day looks like

https://theconversation.com/ive-fired-one-of-americas-most-powerful-lasers-heres-what-a-shot-day-...
1•dylan604•34s ago•0 comments

Understand neuroplasticity and your life will never be the same again

https://timdenning.substack.com/p/once-you-understand-neuroplasticity
2•wmat•2m ago•0 comments

Olivia – a lingerie shop built around cup size filtering

https://www.olivia.tw
1•ctsking•3m ago•0 comments

Show HN: GitShrink – A simple in-browser video compressor for GitHub uploads

1•igtumt•5m ago•1 comments

Could AI's leading men become as powerful as Ford or Rockefeller?

https://www.economist.com/business/2026/04/16/could-ais-leading-men-become-as-powerful-as-ford-or...
2•thm•6m ago•1 comments

Show HN: An AI memory that follows you

https://tiago.sh/blog/a-memory-that-follows-me.html
2•tiagodeoliveira•6m ago•1 comments

Compare country sizes on the Lunar surface

https://whatsizeisit.com/
1•nixass•8m ago•2 comments

Show HN: Interactive demos of sorting algorithms with runtime comparisons

https://easylang.online/sorting
1•chrka•8m ago•0 comments

Middle schooler finds coin from Troy in Berlin

https://www.thehistoryblog.com/archives/75848
1•speckx•8m ago•0 comments

Nintendo Switch spotted running Steam Linux ARM64 as Proton 11.0 ARM64 surfaces

https://videocardz.com/newz/nintendo-switch-spotted-running-steam-linux-arm64-beta-as-proton-11-0...
2•LorenDB•9m ago•0 comments

Visual Studio Code Agents App

https://code.visualstudio.com/updates/v1_115#_visual-studio-code-agents-preview
1•hmokiguess•9m ago•0 comments

Swedish Construction FAQ: 503 bilingual Q&A dataset, CC BY 4.0

https://github.com/zaragoza-ab/swedish-construction-faq-1000
1•DecDEPO•10m ago•0 comments

Show HN: Prism, one inbox for GitHub and GitLab PRs

https://prismstudio.dev/
1•ahuth•11m ago•0 comments

GitHub's Fake Star Economy

https://awesomeagents.ai/news/github-fake-stars-investigation/
1•Topfi•11m ago•0 comments

What 1996 Taught Me About 2026 – and Why the People Who Wrote the Rules Are Back

https://agenticatlarge.substack.com/p/virtual-insanity-then-and-now-what
1•mooreds•12m ago•0 comments

Security and Freedom Enhancement Act of 2026

https://www.lee.senate.gov/services/files/C23C9BE8-8808-4BD9-9165-63B35685238E
1•vharuck•12m ago•1 comments

Brussels launched an age checking app. It took 2 minutes to hack it

https://www.politico.eu/article/eu-brussels-launched-age-checking-app-hackers-say-took-them-2-min...
1•elorant•12m ago•0 comments

Iceye Open Data

https://www.iceye.com/open-data-initiative
2•marklit•13m ago•0 comments

Know Your Harness

https://bythyag.bearblog.dev/know-your-harness/
1•speckx•13m ago•0 comments

The Secret Life of Circuits

https://lcamtuf.substack.com/p/the-secret-life-of-circuits
1•Brajeshwar•13m ago•0 comments

Through the Blind Hole (2022)

https://apocalypse-confidential.com/2022/07/30/through-the-blind-hole/
1•surprisetalk•13m ago•0 comments

Open Funk Re:Mix: The Open-Source Blender Big Brands Don't Want [video]

https://www.youtube.com/watch?v=wgcqzUazXdw
1•surprisetalk•13m ago•0 comments

How Culture Is Made

https://www.metalabel.com/editorial/how-culture-is-made?srsltid=AfmBOooKHs0sNpLc7CB7HD6jkUODJCBB1...
1•surprisetalk•13m ago•0 comments

Hong Kong Disneyland Speedrun Guide

https://geohot.github.io//blog/jekyll/update/2026/04/09/hk-disneyland.html
1•surprisetalk•13m ago•0 comments

Show HN: Egregore – Shared memory and coordination for multiplayer Claude Code

https://github.com/egregore-labs/egregore
2•ohmyai•14m ago•0 comments

Hex Index: The best place to read on the Internet

https://hex-index.com/weekly/index.html
2•bmedwar•14m ago•1 comments

TokenLight: Precise Lighting Control in Images Using Attribute Tokens

https://vrroom.github.io/tokenlight/
1•matroid•14m ago•1 comments

Show HN: recroomgrads.com – Celebrating Rec Room's Talented Team

https://www.recroomgrads.com
1•tyleo•15m ago•0 comments

Byte Magazine Volume 11 Number 05: Mass Storage

https://archive.org/details/byte-magazine-1986-05
1•fragmede•15m ago•0 comments