No description
  • JavaScript 94.8%
  • Nix 3%
  • Shell 2.1%
  • SCSS 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan 6ef6e12805 Deploy from main only, to one Bunny Site
Nobody used the staging deploys, and the production/staging naming was
confusing. main deploys to BUNNY_STORAGE_ZONE_NAME, falling back to the
older BUNNY_PRODUCTION_STORAGE_ZONE_NAME; other branches only build.
The staging secret and the deploy-only-on-main input are still accepted,
and ignored, until callers stop passing them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:58:34 +00:00
.claude Fix submodule-dependent install and add dev quality-of-life improvements (#21) 2026-06-29 12:24:35 +01:00
.github/workflows Deploy from main only, to one Bunny Site 2026-11-14 18:58:34 +00:00
.image-cache Do everything in the Forgejo actions 2025-04-09 00:14:14 +00:00
_data Add Instagram post scraper action (#16) 2026-04-17 15:16:30 +01:00
chobble-template@c655c5b87f Integrate @chobble/js-toolkit for code quality and FP utilities (#10) 2026-01-19 23:37:30 +00:00
css Rename _scss to css 2025-08-13 14:40:12 +01:00
pages Update example pages and .pages.yml for chobble-template (#20) 2026-06-24 14:34:33 +01:00
scripts Switch to Devenv 2026-10-29 16:19:01 +00:00
.gitignore Switch to Devenv 2026-10-29 16:19:01 +00:00
.gitmodules Integrate @chobble/js-toolkit for code quality and FP utilities (#10) 2026-01-19 23:37:30 +00:00
.jscpd.json Integrate @chobble/js-toolkit for code quality and FP utilities (#10) 2026-01-19 23:37:30 +00:00
.pages.yml Update example pages and .pages.yml for chobble-template (#20) 2026-06-24 14:34:33 +01:00
biome.json Fix submodule-dependent install and add dev quality-of-life improvements (#21) 2026-06-29 12:24:35 +01:00
bun.lock Integrate @chobble/js-toolkit for code quality and FP utilities (#10) 2026-01-19 23:37:30 +00:00
bunfig.toml Integrate @chobble/js-toolkit for code quality and FP utilities (#10) 2026-01-19 23:37:30 +00:00
CLAUDE.md Integrate @chobble/js-toolkit for code quality and FP utilities (#10) 2026-01-19 23:37:30 +00:00
devenv.lock Switch to Devenv 2026-10-29 16:19:01 +00:00
devenv.nix Switch to Devenv 2026-10-29 16:19:01 +00:00
devenv.yaml Switch to Devenv 2026-10-29 16:19:01 +00:00
package.json Fix submodule-dependent install and add dev quality-of-life improvements (#21) 2026-06-29 12:24:35 +01:00
README.md Deploy from main only, to one Bunny Site 2026-11-14 18:58:34 +00:00

Chobble Client Site Builder

Quick static site generator that combines the Chobble Template with your content.

Quick Start

  1. Add your content - Edit markdown files and images in the relevant folders
  2. Push to GitHub - The site builds automatically via GitHub Actions
  3. Deploy happens automatically - main deploys to Bunny CDN; other branches just build, as a check

What Goes Where

The .pages.yml defines all your content types:

  • pages/ - Static pages with navigation
  • news/ - Blog posts with dates
  • products/ - Shop items with prices and Etsy links
  • categories/ - Product categories
  • team/ - Team member profiles
  • reviews/ - Customer testimonials
  • events/ - Upcoming events
  • menus/, menu-categories/, menu-items/ - Restaurant menu system
  • snippets/ - Reusable content bits
  • images/ - All your images

How It Works

When you push to GitHub:

  1. GitHub Actions merges your content with the template
  2. Builds the static site with Eleventy
  3. Deploys to Bunny CDN, from main only

Configuration

Set these GitHub secrets for your repo:

  • BUNNY_ACCESS_KEY and BUNNY_STORAGE_ZONE_NAME (the Bunny Site to deploy to) - For deployment. Older sites may still name the second BUNNY_PRODUCTION_STORAGE_ZONE_NAME, which works until it is renamed; gh-secrets in the dotfiles does that.
  • FORMSPARK_ID - For contact forms (optional)
  • BOTPOISON_PUBLIC_KEY - For spam protection (optional)
  • INDEXNOW_KEY - For IndexNow search submission (optional)
  • NTFY_TOPIC - For build-failure notifications (optional)

Local Development

This project uses Bun. The Chobble Template is vendored as the chobble-template git submodule, which provides the @chobble/js-toolkit dependency and the Eleventy build.

git submodule update --init   # populate chobble-template (first checkout only)
bun install                   # install dependencies
bun run serve                 # dev server with hot reload
bun run build                 # build the site into _site/
bun run test                  # run the template test suite

Cloning with git clone --recurse-submodules initialises the submodule for you. If bun install fails with ENOENT ... @chobble/js-toolkit, the submodule hasn't been checked out yet - run the git submodule update --init step above.