whiskers.git / web / site / README.md
1# site
2
3What the site knows that is not markup. Pure and tested natively.
4
5- `config`: the site's address, the `git clone` address (`CLONE_URL`, the code host that serves the repository),
6  the downloads (one table, with their icons) and the pixel icons (`Pic`), the title, the description, and the preview files' paths and size.
7- `demo`: the demo cat's choreography. The Worker owns it: a button, a second's tick or the play
8  button posts the page's signals and gets back what to show (`pick`, `tick`, `toggle`). The
9  preview video plays the same `TOUR`. A test drives the app's own `whiskers-pet` state machine to
10  show its moods are the ones the demo shows.
11- `preview`: builds the Open Graph and Twitter card tags, refusing anything a scraper would reject,
12  and reads them back from HTML (`missing`) so the page and `tools/check-preview` can be checked.
13
14| Path | What |
15| --- | --- |
16| [src/](src/) | `config.rs`, `demo.rs`, `preview.rs`. |