frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Guts – convert Golang types to TypeScript

https://github.com/coder/guts
29•emyrk•1h ago

Comments

cube2222•46m ago
We've been using guts basically since it was published on GitHub (almost a year now), and it's so nice! We have a "custom POST-based JSON-rpc"-style api, so we have request and response bodies defined as Go types, and are generating the whole TS schema from it.

It basically lets you generate typescript types from your Go types. However, it's very customizable - you can post-process the AST. In our case, we have a custom generic Go type that indicates an optional (not nullable) field, and we can easily translate it to optional TS types (e.g. for sparse updates).

All in all, great tool/library, thanks for building it!

Disclaimer: I know a developer at Coder (not the author), who also recommended me guts back then, but am unaffiliated other than that.

flashgordon•41m ago
I really like the idea of it. My dream has always been to work with "types" first and foremost across any and all languages (yep it is a dream). And little tools like these are really nice to see push that boundary.

One feedback - if you are truly comparing with "other" tools - you should be looking at grpc and protoc plugins. I have used to great effect for things like:

1. Generating wasm bindings for grpc services

2. Generating "data access layer" types so you can choose how a api proto is transformed to a data domain type and vice versa

3. MCP bindings for APIs

4. GraphQL/BFF bindings with multiple services

5. All of the above "across" langauges.

The tooling is fantastic and extensible - if you are ok to start with a proto view of your world - it sounds wierd and like an N+1 problem but once you are used to it it is surprisingly fun (ok we may have different ideas of fun)

chrisweekly•25m ago
Type-first is cool. But I think I'll always aim to avoid gRPC, at least in part because grpc-web was so completely broken. I also have an instinctive aversion to binary formats. YMMV, just my PoV.
jsunderland323•8m ago
I’ve had a lot of success with grpc web. Had to patch a couple of things along the way. My biggest misgiving is thinking having bigints would be a good idea (it is not a good idea). Aside from that though, I’ve been happy with it. What felt broken to you?
zikani_03•32m ago
Nice, this looks interesting.

Somewhat related is a project we worked on within Golang community in Malawi: https://github.com/golang-malawi/geneveev

It supports converting types to Zod schemas and Dart classes. Never got around to TypeScript and would be cool to see if we could add support for guts

Military Veterans Who Refused Covid Vaccine Now Eligible for GI Bill Benefits

https://www.military.com/daily-news/2025/11/17/military-veterans-who-refused-covid-vaccine-now-el...
1•Bender•32s ago•0 comments

Call Center BTN layanan Live chat WhatsApp

1•kshitizsaini113•1m ago•0 comments

AI Bubble and Growth Fears Are Creeping into US Credit Markets

https://www.bloomberg.com/news/articles/2025-11-18/ai-bubble-and-growth-fears-are-creeping-into-u...
1•zerosizedweasle•2m ago•0 comments

Cara Buka Blokir Bale BTN Bebas Biaya

1•kshitizsaini113•3m ago•0 comments

Cloud-native computing is poised to explode, thanks to AI inference work

https://www.zdnet.com/article/cloud-native-computing-is-poised-to-explode-thanks-to-ai-inference-...
1•CrankyBear•5m ago•0 comments

Elliptic Curve Pairings in Cryptographъ

https://www.johndcook.com/blog/2025/11/16/elliptic-curve-pairings/
1•ibobev•6m ago•0 comments

Books That Travelled

https://www.zylstra.org/blog/2025/11/books-that-travelled/
1•speckx•7m ago•0 comments

Show HN: Rapid-rs – Zero-config web framework for Rust

https://github.com/ashishjsharda/rapid-rs
1•ashish_sharda•7m ago•0 comments

Trying out Gemini 3 Pro with audio transcription and a new pelican benchmark

https://simonwillison.net/2025/Nov/18/gemini-3/
1•nabla9•8m ago•0 comments

A misplaced wire label caused a power outage on a container ship, the NTSB finds

https://www.cnn.com/2025/11/18/us/ntsb-dali-bridge-collapse
1•mschuster91•9m ago•0 comments

Show HN: One-Click Minecraft/Rust/Factorio Servers on Railway

https://github.com/charlesvien/game-nite
4•charlesvien•11m ago•0 comments

Show HN: We built a generator for Vue+Laravel that gives you a clean codebase

https://codecannon.dev/
3•codecannon•16m ago•2 comments

Quantifying Fossil Fuel CO2 Enhancements with Radiocarbon Analysis of Turfgrass

https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2025JD043336
1•PaulHoule•17m ago•0 comments

I analyzed 1000 forward deployed engineering jobs – here's what I learned

https://bloomberry.com/blog/i-analyzed-1000-forward-deployed-engineer-jobs-what-i-learned/
2•AznHisoka•18m ago•1 comments

Routing an 8,192-net, 32-layer KiCad PCB with a GPU autorouter

https://bbenchoff.github.io/pages/OrthoRoute.html
3•wanderingjew•19m ago•0 comments

Show HN: Rhesis – Open-source platform for collaborative LLM application testing

https://github.com/rhesis-ai/rhesis
1•nicolaib•20m ago•0 comments

SpiNNcloud's AI chips are more than just efficient

https://www.igorslab.de/en/neuromorphic-offensive-from-dresden-why-spinnclouds-ki-chips-are-more-...
1•t43562•20m ago•1 comments

Gemini 3 Developer Guide

https://ai.google.dev/gemini-api/docs/gemini-3
2•Anon84•20m ago•1 comments

I studied buying intent on Reddit and built a system that generated 500 leads

https://leado.co/blog/reddit-marketing-playbook-500-leads
1•shdalex•20m ago•2 comments

Show HN: RowboatX – open-source Claude Code for everyday automations

https://github.com/rowboatlabs/rowboat
8•segmenta•24m ago•0 comments

Genetic Evolution of the Human Race and Consequences for Industrial Revolution

https://davidepiffer.com/p/the-genetic-evolution-of-the-human
1•paulpauper•25m ago•0 comments

What Trump Should Do for Fertility

https://www.nytimes.com/2025/11/17/opinion/ivf-cost-fertility-trump.html
1•paulpauper•26m ago•0 comments

Only Broken Vessels Prove the Clay

https://secondvoice.substack.com/p/only-broken-vessels-prove-the-clay
1•paulpauper•26m ago•0 comments

Hyperoptic: IPv6 and Out-of-Order Packets

https://blog.zakkemble.net/hyperoptic-ipv6-and-out-of-order-packets/
1•speckx•26m ago•0 comments

Three-party Diffie-Hellman in one shot

https://www.johndcook.com/blog/2025/11/17/three-party-diffie-hellman/
2•ibobev•26m ago•0 comments

RSA as a special case of pairing-baed cryptography

https://www.johndcook.com/blog/2025/11/18/rsa-as-a-pairing/
2•ibobev•26m ago•0 comments

AI for Thought

https://docs.google.com/document/d/1X6V_PuXr05bkB29N8FM9P8T6Jhz-xZ5NKhE8qAoJ4Nc/edit?usp=sharing
1•heyfoo•27m ago•0 comments

When the Debt Market Starts Whispering About AI, Who's Listening?

https://comuniq.xyz/post?t=535
1•01-_-•27m ago•0 comments

The Genius of Gaudí: Geometry and Architecture

https://www.tandfonline.com/doi/full/10.1080/00029890.2025.2572926
2•aanet•29m ago•0 comments

RealWorldProgrammer- the Hidden Engineering Behind Scalable Blockchain Workflows

https://realworldprogrammer.com/2025/11/18/overloading-the-node-the-hidden-engineering-behind-sca...
1•rwpdotcom•29m ago•0 comments