Here’s an interesting architecture for a reporting site.
- Incremental ETL script that updates a local DuckDB file
- A static Astro site where templates can directly leverage DuckDB’s rich analytical queries
- The built site is published to Cloudflare Pages (or similar)
The steps above run on a schedule in github actions. The DB file is cached and restored on every run (but can be rebuilt if lost).