Zero-codegen, no-compile TypeScript type inference from Protobufs
🛫 Zero-codegen, no-compile TypeScript `type` inference from protobuf `message`s - nathanhleung/protobuf-ts-types
Zero-codegen, no-compile TypeScript type inference from Protobufs launched on April 14, 2025 with 138 votes, #310 of 7,818 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 1 year on.
In plain words
Zero-codegen is a TypeScript tool that infers types directly from Protocol Buffer definitions without requiring code generation or compilation steps. It enables developers working with Protobufs to use full type safety in TypeScript projects while skipping traditional build processes. The tool is designed for teams looking to streamline their development workflow and reduce the overhead of maintaining generated code alongside their type definitions.
written from the facts on this page · September 2026
From the sources
Zero-codegen, no-compile TypeScript type inference from protobuf message s. protobuf-ts-types lets you define language-agnostic message types in proto format, then infers TypeScript types from them with no additional codegen. Try on github.dev | View on CodeSandbox | Discuss on Hacker News Proof of concept, not production ready. See Limitations below for more details. In short, aggressive use of TypeScript's template literal types . Annotated example from the source: // Pass the proto string you want to infer `message` names from as a generic parameter type MessageNames < Proto extends string > = // Infer `message` parts using template literal type WrapWithNewlines < Proto > extends `${…from github.com
Does a similar job
all alternatives →
- TBts-blank-space – fast TypeScript type-stripper2024 · bloomberg.github.io · ▲22
We've built a new type-stripping compiler for TypeScript source: `ts-blank-space` It's: * 5.6x faster than `tsc` due to zero-codegen * Written in TypeScript * Uses the official TypeScript parser * Accurate/preserved source locations * In used in production It uses the same novel approach that inspired Node 22.6.0's `--experimental-strip-types` functionality, released last month
TypeScript to GraphQL conversion tool with type inference2018 · github.com · ▲90Build Typed GraphQL Queries in TypeScript without the code generation - acro5piano/typed-graphqlify
An opinionated and statically-typed TypeScript SDK generator2022 · easysdk.xyz · ▲81Hi Hacker News! My name is Sagar, I’m working on a startup called Speakeasy - we’re making all APIs self-service. The platform is currently in beta, but we’re independently launching this tool which you can use to generate language-idiomatic, statically-typed TS SDKs from any public OpenAPI schemas. We hope to continue iterating on this to give devs a way to easily generate high fidelity client SDKs for all the major languages. Inspiration for this product is from past experiences struggling with OpenAPI. I was originally optimistic about using the OpenAPI tools to build out our offering,…
- ANA no-build fullstack SSR TypeScript web framework2025 · jsr.io · ▲75
Hi HN! I'd love to seek your insights on a fullstack web framework that employs a different approach: no build. It's not a new concept. The folks as Preact mentioned it: https://preactjs.com/guide/v10/no-build-workflows/ However, in the Web Framework market, I've yet to find many that support both "no build" and "SSR". There's always some sorts of "client mount" and "server mount" and either has (or both have) to go through a build (bundling) process. With the build process, there comes additional maintenance efforts and cognitive load. I've enjoyed wrestling…
Just – Zero Config TypeScript Development Tool2022 · github.com · ▲27I built a cli tool that gets you started with TypeScript development with zero config. Initially created to solve my own problem but thought it might be useful for others as well. - SWC compiler - TypeScript type check support - Live reload support - .env file support - Path alias support - Typescript script runner - REPL support Please tell me I am not going down a rabbit hole.
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 22h ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, April 2025
the whole month →
Hi everyone, I built PyXL — a hardware processor that executes a custom assembly generated from Python programs, without using a traditional interpreter or virtual machine. It compiles Python -> CPython Bytecode -> Instruction set designed for direct hardware execution. I’m sharing an early benchmark: a GPIO test where PyXL achieves a 480ns round-trip toggle — compared to 14-25 micro seconds on a MicroPython Pyboard - even though PyXL runs at a lower clock (100MHz vs. 168MHz). The design is stack-based, fully pipelined, and preserves Python's dynamic typing without static type restrictions.…
Dev tools · 2025 · runpyxl.com

The Unsure Calculator is an online tool that lets you calculate with numbers you’re not sure about.
Life & fun · 2025 · filiph.github.io

https://the-pocket.github.io/Tutorial-Codebase-Knowledge/
AI · 2025 · github.com


