# sites/

## Starting new projects

For new lightweight web apps — especially data-explorer / search-first
tools, or anything wanting an installable PWA shell — start from
`chillarjs/` instead of scaffolding from scratch. It's a minimal,
dependency-light framework distilled from `chillar/` (a finished app in
this repo). See `chillarjs/README.md` for what's in it: fuzzy search +
IndexedDB dataset caching (`chillar.js`), a DOM builder + delegated
action system (`dom.js`), a generic IndexedDB/localStorage CRUD layer
(`store.js`), a themeable design-token CSS system (`chillar.css`), and
PWA install/offline templates (`templates/`).

Copy `chillarjs/templates/*` into the new project directory (as a
sibling of `chillarjs/`, directly under `sites/`) as a starting point
rather than writing the search/storage/PWA plumbing again. Don't copy
`chillarjs`'s own `.js`/`.css` files — `templates/index.html` already
references them via `../chillarjs/...`, so every project shares one
copy and picks up fixes/upgrades automatically.
