$ account benallfree
PocketPages is a server-side page rendering framework for PocketBase, enabling developers to build multi-page applications (MPAs) using file-based routing, EJS templating, and a plugin system. The core framework handles route resolution, middleware execution, layout rendering, and asset fingerprinting. It includes a rich plugin ecosystem for authentication (password, OTP, OAuth2, anonymous), realtime SSE updates, Markdown processing, and Datastar integration. The monorepo also provides starter kits (minimal, auth, daisyui, htmx, datastar) and a documentation site built with the framework itself. In production, it runs as a PocketBase hook, intercepting HTTP requests and rendering pages from the `pb_hooks/pages/` directory with full access to the PocketBase JSVM API.