Starter Kits

To start a new app from a starter kit, run:

pocketone pages create myapp --starter <kit>

Without --starter, pocketone pages create myapp creates a plain app (the minimal kit). pocketone pages starters lists the kits. The folder must not exist yet. Then run it:

cd myapp
pocketone serve --dir ./pb_data

pocketone keeps pb_data next to its executable unless you pass --dir; pb_pages and pb_migrations are found next to pb_data.

Each kit, with its files and what each one does, has its page under Starter kits.

Each starter kit is an ordinary pb_pages folder written against the v1 API, in TypeScript with ETS templates, so everything in these docs applies to it. The tsx kit starts an app in the component style instead.

Starter What it shows Live demo
minimal A minimal Pages starter with just the basics pocketpages-minimal.pockethost.io
mvp MVP.css, a minimalist classless CSS framework pocketpages-mvp.pockethost.io
auth Password, anonymous, OTP and OAuth2 sign-in, plus verification, password reset and email change pocketpages-auth.pockethost.io
daisyui Tailwind CSS with DaisyUI components pocketpages-daisyui.pockethost.io
daisyui-docs Documentation site template with DaisyUI and navigation pocketpages-daisyui-docs.pockethost.io
htmx HTMX integration for dynamic interactions pocketpages-htmx.pockethost.io
datastar Realtime chat and counter using Datastar pocketpages-datastar.pockethost.io
tsx The minimal app written as TSX components (layout, page and a partial)