CPGH Framework Overview
CPGH (Custom Page Generation & Hosting) is a full-featured web framework built into HSX with page routing, protocols, middleware, database, caching, and session management.
.Page files with sections, layouts, and authentication
Custom protocols like DO://Page/Index
Built-in SQLite-like file-based database
In-memory caching with TTL and LRU eviction
Session management with authentication
Per-client rate limiting with blocking
{`project/ โโโ .CPGH/ โ โโโ STU/ โ โโโ _CPGH.Protcol # Protocol definitions โ โโโ Docs/ # Generated documentation โ โโโ F/ # Page files โ โ โโโ _Imports.Page โ โ โโโ _Landing.Page โ โ โโโ _Main.Page โ โ โโโ _Router.Page โ โโโ F/_Optional-Files/ โ โโโ Config.json # CPGH configuration โโโ TWT.Config # TWT styling (optional)`} ๐ CPGH in Docker CPGH projects are automatically detected and run inside Docker containers using the schoolgit/runner:v4-terminal image.