This is the repository for my personal website, justin.how.
- Static Site Generator: Eleventy (@11ty/eleventy)
- Content: Markdown and HTML
- Hosting: Self-hosted on a Raspberry Pi
- Deployment: Automatic updates via a GitHub webhook triggering a build script (
update.sh) on the server. - Webhook Server: Simple Node.js/Express server (
webhook-server.js)
.eleventy.js: Eleventy configuration file.*.md,*.html: Content files (various directories likeblog/,projects/,about/).main.css,drinks.css: Stylesheets.photography/: Directory for photos, processed by a custom Eleventy collection.assets/: General static assets.update.sh: Script triggered by webhook to pull changes and rebuild the site.webhook-server.js: Listens for GitHub webhooks to trigger updates._site/: Output directory generated by Eleventy (should be in.gitignore).
- Clone the repository.
- Run
npm install. - Run
npm run devto start the Eleventy development server.