25 November 2026
Isi pikiran saya hari ini, saya tulis malam-malam sambil minum teh anget dan standby on-call.
I'm Hendra Sadewa, a web engineer crafting TypeScript applications for the open web. Outside of my day work, I tend Niwa — a cohesive monorepo of small-batch web products powered by Cloudflare Workers, ATProto, and agent-assisted engineering.
Recent Writing
The Niwa Ecosystem
5 active apps · *.hendrasadewa.com
Niwa (庭) means garden. Each product solves a real, focused problem while sharing one botanical design system and a single Passkey identity.
Garden Log
Replaced the legacy personal website on hendrasadewa.com with @niwa/web, unified @niwa/ui/templates across every frontend, and standardized the botanical favicon and icon-only theme switcher.
Latest Monorepo Activity (main)
How the Garden Grows
Niwa is engineered as a single TypeScript & pnpm monorepo on Cloudflare's edge — structured specifically so both a human engineer and AI coding agents can ship cohesive products without architectural drift.
SEO-first product sites run on Next.js 16 + OpenNext on Cloudflare Workers; client-only portals run as Vite 8 + React Router SPAs on Static Assets.
Every backend service follows the same canonical layered architecture backed by Cloudflare D1 and R2, built on shared @niwa/api-core primitives.
A pnpm workspace unifies UI primitives, ES256 JWKS auth verification, typed Fetch clients, and Zod v4 schemas across every app.
Rather than treating agents as one-off code generators, the monorepo encodes explicit conventions, reusable skills, and type-safe guardrails.
Root and per-app AGENTS.md files document every Worker, port, shared package, and convention so coding agents orient in seconds without guessing.
Repeatable engineering playbooks — like niwa-api-architecture — encode exact templates for routes, services, repositories, error catalogs, and D1 migrations.
Shared @niwa/*-validators schemas, strict TypeScript (noUncheckedIndexedAccess), and @niwa/ui tokens constrain agent output so every new app feels native to Niwa.
Design decisions stay human-led through interactive planning, while typechecks, Drizzle migrations, and path-filtered GitHub Actions safely ship each Worker to Cloudflare.
Contact
Always happy to chat about web engineering, calm indie software, Cloudflare Workers, ATProto, or agent-assisted workflows.