Commit graph

16 commits

Author SHA1 Message Date
a8d7efe9ec 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
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
f985a22b33 add "source of truth" server to replace the old cache url 2025-08-02 20:56:36 -04:00
756dbc7805 finish scan3 2025-08-02 20:56:36 -04:00
68b891a022 start the markdown parser 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
c3f786b944 file viewer work 2025-08-02 20:56:36 -04:00
bb4e57000b get clo file viewer running 2025-08-02 20:56:36 -04:00
c0769e8772 throw in the file viewer 2025-08-02 20:56:36 -04:00
a0d9b18b81 delete corrupted files and start recovering sitegen.tsx 2025-06-07 01:24:32 -07:00
af60d1172f i accidentally deleted the repo, but recovered it. i'll start committing
it was weird. i pressed delete on a subfolder, i think one of the
pages.off folders that i was using. and then, suddenly, nvim on windows
7 decided to delete every file in the directory. they weren't shred off
the space time continuum, but just marked deleted. i had to pay $80 to
get access to a software that could see them. bleh!

just seeing all my work, a little over a week, was pretty heart
shattering. but i remembered that long ago, a close friend said i could
call them whenever i was feeling sad. i finally took them up on that
offer. the first time i've ever called someone for emotional support.
but it's ok. i got it back. and the site framework is better than ever.

i'm gonna commit and push more often. the repo is private anyways.
2025-06-06 23:38:02 -07:00