Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/build.yml

This file was deleted.

1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ For in-depth guidance beyond what's in this file, refer to:
- [docs/components.md](docs/components.md) — Props interfaces, usage examples, CSS variables, and recipes for all 22 components and 3 layouts
- [docs/getting-started.md](docs/getting-started.md) — Clone to first deploy in 15 minutes
- [docs/adding-a-site.md](docs/adding-a-site.md) — Scaffold, configure, and deploy a new site
- [docs/adding-a-cms.md](docs/adding-a-cms.md) — Keystatic pattern used in Meridian, access-control caveats, and alternatives
- [docs/design-tokens.md](docs/design-tokens.md) — How presets work, creating custom palettes
- [docs/framework-integrations.md](docs/framework-integrations.md) — Adding React/Vue/Svelte, Islands Architecture, View Transitions, Content Collections, and other Astro 6 capabilities
- [docs/deployment.md](docs/deployment.md) — Cloudflare Pages, Vercel, Netlify, or self-hosted
Expand Down
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,41 @@ _More coming soon._ If you ship a site with Astro Fleet, open a PR adding it her

## Quick Start

**The fastest way — scaffold a new fleet with the CLI:**

```bash
bunx create-astro-fleet # or: npm create astro-fleet
cd my-astro-fleet
bun install
bun run dev
```

The CLI prompts for a target directory, first-site domain, and design preset. Use `--domain` / `--preset` flags to skip prompts.

**Or clone this repo directly:**

```bash
git clone https://github.com/indivar/astro-fleet.git
cd astro-fleet
bun install
bun run dev # → starter site at localhost:4321
```

Create your first site:
Add more sites to an existing fleet:

```bash
bunx create-astro-fleet add yourdomain.com saas
# or the equivalent bash:
./scripts/new-site.sh yourdomain.com saas
bun install
bun run dev --filter=yourdomain.com
```

## What's Included

- **22 shared components + 3 layouts** — Header, Footer, SEO Head, CTA blocks, cards, forms, testimonials, breadcrumbs, pricing tables, FAQ accordions, team grids, timelines, hero sliders, section dividers, comparison tables, and more. All accept content via typed props, all use CSS variables for theming.
- **Design token system** — 3 presets (Corporate, SaaS, Warm) with a TypeScript interface. Create custom presets or modify colors and fonts per site without touching component code.
- **Site scaffolder** — `./scripts/new-site.sh domain.com [preset]` creates a new site from the starter template with the correct config, styles, and build pipeline wired up.
- **Site scaffolder** — Either `bunx create-astro-fleet` (cross-platform, interactive prompts) or `./scripts/new-site.sh domain.com [preset]` (bash) creates a new site from the starter template with the correct config, styles, and build pipeline wired up.
- **CMS-ready** — Meridian demo ships with [Keystatic](https://keystatic.com) wired up for editable content. Admin at `/keystatic` in dev, content committed as markdown. See [Adding a CMS](docs/adding-a-cms.md) for the pattern and alternatives.
- **Infrastructure templates** — Optional Docker Compose + Traefik + Caddy setup for self-hosting on a VPS. Run `./scripts/setup-infra.sh` to generate configs for your domains.
- **Framework-agnostic** — All components are native `.astro` files (zero JS by default). Need interactivity? Add React, Vue, Svelte, Solid, or Preact to any site — Astro's [Islands Architecture](https://docs.astro.build/en/concepts/islands/) hydrates only the interactive parts.
- **Self-hosted fonts** — Astro 6 Fonts API downloads Google Fonts at build time and serves them from your domain. No runtime requests to third-party servers, better privacy, optimized fallbacks.
Expand All @@ -84,6 +99,7 @@ bun run dev --filter=yourdomain.com

- [Getting Started](docs/getting-started.md) — Clone to first deploy in 15 minutes
- [Adding a Site](docs/adding-a-site.md) — Create and configure additional sites
- [Adding a CMS](docs/adding-a-cms.md) — Keystatic pattern used in Meridian, plus when to pick a different CMS
- [Components Reference](docs/components.md) — Props, usage examples, CSS variables for every component
- [Design Tokens](docs/design-tokens.md) — Branding system, presets, custom palettes
- [Framework Integrations](docs/framework-integrations.md) — Add React/Vue/Svelte, Islands Architecture, View Transitions, Content Collections, and more
Expand Down
Loading
Loading