Story

Show HN: TX-2 ECS – A web framework that treats your app as a world

iregaddr Tuesday, November 25, 2025

I’ve been building a different kind of web framework and would love feedback.

TX-2 ECS is a TypeScript-first framework where your app is modeled as an ECS world (entities, components, systems) instead of a tree of UI components + ad-hoc state.

A few things that might interest HN:

- Single world model shared across server and client; systems run in both places. - Rendering is “just another system” that produces DOM; SSR + hydration are built in. - Built-in RPC + state sync that ships only deltas, on a tunable rate limit (aimed at reducing egress/CPU for real-time apps). - Designed for long-lived products where you care about dev velocity 5+ years in (features are usually new systems, not surgery on existing code).

It’s aimed at apps that feel more like living systems than CRUD: multiplayer tools, dashboards, agents, simulations, collaborative editors, etc.

Repo: https://github.com/IreGaddr/tx2-ecs

I’m especially interested in: - “This will/ won’t work in production because…” from people who run real-time systems. - Critiques of the ECS-centered architecture for web. - Benchmarks or experiments you’d want to see before considering something like this.

Summary
tx-2.dev is a website that showcases various web development projects and technologies, providing a platform for developers to share their work and learn from others in the community.
4 0
Summary
tx-2.dev
Visit article Read on Hacker News