Personal website for Dave Worth, hosted at https://dave.coffee
- Astro with TypeScript
- Tailwind CSS with Typography plugin
- Volta for Node.js version management
- GitHub Actions for deployment to GitHub Pages
Install Volta for automatic Node.js version management:
curl https://get.volta.sh | bash# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# TypeScript checking
npm run lintCreate a new markdown file in src/content/posts/ with the naming convention:
YYYY-MM-DD-post-slug.md
Front matter template:
---
title: 'Your Post Title'
author: Dave
published: true
pubDate: YYYY-MM-DD
description: 'Brief description for RSS and social sharing'
---src/
├── components/ # Astro components
├── content/posts/ # Blog posts (Markdown)
├── layouts/ # Page layouts
├── pages/ # Routes
└── styles/ # Global CSS
public/
├── assets/ # Static files (PDFs, images)
└── CNAME # Custom domain
The site automatically deploys to GitHub Pages via GitHub Actions when changes are pushed to master.