Drop the file list and the local preview command; both are in the README and visible from the tree. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Kestrel's Builds
Write-ups of things I've made, each with a guide and whatever files that project needs.
Live: https://builds.kestrelsnest.social
A static site. Each build is a self-contained folder; the top-level index.html links to them. The Green Man page is generated from greenman-src/, which stays in this repo and is never uploaded.
Files
index.html - Site index: one card per build
favicon.svg - Icon shared by every page
og.png - OpenGraph image for the index (1200 x 630); each build keeps its own og-image.jpg
deploy - Deployment script (rsync to server)
greenman/ - Green Man mask
index.html - The build and painting guides as one page
img/ - Photos and part renders
dl/ - Downloads: templates, guide PDFs, print files
greenman-src/ - Generator for everything in greenman/ (not deployed); see its README
Adding a build
- Make a folder for it, named in lowercase with no spaces (
greenman,atompunk). Put its page at<folder>/index.html, with its images and downloads inside the folder so its links stay relative. - In the top-level
index.html, copy an<a class="build">card to the top of the list and change the link, image, alt text, title and the three lines of text. The newest build carries the extra classfirst, which gives it the full-width card; takefirstoff the one it replaces. Card images are cropped to fit, so setobject-positionfor the new image as.greenmandoes. - Give the new build's page a link back to the index, as
greenman/index.htmlhas at its top and bottom:<a href="../">← Kestrel's Builds</a>. - In the page's head, link the shared icon (
<link rel="icon" href="../favicon.svg">) and add its own description, canonical and Open Graph tags. Its share image is a 1200 x 630og-image.jpgin the build's folder. - Retake
og.png, a 1200 x 630 screenshot of the top of the index, since the first card has changed. - Run
./deploy -nto check what will be uploaded, then./deploy.
Local preview
python3 -m http.server 8000
Then open http://localhost:8000.
Deployment on YunoHost (My Webapp)
1. Install My Webapp
In the YunoHost admin panel:
- Go to Applications → Install
- Search for "My Webapp"
- Configure:
- Label: Builds
- Domain/Path:
builds.kestrelsnest.social - PHP version: none needed
- Database: none needed
- Install
2. Point the deploy script at it
Each My Webapp gets a numbered folder on the server. Find this one:
ssh social 'ls -d /var/www/my_webapp*'
Set DIR in deploy to that folder's www directory. For this site it is /var/www/my_webapp__3/www.
3. Deploy
./deploy -n # dry run
./deploy
The script rsyncs this folder to the server and deletes anything there that is no longer here. It skips the project's own files: the script itself, the two Markdown docs, git and editor files, and any generator folder (*-src/).