Peter Binkowski's personal site.
# Install dependencies
npm install
# Start dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewsrc/
├── components/ # Header, Footer components
├── content/blog/ # Blog posts (Markdown)
├── layouts/ # Base layout
├── pages/ # Page routes
│ ├── index.astro
│ ├── about.astro
│ ├── quotes.astro
│ ├── reading.astro
│ ├── blog/
│ └── work/
└── styles/ # SCSS stylesheets
public/
└── images/ # Static images
The site deploys automatically to NearlyFreeSpeech via GitHub Actions on push to main.
Add these in Settings > Secrets and variables > Actions:
NFSN_USERNAME- NearlyFreeSpeech SSH usernameNFSN_PASSWORD- NearlyFreeSpeech SSH passwordNFSN_HOSTNAME- NFSN SSH hostname (e.g.,ssh.phx.nearlyfreespeech.net)
Add Markdown files to src/content/blog/:
---
title: "Post Title"
date: 2024-01-01
---
Post content here...Quotes, reading list, and work projects are currently hardcoded in their respective page files in src/pages/. Edit those directly.
small edit