mirror of
https://github.com/0xMarcio/cve.git
synced 2026-10-27 16:51:03 +00:00
Pages builds from the workflow artifact, so the committed CVE_list.json was never served while adding a fresh 53 MB blob to history every day. Generate it during the Pages build instead and drop the duplicate generator; scripts/build_site.py is now the only thing that writes it. The jinja2 templates re-rendered a trending table that logic.js replaces on load, so the page shell goes back to being a plain static file and the Pages build no longer installs anything. Shallow-clone the sync job too: it never reads git history, and the three-day lookback already recovers a skipped day.
Build pipeline
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python scripts/fetch_kev.py
python scripts/fetch_epss.py
python scripts/build_site.py
python scripts/build_all.py
Outputs land in docs/ and JSON under docs/api/v1/. Snapshots live in docs/api/v1/snapshots/ (last 14 days) and diffs under docs/api/v1/diffs/.