feat(hub): asset management API with PVC storage and image seed
Add internal/assets package that manages app assets (logos, screenshots)
on Hub PVC with automatic seeding from baked-in image copy on first run.
Two new API endpoints: GET /assets/manifest (JSON with SHA-256 checksums)
and GET /assets/file/{name} for controllers to sync assets.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
# Felhom Hub — Changelog
|
||||
|
||||
## v0.3.7 (2026-02-21)
|
||||
|
||||
**Asset management API**
|
||||
|
||||
- New `internal/assets` package: manages app assets (logos, screenshots) on Hub PVC (`/data/assets/`) with automatic seeding from baked-in image copy on first run.
|
||||
- Two new authenticated API endpoints for controllers to sync assets:
|
||||
- `GET /api/v1/assets/manifest` — returns JSON manifest with filenames + SHA-256 checksums
|
||||
- `GET /api/v1/assets/file/{filename}` — serves individual asset files
|
||||
- Dockerfile updated to `COPY assets/ /usr/share/felhom/assets-seed/` for first-run seeding.
|
||||
- Build script syncs website assets (`*-logo.{svg,png}`, `*-screenshot-*.webp`) into Docker build context.
|
||||
|
||||
## v0.3.6 (2026-02-21)
|
||||
|
||||
**Human-friendly retrieval passwords**
|
||||
|
||||
Reference in New Issue
Block a user