Skip to content

peterbinks/peterbinks.net

Repository files navigation

peterbinks.net

Peter Binkowski's personal site.

Tech Stack

  • Astro - Static site generator
  • SCSS for styling
  • Fira & Effra typefaces via Adobe Fonts

Development

# Install dependencies
npm install

# Start dev server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Project Structure

src/
├── 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

Deployment

The site deploys automatically to NearlyFreeSpeech via GitHub Actions on push to main.

Required GitHub Secrets

Add these in Settings > Secrets and variables > Actions:

  • NFSN_USERNAME - NearlyFreeSpeech SSH username
  • NFSN_PASSWORD - NearlyFreeSpeech SSH password
  • NFSN_HOSTNAME - NFSN SSH hostname (e.g., ssh.phx.nearlyfreespeech.net)

Adding Content

Blog Posts

Add Markdown files to src/content/blog/:

---
title: "Post Title"
date: 2024-01-01
---

Post content here...

Other Pages

Quotes, reading list, and work projects are currently hardcoded in their respective page files in src/pages/. Edit those directly.

small edit

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages