Multi Page App (MPA) framework for PocketBase
299
stars
536
commits
CSS
primary language
Aug 13, 2026
updated
Really fast Server Side pages for PocketBase
PocketPages is a lightweight EJS and router engine that runs as a PocketBase JS hook. It's super fast and can render pages <40ms.
Write your web apps like old-school PHP:
// pb_hooks/pages/index.ejs
<%= `Hello, world!` %>
Before running the project, make sure you have the following tools installed:
Bun is a fast JavaScript runtime. To install it, run:
curl -fsSL https://bun.sh/install | bash
For more details, see the official Bun documentation.
PocketBase is a backend server. Download the latest release for your OS from the PocketBase releases page and place the binary somewhere in your PATH.
For more details, see the PocketBase documentation.
To run the project locally:
In the root folder, run:
bun dev
In another terminal, start PocketBase in one of the packages, for example:
# To run the main site
cd packages/site
pocketbase serve --dev
or
# To run a starter kit
cd packages/starters/minimal
pocketbase serve --dev
That's it! Now you can access the project locally.
PR's are welcome.
CSS
63.7%
TypeScript
17.1%
EJS
14.8%
JavaScript
3.2%
Multi Page App (MPA) framework for PocketBase
299
stars
536
commits
CSS
primary language
Aug 13, 2026
updated
Really fast Server Side pages for PocketBase
PocketPages is a lightweight EJS and router engine that runs as a PocketBase JS hook. It's super fast and can render pages <40ms.
Write your web apps like old-school PHP:
// pb_hooks/pages/index.ejs
<%= `Hello, world!` %>
Before running the project, make sure you have the following tools installed:
Bun is a fast JavaScript runtime. To install it, run:
curl -fsSL https://bun.sh/install | bash
For more details, see the official Bun documentation.
PocketBase is a backend server. Download the latest release for your OS from the PocketBase releases page and place the binary somewhere in your PATH.
For more details, see the PocketBase documentation.
To run the project locally:
In the root folder, run:
bun dev
In another terminal, start PocketBase in one of the packages, for example:
# To run the main site
cd packages/site
pocketbase serve --dev
or
# To run a starter kit
cd packages/starters/minimal
pocketbase serve --dev
That's it! Now you can access the project locally.
PR's are welcome.
CSS
63.7%
TypeScript
17.1%
EJS
14.8%
JavaScript
3.2%