cali.so is the source for Cali Castle's personal website: writing, photos, projects, and admin tools. It is repository-owned site software, not marketed as a general blog template.
Overview
cali.so is the application behind Cali Castle's personal site, presenting writing, photography, projects, experience, and other curated sections in the browser. The public site is a design-engineer portfolio with bilingual routing, keeping Chinese on unprefixed URLs and English under an /en route family.
The stack is Next.js with React, TypeScript, and Tailwind CSS, MDX blog posts with colocated media, Base UI primitives, and static pages with incremental regeneration for some social data. An owner-only admin handles media and AMA operations behind Clerk authentication, metadata checks, origin validation, and rate limits. A Bunny-backed media library with review workflows feeds photo pages and homepage previews.
Security-oriented defaults include content security policy, same-origin mutation checks, rate limits, fail-closed provider toggles, and separated staging, preview, and production credentials. Releases flow from a development branch to production through reviewed automation; production uses its own database project and environment-gated deploy credentials.
Original application code is MIT-licensed, but personal writing, photos, branding, and third-party assets are excluded from that grant. Forks are expected to replace identity, analytics, credentials, and personal content. Older cloning guides for a prior stack do not describe the current architecture.
Key features
- MDX blog with bilingual routing
- Owner admin for media and AMA
- Clerk-authenticated owner operations
- Bunny CDN media library
- Static pages with ISR social data
- Separated staging and production credentials
- CSP and rate-limited mutations
- MIT-licensed application code only
Use cases
- Personal portfolio and writing site
- Forked personal site with new identity
- Photo gallery with curated selections
- Owner-managed AMA and media workflows
- Controlled production release pipeline