whiskers.git / web / worker / src / README.md

worker/src

FileWhat
lib.rsThe router and fetch handler: routes, origin, the cached stylesheet, security headers.
explain.rsThe section on where Jev is used: the diagram, the topics and threshold, three real requests. Read from the code's own data; its tests hold it to that.
view.rsPages as pure functions (maud): the page, and the fragments a mood, mascot or tour change replaces (the cat, caption, stages, the mood pills with the playing one's hourglass and countdown, and the Play tour / Pause tour button). Its tests are the page's contract.
pic.rsA pixel icon (site::config::Pic) and the icon, row-header, text table the page uses for lists of facts.
media.rs/preview/loop.mp4 with byte ranges (header logic; which bytes is site::range).
headers.rsThe Content-Security-Policy and the headers every response gets.
log.rsWhat is logged and at which level; built only from closed types so no visitor can be in it.
page.cssThe page's own styles, inlined after the shared sheet.