Skip to content
Strata

About

A template that documents itself

Strata is a starting point for new websites. The name spells the stack: SQLite, Tailwind, React, Astro, Turso and Auth. Every project we begin needs that same foundation, together with content, search, SEO, security and tests. Instead of rebuilding it each time, it lives here, kept current, and this website is the proof that it works.

Principles#

  • Static first. Pages are prerendered unless they genuinely need a server. The auth routes and the dashboard opt in with prerender = false; everything else is plain HTML served from a CDN.
  • One codebase, any host. The same repository builds for Vercel, Cloudflare, Netlify and Node. Platform differences are isolated in a single adapter resolver and documented per target.
  • Secure by default. A hash-based Content Security Policy, strict response headers and CSRF origin checks ship enabled. You loosen them deliberately, never by accident.
  • Current dependencies. Versions are pinned, verified and upgraded through automated pull requests that must pass the full test matrix.
  • Boring where it should be. Conventional folder layout, Prettier and ESLint defaults, Changesets for release notes, and documentation for every decision.

How this site is built#

The pages you are reading are the template's own docs and blog collections rendered with MDX. The header, footer and metadata come from src/site.config.ts. The stack table on the home page reads the installed versions from pnpm-lock.yaml at build time. Search is a static Pagefind index generated at build time, and the Open Graph images are rendered with Satori during the build.

When something in the template changes, this site changes with it. That keeps the documentation honest and gives new projects a working reference for every feature.

License#

The template is released under the MIT License. Use it for personal or commercial projects, keep the license notice, and consider contributing improvements back through theGitHub repository.