Embed static assets and HTML templates #14

Closed
opened 2026-09-04 23:26:25 +02:00 by arne · 0 comments
Owner

Introduce compile-time embedded frontend resources and a small, testable template-loading boundary.

Acceptance criteria:

  • HTML templates and static assets are embedded in the application binary with embed.
  • Templates are parsed at startup; parse failures stop startup with an actionable error.
  • Static files are served under a dedicated URL prefix with correct content types and sensible cache behavior for the initial non-fingerprinted assets.
  • Missing assets return 404 and directory listing is not exposed.
  • Tests prove representative templates and assets are present in a built/test runtime without relying on the working directory.
  • make check passes.

Dependencies:

  • Depends on #9.
Introduce compile-time embedded frontend resources and a small, testable template-loading boundary. Acceptance criteria: - HTML templates and static assets are embedded in the application binary with `embed`. - Templates are parsed at startup; parse failures stop startup with an actionable error. - Static files are served under a dedicated URL prefix with correct content types and sensible cache behavior for the initial non-fingerprinted assets. - Missing assets return 404 and directory listing is not exposed. - Tests prove representative templates and assets are present in a built/test runtime without relying on the working directory. - `make check` passes. Dependencies: - Depends on #9.
arne closed this issue 2026-09-04 23:34:36 +02:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
arne/fjomp#14
No description provided.