Commit graph

10 commits

Author SHA1 Message Date
c5ac450f21 feat: dynamic page regeneration (#24)
the asset system is reworked to support "dynamic" entries, where each
entry is a separate file on disk containing the latest generation's
headers+raw+gzip+zstd. when calling view.regenerate, it will look for
pages that had "export const regenerate" during generation, and render
those pages using the view system, but then store the results as assets
instead of sending as a response.

pages configured as regenerable are also bundled as views, using the
non-aliasing key "page:${page.id}". this cannot alias because file
paths may not contain a colon.
2025-08-11 22:43:27 -07:00
66da129036 rewrite incremental.ts (#21)
the problems with the original implementation was mostly around error
handling. sources had to be tracked manually and provided to each
incremental output. the `hasArtifact` check was frequently forgotten.
this has been re-abstracted through `incr.work()`, which is given an
`io` object. all fs reads and module loads go through this interface,
which allows the sources to be properly tracked, even if it throws.

closes #12
2025-08-02 20:56:36 -04:00
756dbc7805 finish scan3 2025-08-02 20:56:36 -04:00
9f8c9fd3b6 format 2025-08-02 20:56:36 -04:00
52b0b3b8f2 initial run of scan3 on sandwich 2025-08-02 20:56:36 -04:00
60ee895d8d actually run ffmpeg fr fr 2025-08-02 20:56:36 -04:00
6e248f1e06 move discovered ffmpeg presets 2025-08-02 20:56:36 -04:00
b14feb787d start av1 encoding ??? 2025-08-02 20:56:36 -04:00
87253a4a27 stuff for file view 2025-08-02 20:56:36 -04:00
bb4e57000b get clo file viewer running 2025-08-02 20:56:36 -04:00