Getting Started with τjs
NOTE
τjs is in active development. Expect breaking changes on the path to v1. Some features may be evolving or are temporarily missing.
τjs is a developer-first orchestration layer with declarative configuration for building modern web apps with per-route control over CSR, SSR, and Streaming SSR.
Scaffolding a new project
Section titled “Scaffolding a new project”Start with τjs example repo
git clone https://github.com/aoede3/taujs-starter-reactcd taujsyarnyarn devScaffolding CLI in progress. Until then, start from the example repo above
Core Workflow
Section titled “Core Workflow”- Define frontend apps and routes in
taujs.config.ts - Choose rendering mode per route (SSR, Streaming SSR, or CSR)
- Optionally attach data loaders
- Configure security (CSP, authentication)
τjs handles routing, rendering, and orchestration.
Under the Hood
Section titled “Under the Hood”- Fastify - Runtime server
- Vite - Frontend builds and HMR in development
- React - UI framework
Development vs Production
Section titled “Development vs Production”Development:
- Vite HMR for instant feedback
tsx watchruns server TypeScript directly
Production:
- Static assets built by Vite, served by Fastify
- Fastify runs esbuild/rollup output
- Zero runtime dependencies beyond your stack