#497 A purpose-made GitHub social preview
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#497
- pull request
- state:merged
Follows #479. The repository has no social preview, and the site's link-preview screenshot (`social-preview.jpg`) shows the editor without naming anything. **`platform/icons/github-preview.png`:** 1280 × 640, GitHub's recommended size, 467 KB (under GitHub's 1 MB limit). It holds: - the mark and "OpenChronology" in Noto Serif; - `timescale.info`; - the one-sentence definition (#481): "A free, open-source timeline editor for exact dates at any scale, from deep time to fractions of a second, with sources on every event."; - a strip of the Rome timeline below it, from the labels above the moments to the first row below. It's cut from the site's own screenshot. **`scripts/github-preview.mjs`** draws it with the renderer the site's previews use (Satori, from `next/og`), in the site's colours, so it can be drawn again after the screenshot or the definition changes. Like the other files in `platform/icons/`, it's also copied into `platform/public/`. **After merging:** upload it under **Settings → General → Social preview → Edit → Upload an image**. GitHub has no API for this. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/497
Related
Open #497 A purpose-made GitHub social preview in the timeline