The Long Run
A Git-native, Markdown-based publishing site built with Astro and deployed to Cloudflare Pages.
Development
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewContent
Essays live in src/content/essays/ with YAML frontmatter:
---
id: "001"
title: "Essay Title"
subtitle: "Optional subtitle"
date: 2025-01-15
status: draft | review | published
canonical: https://thelongrun.work/essays/slug
tags:
- tag1
- tag2
---Only essays with status: published appear on the site.
Deployment
The site deploys automatically to Cloudflare Pages on push to main.
- Production: https://thelongrun.work
- Preview builds: Generated for PRs