Skip to content
All templates

Blog Starter

A fast blog served by PocketBase itself: a featured post, cover cards that load as you scroll, post pages with reading time, and drafts that stay private.

Blog Starter preview

Deploy

# Install
curl -fsSL https://raw.githubusercontent.com/pocketbasecloud/cli/main/scripts/install.sh | sh
# Login
pbc login
# Clone
git clone https://github.com/pocketbasecloud/starters && cd starters/blog
# Deploy
pbc pocketbase deploy --new blog && pbc pocketbase info --name blog

Overview

A fast blog served by PocketBase itself: a featured post, cover cards that load as you scroll, post pages with reading time, and drafts that stay private. It is one PocketBase and nothing else: pages are rendered by JavaScript hooks with PocketBase’s built-in template engine, so there is no separate server and no build step.

Key features

  • Featured post and cover grid: the newest post leads, the rest load nine at a time without a page reload.
  • Drafts: untick published and a post disappears from the pages and the API.
  • Covers: upload an image and PocketBase makes the thumbnails; posts without one get a colour tile.
  • Share-ready: page titles, descriptions and social images come from each post.

Make it yours

The starter’s README lists the three things to change first. Sample data comes from the first migration; delete it in the PocketBase admin when you are ready.

Related Templates