Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/setup-node@v7
with:
node-version: 22
- run: npm ci
- run: npm test
- run: npm run build
- if: github.event_name != 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Source of [tools.halit.org](https://tools.halit.org/): small browser tools Halit

## How it works

- `scripts/build.mjs` writes static HTML into `_site/`. Page copy lives in `scripts/content.mjs`; change those, never the output. No framework and no runtime dependencies.
- `scripts/build.mjs` writes static HTML into `_site/`. Page copy lives in `scripts/content.mjs`; change those, never the output. No framework and no runtime dependencies; esbuild is the one dev dependency and minifies the page scripts.
- `tokens.css` (the personal design standard, see `DESIGN.md`) and `public/site.css` are joined and minified into one `site.css`.
- Each tool is a pure module in `src/` (tested with `node:test`) plus a small page script. Pages ship a Content Security Policy whose only outside connection is the Cloudflare Web Analytics beacon. Keep it that way: the pages promise that pasted text never leaves the device.
- `public/db8734a2d48c2e0e5cf2ef632940201f.txt` is the IndexNow key. After a deploy that adds or changes pages, post their URLs to `https://api.indexnow.org/indexnow` with that key.
Expand Down
Loading