Files
Trevi AwaterandClaude Opus 5.5 e732e0e639 feat: CSP en security.txt (#4)
De domeinaudit (internet.nl-criteria) mist op pocketgraph.app een afgedwongen
Content-Security-Policy en een security.txt. De Cloudflare-zonekant staat in
resoftware/resoftware-iac#472; dit regelt de landing zelf.

scripts/generate-headers.js draait na astro build en schrijft dist/_headers
met een strikte CSP: inline scripts en styles via SHA-256-hashes, geen
'unsafe-inline'. Externe bronnen: rybbit.resoftware.work (script + connect)
en Google Fonts (style + font).


Claude-Session: https://claude.ai/code/session_01GsYFZ4cfxji4XFLURUpmyt

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-10 22:24:31 +01:00
..
2026-11-10 22:24:31 +01:00
2026-11-10 22:24:31 +01:00
2026-11-10 22:24:31 +01:00
2026-03-31 12:46:39 +02:00
2026-11-10 22:24:31 +01:00
2026-03-31 12:46:39 +02:00
2026-03-31 12:46:39 +02:00
2026-03-31 12:46:39 +02:00

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.