尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证UK government debt explained in household terms, built from ONS, OBR, DWP and HM Treasury data.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A single-page explainer of UK public debt, built only from official statistics.
Live site: https://vandoo-lab.github.io/uk-debt-clock/
A live clock of UK government gross debt, then four steps that build to a conclusion:
It is a static site. Locally, serve it from the project folder:
python3 -m http.server 8765
Then open http://localhost:8765.
scripts/build_data.py downloads the source files into data/raw/ and regenerates data/data.js.
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
rm -f data/raw/ons_*.csv && .venv/bin/python -I scripts/build_data.py
The GitHub Action in .github/workflows/refresh-data.yml runs daily from the 19th to the 28th of each month, around the ONS public sector finances release. It rebuilds data/data.js and commits it when the figures change, and GitHub Pages then republishes the site. This keeps the latest net and gross debt, debt-to-GDP and the clock's starting point current. You can also run it by hand from the repository's Actions tab ("Refresh data", then "Run workflow").
A scheduled Claude task on the owner's Mac follows UPDATING.md after each ONS release. It publishes the routine monthly figures, and prepares Budget and other non-routine updates on a branch for review.
YTD_VS_OBR in scripts/build_data.py) comes from the text of the ONS bulletin. Update those numbers after each release.SOURCES at the new editions, delete the old files from data/raw/, and run the script on your own computer so it downloads the new ones. Commit the new files: the OBR and DWP websites block GitHub's servers, so the monthly workflow uses the copies saved in the repository.PESA_2025_26) from the new PESA release.POPULATION_MID_2025 and HOUSEHOLDS_2025.The site is static and runs on GitHub Pages: Settings → Pages → Deploy from a branch → main, folder / (root). The empty .nojekyll file tells GitHub to serve the files as they are.