TypeScript Coffee

TypeScript Coffee

Welcome to TypeScript Coffee

Your source for the latest news in the TypeScript community

News Thumbnail

Reviving a 12K+ Star Abandoned Library: toastr-next v3 🍞

This is a submission for the GitHub Finish-Up-A-Thon Challenge What I... Read More

Author Avatar Divyesh 7 days ago
News Thumbnail

I built a 200 line AI router in TypeScript. My monthly bill dropped 41%.

I track my own AI spend across three projects. In March, the line item that grew fastest was not... Read More

Author Avatar GDS K S a month ago
News Thumbnail

How to Stop AI Slop in Production: A Two-Layer Validator for LLM Output (2026)

A user reached out to us this week. Their generated newsletter contained the word delve. Twice. This... Read More

Author Avatar Dumebi Okolo a month ago
News Thumbnail

Next.js 16 Broke My App in 4 Places and None of Them Threw an Error

The CI was green. Build passed. No TypeScript errors. No warnings. Everything looked clean. I... Read More

Author Avatar Shubhra Pokhariya 6 days ago
News Thumbnail

API Calls Done Right: From Messy Fetch to Clean Data Layer

I've seen this file in almost every frontend project I've ever touched. It's usually called api.js... Read More

Author Avatar Gavin Cettolo 14 days ago
News Thumbnail

Which OpenAPI Codegen Should You Choose? openapi-typescript vs hey-api vs Orval vs Kubb

Hoi hoi! I'm @nyaomaru, a frontend engineer who thought OpenAPI codegen would make API clients... Read More

Author Avatar nyaomaru 13 days ago
News Thumbnail

Why My Analytics Was Logging Every Page Visit Twice (And How I Fixed It)

I built a custom analytics system into my portfolio backend — a Django REST API that records page... Read More

Author Avatar Vicente G. Reyes 2 days ago
News Thumbnail

Why I Didn’t Let AI Handle My Scroll Animation: Astro, React, and TypeScript Architecture

Hoi hoi! I'm @nyaomaru, a frontend engineer who once panicked because I triggered a fire alarm while... Read More

Author Avatar nyaomaru a month ago
News Thumbnail

I Built a Desktop App That Ends My “Open 7 Terminals and Pray” Routine

Every developer has that one painfully stupid ritual. Mine was opening multiple terminal tabs every... Read More

Author Avatar TROJAN 17 days ago
News Thumbnail

Kimi K2.6 vs. Claude Opus 4.7 in a Weird Game Coding Test âś…

Kimi K2.6 has been getting a lot of love lately, especially from devs who want a strong coding model... Read More

Author Avatar Shrijal Acharya a month ago
News Thumbnail

How I Built a Whiteboard App with 3 Dependencies

The Problem Every whiteboard app I tried wanted me to sign up, sync to the cloud, or load... Read More

Author Avatar maomaoguai a month ago
News Thumbnail

7 Next.js 16 Caching Bugs That Compile Fine and Break Silently in Production

I lost hours debugging a Next.js 16 caching issue that had no error, no warning, and only showed up... Read More

Author Avatar Shubhra Pokhariya 12 days ago
News Thumbnail

Build your first MCP server in TypeScript: the 2026 setup that takes 30 minutes.

Build your first MCP server in TypeScript: the 2026 setup that takes 30 minutes. I had... Read More

Author Avatar GDS K S 7 days ago
News Thumbnail

Building MCP Servers in TypeScript That Don't Fall Apart

A post by Mudassir Khan Read More

Author Avatar Mudassir Khan 9 days ago
News Thumbnail

We Are Leaving Bun… For Now

For the past two years, Bun has been one of the most exciting technologies in our stack. Fast... Read More

Author Avatar Jhon Caldeira 15 days ago
News Thumbnail

I was sick of InversifyJS after 3 years in production, so I built a better DI container

Three years. That's how long we ran InversifyJS in production at a medium-sized Typescript SaaS. It... Read More

Author Avatar Ayoub Chrigui 22 days ago
News Thumbnail

Stop building AI inboxes. Build decision layers instead.

I spent six months building an AI-powered email tool. Then I deleted half of it. Not because the... Read More

Author Avatar yongrean 8 days ago
News Thumbnail

I built a 20 kB React hook that doesn't care which AI you use — here's how streaming actually works

`--- Most React AI chat libraries are secretly backend libraries. They stream directly from... Read More

Author Avatar devleo 24 days ago
News Thumbnail

Guardrails reales para agentes autónomos después de que uno casi me destruye la infra

Después de que un agente autónomo casi me borra la base de datos de producción, implementé una capa de guardrails real. Acá están los controles, el código y los logs que me salvaron el cuero. Read More

Author Avatar Juan Torchia a month ago
News Thumbnail

Mathematically Prohibiting 'Cheating' in On-Chain RPS: A Midnight ZK dApp Case Study

Introduction Implementing Rock-Paper-Scissors (RPS) on-chain is surprisingly tricky. The... Read More

Author Avatar Haruki Kondo a month ago
News Thumbnail

Clipboard API falla en TypeScript: los 4 casos que nadie documenta y cómo los encontré en mi código

navigator.clipboard.writeText parece trivial hasta que tu app falla en producción sin error visible. Encontré 4 casos que los docs no mencionan: contexto inseguro, foco perdido, permisos revocados en iOS y el timing de React. Acá están los patrones reales con código copiable. Read More

Author Avatar Juan Torchia 25 days ago
News Thumbnail

I Built an AI Issue Triage Bot in 500 Lines of TypeScript — Here's How

Every open-source maintainer knows the feeling. You wake up, check your repo, and there are 12 new... Read More

Author Avatar Alex YAN 5 days ago
News Thumbnail

Prisma vs JDBC: the benchmark that almost made me blame the wrong ORM

I built a reproducible lab to compare Prisma 5 against Spring Boot JdbcTemplate on the same PostgreSQL 16. What I found wasn't a winner: it was that query shape and N+1 explain almost everything, and blaming the ORM is too easy. Read More

Author Avatar Juan Torchia 18 days ago
News Thumbnail

DeepClaude: I Combined Claude Code with DeepSeek V4 Pro in My Agent Loop and the Numbers Threw Me Off

I took the DeepClaude repo (467 points on HN) and dropped it into my real production loop. The combination isn't simply "better than either alone" — there's a specific task regime where DeepSeek V4 Pro destroys and Claude fails, and vice versa. Here are my actual numbers. Read More

Author Avatar Juan Torchia a month ago