frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: TypeKro – TypeScript infra-as-code for Kubernetes built on KRO

https://typekro.run
1•ManWith2Plans•5mo ago
Hi all,

I've been building yet another tool to let people build on Kubernetes and escape the pain of YAML. I've open sourced it under the Apache-2.0 license and would love some feedback.

The tool was inspired by KRO (https://kro.run) (a project recently released by Amazon) and builds on top of it. TypeKro is aimed at providing a declarative type-safe user experience to orchestrating complex kubernetes dependencies with TypeScript, so you get your intelli-sense and all the other benefits of a modern programming language.

It is differentiated in a few ways:

1. TypeKro provides a seamless development experience where you can access status fields that will exist at runtime like as though they're already populated to make the development experience seamless. TypeKro or KRO will be able to handle orchestration seamlessly in the javascript runtime or in the operator in the kubernetes cluster respectively.

As a illustrative example: ```typescript const database = StatefulSet({ ... }); const webapp = Deployment({ name: 'my-app', image: 'my-app:latest', env: { // This looks like a normal property access, but it's // a type-safe reference that resolves after deployment! DATABASE_HOST: database.status.host, }, }); ```

2. TypeKro has 3 deployment modes to give you flexibility including rendering gitops ready yaml, deploying directly to your kubernetes cluster with a topological sorted DAG, and deploying your infrastructure as a KRO resource graph definition.

These three deployment approaches let you develop with a short-feedback loop and give you flexibility in deployment.

3. TypeKro is Kubernetes control-plane aware and will even stream relevant kubernetes events to your terminal while you're deploying resources.

4. TypeKro is smart enough to delay Custom Resource deployments until their CRDs are ready since the Kubernetes API won't accept CRs until their CRDs are ready.

5. TypeKro tries to expose everything with a very simple API integrated with arktype so you can build and consume kubernetesComposition() using tools familiar to typescript developers, and it has built in ability to integrate with your existing tool stack. You can use it to deploy your helm charts or your yaml manifests along with your new resources.

If you're interested, a good place to start is the docs site: https://typekro.run/

You can access the source code here (all stars appreciated): https://github.com/yehudacohen/typekro

And if you want my very long winded thoughts about TypeKro's software architecture and its place in the ecosystem, you can read my very long blog post here. Fair warning it's long: https://yehudacohen.substack.com/p/introducing-typekro

And I created a discord which currently has 0 users. So if you'd like to be first, pop on in!

It's still early days, so while I hope this provides a good experience I'm sure there are still bugs that aren't captured by my test suite. I've also only tested it against my local kind cluster so far.

I'd love to improve this and make it the easiest way to deploy to kubernetes. There are many things I'd love to do with TypeKro, including integrating resources from Crossplane and cloud controllers and other 3rd party resources with their intricate composition dependencies. I'd also love to try it out with and extend it to support multi-cluster deployments where resources span infrastructure boundaries.

All contributions are most welcome!

Was going to share my work

1•hiddenarchitect•1m ago•0 comments

Pitchfork: A devilishly good process manager for developers

https://pitchfork.jdx.dev/
1•ahamez•1m ago•0 comments

You Are Here

https://brooker.co.za/blog/2026/02/07/you-are-here.html
1•mltvc•5m ago•0 comments

Why social apps need to become proactive, not reactive

https://www.heyflare.app/blog/from-reactive-to-proactive-how-ai-agents-will-reshape-social-apps
1•JoanMDuarte•6m ago•1 comments

How patient are AI scrapers, anyway? – Random Thoughts

https://lars.ingebrigtsen.no/2026/02/07/how-patient-are-ai-scrapers-anyway/
1•samtrack2019•6m ago•0 comments

Vouch: A contributor trust management system

https://github.com/mitchellh/vouch
1•SchwKatze•6m ago•0 comments

I built a terminal monitoring app and custom firmware for a clock with Claude

https://duggan.ie/posts/i-built-a-terminal-monitoring-app-and-custom-firmware-for-a-desktop-clock...
1•duggan•7m ago•0 comments

Tiny C Compiler

https://bellard.org/tcc/
1•guerrilla•9m ago•0 comments

Y Combinator Founder Organizes 'March for Billionaires'

https://mlq.ai/news/ai-startup-founder-organizes-march-for-billionaires-protest-against-californi...
1•hidden80•9m ago•1 comments

Ask HN: Need feedback on the idea I'm working on

1•Yogender78•10m ago•0 comments

OpenClaw Addresses Security Risks

https://thebiggish.com/news/openclaw-s-security-flaws-expose-enterprise-risk-22-of-deployments-un...
1•vedantnair•10m ago•0 comments

Apple finalizes Gemini / Siri deal

https://www.engadget.com/ai/apple-reportedly-plans-to-reveal-its-gemini-powered-siri-in-february-...
1•vedantnair•11m ago•0 comments

Italy Railways Sabotaged

https://www.bbc.co.uk/news/articles/czr4rx04xjpo
3•vedantnair•11m ago•0 comments

Emacs-tramp-RPC: high-performance TRAMP back end using MsgPack-RPC

https://github.com/ArthurHeymans/emacs-tramp-rpc
1•fanf2•13m ago•0 comments

Nintendo Wii Themed Portfolio

https://akiraux.vercel.app/
1•s4074433•17m ago•1 comments

"There must be something like the opposite of suicide "

https://post.substack.com/p/there-must-be-something-like-the
1•rbanffy•19m ago•0 comments

Ask HN: Why doesn't Netflix add a “Theater Mode” that recreates the worst parts?

2•amichail•20m ago•0 comments

Show HN: Engineering Perception with Combinatorial Memetics

1•alan_sass•26m ago•2 comments

Show HN: Steam Daily – A Wordle-like daily puzzle game for Steam fans

https://steamdaily.xyz
1•itshellboy•28m ago•0 comments

The Anthropic Hive Mind

https://steve-yegge.medium.com/the-anthropic-hive-mind-d01f768f3d7b
1•spenvo•28m ago•0 comments

Just Started Using AmpCode

https://intelligenttools.co/blog/ampcode-multi-agent-production
1•BojanTomic•29m ago•0 comments

LLM as an Engineer vs. a Founder?

1•dm03514•30m ago•0 comments

Crosstalk inside cells helps pathogens evade drugs, study finds

https://phys.org/news/2026-01-crosstalk-cells-pathogens-evade-drugs.html
2•PaulHoule•31m ago•0 comments

Show HN: Design system generator (mood to CSS in <1 second)

https://huesly.app
1•egeuysall•31m ago•1 comments

Show HN: 26/02/26 – 5 songs in a day

https://playingwith.variousbits.net/saturday
1•dmje•32m ago•0 comments

Toroidal Logit Bias – Reduce LLM hallucinations 40% with no fine-tuning

https://github.com/Paraxiom/topological-coherence
1•slye514•34m ago•1 comments

Top AI models fail at >96% of tasks

https://www.zdnet.com/article/ai-failed-test-on-remote-freelance-jobs/
5•codexon•35m ago•2 comments

The Science of the Perfect Second (2023)

https://harpers.org/archive/2023/04/the-science-of-the-perfect-second/
1•NaOH•36m ago•0 comments

Bob Beck (OpenBSD) on why vi should stay vi (2006)

https://marc.info/?l=openbsd-misc&m=115820462402673&w=2
2•birdculture•39m ago•0 comments

Show HN: a glimpse into the future of eye tracking for multi-agent use

https://github.com/dchrty/glimpsh
1•dochrty•40m ago•0 comments