Unfolder.Space
  • Docs
  • Patterns
  • Sign in
  • Patterns
  • Overview
  • hono
  • auth

Patterns

Workflow starters for building a space. Pick one in your MCP client, or read it here.

  • unfolder.honoBuild a server-rendered site fast with the recommended stack — Hono + hono/jsx, form handling, state in the facet's Durable Object storage, and gated private (`_*`) media. The right starting point for most spaces.
  • unfolder.authGate a space by identity (member-only content, owner-only admin). Patterns from simplest up: HTTP Basic Auth (one shared password, zero deps); Cloudflare Access (Zero Trust) for internal spaces on a Cloudflare custom domain; social login via @hono/oauth-providers + a hand-rolled lightweight session; or better-auth over durable-sqlite for a full account lifecycle (incl. social/OTP/passkey plugins).