Thisbe is a pnpm workspace of Next.js middleware packages reimplementing features hosting platforms gate behind enterprise pricing, like password protection and rate limiting, as standalone MIT-licensed modules composed via @thisbe/core.
Thisbe
Thisbe is a pnpm monorepo of open-source Next.js edge-middleware packages (infrastructure tooling; in-flight as of 2026-05-30; not yet assigned a GSV registry ID). Its core mechanism is composition: the @thisbe/core package exports a compose(...middlewares) function that chains middleware left-to-right into a single Next.js middleware. Each middleware either returns a Response, which short-circuits the chain (first to respond wins), or returns nothing, passing control onward; if none respond, the request falls through to NextResponse.next(). A wrap() helper adapts existing, pre-written Next.js middleware into this same composable chain. A key design decision is typing the contract against generic Request/Response objects rather than pinning to a specific Next.js version's types, so individual @thisbe/* packages and the consuming app need not share a next version, reducing coupling across an independently versioned package set. The animating premise is unbundling: hosting platforms charge enterprise prices for capabilities that are, at the edge-runtime level, small independent pieces of logic - password protection, authentication gates, geo/IP blocking, rate limiting, feature flags, maintenance mode. Thisbe ships each as its own MIT-licensed @thisbe/* package under one npm scope, with zero external dependencies where possible. Named examples include @thisbe/gate (password protection via signed cookie plus a login page, explicitly positioned as a replacement for a $150/mo platform feature) and @thisbe/clerk (a Clerk-based authentication gate with session verification and email/user allowlists). It is free and open source rather than a monetized product. Within the GSV portfolio it was surfaced alongside other infrastructure/tooling projects found via filesystem indexing (Typhon, Undersketch, and others), though the source material does not describe direct technical integration with any of them. Current status: a working composition primitive plus at least two shipped feature packages (gate, clerk); the broader set of planned unbundled features (geo/IP blocking, rate limiting, feature flags, maintenance mode) is named as the project's direction but not confirmed shipped in the given material.