- Linktree-style homepage with photo, social links, and self-hosted services (container registry, Git server) - Registry pages rendered on demand from Harbor via a live content collection, cached in memory (60s fresh, 10min stale-while-revalidate) - Pinned registry images (PINNED_IMAGES) shown first with a star - Node standalone server with security headers; self-contained server build so the Docker image ships no node_modules - Gitea workflow building multi-arch images for Flux Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// Site-wide constants. Adjust to taste.
|
||||
export const SITE_TITLE = 'traberph';
|
||||
export const SITE_DESCRIPTION = 'Public container images and projects.';
|
||||
|
||||
// How long rendered registry pages are served from the in-memory cache (seconds).
|
||||
// Stale pages are served for up to `swr` more while a fresh copy renders in the background.
|
||||
export const REGISTRY_CACHE = { maxAge: 60, swr: 600 };
|
||||
|
||||
// Registry images ("project/name") shown first with a star, in this order.
|
||||
export const PINNED_IMAGES: string[] = ['public/sish-client'];
|
||||
Reference in New Issue
Block a user