Commit graph

21 commits

Author SHA1 Message Date
30ad9c27ff chore: rework Clover Engine API, remove "SSR" term
"server side rendering" is a misleading term since it implies there is a
server. that isn't neccecarily the case here, since it supports running
in the browser. I think "clover engine" is cute, short for "clover html
rendering engine". Instead of "server side rendering", it's just rendering.

This commit makes things a lot more concise, such as `ssr.ssrAsync`
being renamed to `render.async` to play nicely with namespaced imports.
`getCurrentRender` and `setCurrentRender` are just `current` and
`setCurrent`, and the addon interface has been redesigned to force
symbols with a wrapping helper.
2025-08-02 22:22:07 -04:00
8c0bd4c6c6 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
0caa30444e setup source of truth server 2025-08-02 20:56:36 -04:00
dec10df6ba add "source of truth" server to replace the old cache url 2025-08-02 20:56:36 -04:00
0a345c677a finish scan3 2025-08-02 20:56:36 -04:00
33c880c65d start the markdown parser 2025-08-02 20:56:36 -04:00
395492a631 format 2025-08-02 20:56:36 -04:00
6a5ec7ee64 actually run ffmpeg fr fr 2025-08-02 20:56:36 -04:00
b0c7374d9f stuff for file view 2025-08-02 20:56:36 -04:00
2cb5f47d4f get clo file viewer running 2025-08-02 20:56:36 -04:00
91c646d454 finish q+a 2025-08-02 20:56:36 -04:00
7bd2a90f7f work on porting paperclover.net and also some tests 2025-08-02 20:56:36 -04:00
5267ab30ac incremental sitegen dev server! 2025-06-13 00:13:22 -07:00
80c499f443 fine grained incremental rebuilding 2025-06-11 00:17:58 -07:00
5e01274183 clean up watching 2025-06-10 22:29:12 -07:00
b1c9c874bb add a file watcher, live rebuild.
this is only verified functional on windows 7
2025-06-10 20:06:32 -07:00
e0c58d4883 almost implement views 2025-06-10 01:13:59 -07:00
21fd85a871 stuff 2025-06-09 21:13:51 -07:00
60916424ff incremental generator 2025-06-09 00:12:41 -07:00
0dd095e706 more organize 2025-06-08 17:31:03 -07:00
96b08a9d7e primative backend support 2025-06-08 15:12:04 -07:00