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•2h 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!

Denmark issues first apology over forced contraception of Greenlandic women

https://www.theguardian.com/world/2025/aug/27/denmark-pm-apologises-over-physical-and-psychologic...
1•haltingproblem•3m ago•0 comments

Show HN: I fine-tuned GPT4.1 on my iMessage history

https://jonyork.net/chat
1•jonpizza•4m ago•0 comments

The New Framework Laptop 16 with Nvidia GeForce RTX 5070

https://frame.work/blog/introducing-the-new-framework-laptop-16-with-nvidia
1•bentcorner•6m ago•0 comments

Two Female Pilots Do the Most Dangerous Approach – Paro Airport, Bhutan [video]

https://www.youtube.com/watch?v=sRnyY-53UX4
2•keepamovin•8m ago•0 comments

Show HN: Yes, another boring AI Image Editor

https://pixfy.io/
1•lyl_003•9m ago•0 comments

Whispers from the Star – AI Interactive Story Game

https://wfts.anuttacon.com/
1•LopRabbit•13m ago•0 comments

The New York Times Mini Crossword Is No Longer Free to Play

https://bookriot.com/the-new-york-times-mini-crossword-is-no-longer-free-to-play/
4•josephcsible•14m ago•0 comments

Sustainable Energy – Without the Hot Air

https://www.withouthotair.com/
1•red369•14m ago•0 comments

Conversational BI for Data and Documents

https://docs.google.com/document/d/1G-1n2b-u2EkM2QDpy4amqa1hNLgrCuz5SptNkJ2j05A/edit?usp=sharing
1•quaerisai•15m ago•1 comments

Winston Churchill addresses the nation following defeat of Germans (1945) [video]

https://www.youtube.com/watch?v=5ROGkn4a_O4
1•keepamovin•16m ago•0 comments

Google Ironwood TPU

https://www.servethehome.com/google-ironwood-tpu-swings-for-reasoning-model-leadership-at-hot-chi...
1•lawrenceyan•20m ago•0 comments

Show HN: Pocket Agent: run Claude, Cursor, Codex and more from your phone

https://www.pocket-agent.xyz
1•yayasoumah•20m ago•0 comments

Facial recognition technology: When your face becomes a commodity

https://proton.me/blog/blog-facial-recognition-technology
3•devonnull•21m ago•0 comments

Why AI Isn't Ready to Be a Real Coder

https://spectrum.ieee.org/ai-for-coding
1•signa11•22m ago•0 comments

Canaries in the Coal Mine? Recent Employment Effects of AI [pdf]

https://digitaleconomy.stanford.edu/wp-content/uploads/2025/08/Canaries_BrynjolfssonChandarChen.pdf
2•p1esk•24m ago•0 comments

Use Txt for Bookmarks

https://github.com/soulim/bookmarks.txt
2•secwang•40m ago•0 comments

White House fires CDC director Monarez after she refuses to resign

https://www.cnbc.com/2025/08/27/cdc-director-susan-monarez-.html
14•donsupreme•43m ago•2 comments

The Medicine We Thought Was Safe

https://domofutu.substack.com/p/the-medicine-we-thought-was-safe
3•domofutu•48m ago•0 comments

Show HN: Created a Node.js's addon that can handle 1M req/s

1•StellaMary•49m ago•0 comments

MSG150: Blogging Seattle International District Lunch Food (2012)

http://msg150.com/
2•fzliu•54m ago•0 comments

Self-Cleaning Glass via Abnormal Transport and Jump of Charged Particles

https://advanced.onlinelibrary.wiley.com/doi/10.1002/advs.202509404
1•PaulHoule•55m ago•0 comments

Ask HN: Why isn't my ISP providing AI as a service?

1•dwa3592•56m ago•4 comments

TikTok owner set to launch share buyback valuing company at $330B

https://www.theguardian.com/technology/2025/aug/27/tiktok-owner-buyback
1•bookofjoe•57m ago•0 comments

Open Source is one person

https://opensourcesecurity.io/2025/08-oss-one-person/
2•LawnGnome•57m ago•1 comments

"Buy Now, Pay Later" Seduced a Generation–and Trapped It in Debt

https://thewalrus.ca/how-buy-now-pay-later-seduced-a-generation-and-trapped-it-in-debt/
1•pseudolus•57m ago•0 comments

The Coso Artifact: Mystery from the Depths of Time (2018)

http://www.talkorigins.org/faqs/coso.html
1•userbinator•57m ago•0 comments

Show HN: Solana KOL wallet tracker Pumptracker.io

https://pumptracker.io
1•frydcircuit•58m ago•0 comments

The San Francisco Government Visualized

https://sfgov.civlab.org/
2•valthrow•59m ago•0 comments

Reddit auto banned me from a bot comment

2•phoenixhaber•1h ago•0 comments

Created an app for Googe Docs called DocReader

https://geniusaddons.com/products/docreader/
1•Verdierm•1h ago•0 comments