scvalex/budget-explorer
1
0
Fork
You've already forked budget-explorer
0
Explorer for the Romanian state budget https://bugetuldestat.ro/
  • Rust 79.2%
  • HTML 14.5%
  • Nix 3.8%
  • Just 1.1%
  • Fluent 0.8%
  • Other 0.6%
Alexandru Scvorțov 0cb9fd7c65
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
data: update 2026q1 GDP numbers
2026年06月07日 12:07:22 +03:00
.helix web: assign colors more intelligently 2025年07月31日 13:01:46 +01:00
.woodpecker ci: fallback to source build if cachix is offline 2025年07月21日 13:37:58 +01:00
budget_data data: update 2026q1 GDP numbers 2026年06月07日 12:07:22 +03:00
cli data: update to 2026 (missing quarterly GDP figures) 2026年04月15日 10:46:20 +01:00
common web: bump all deps 2026年03月24日 17:06:51 +00:00
deployment prod: harden anti-affinity requirements 2025年07月27日 21:53:15 +01:00
web data: update 2026q1 GDP numbers 2026年06月07日 12:07:22 +03:00
.gitattributes ops: delete vm deployment 2025年05月31日 14:06:44 +01:00
.gitignore data: more translations 2025年08月05日 20:32:19 +01:00
.ignore dev: don't use a workspace, flatten common, and split flake.nix 2025年07月21日 12:42:14 +01:00
container.nix dev: bump deps and make fakeNss files not symlinks 2025年12月05日 13:43:30 +00:00
flake.lock dev: bump nix deps to 26.05 2026年06月07日 12:07:12 +03:00
flake.nix dev: bump nix deps to 26.05 2026年06月07日 12:07:12 +03:00
Justfile data: update 2026q1 GDP numbers 2026年06月07日 12:07:22 +03:00
LICENSE doc: add LICENSE (EUPL) 2024年11月22日 18:12:48 +00:00
README.md docs: add link to the nice URL 2025年03月11日 14:13:24 +00:00
restart-permissions.yaml ops: deploy to kubernetes 2025年05月31日 13:54:28 +01:00
robots.txt ops: add robots-ai-txt back 2025年05月31日 14:15:58 +01:00
rust-packages.nix ci: fix build 2026年03月24日 20:02:47 +00:00
translate.nix translate: stop using github to download models 2025年05月30日 09:38:26 +01:00
translations.csv data: update to 2026 (missing quarterly GDP figures) 2026年04月15日 10:46:20 +01:00
trigger-restart.sh ops: deploy to kubernetes 2025年05月31日 13:54:28 +01:00

Budget Explorer

Visualization for Romania's state budget

Live version

https://bugetuldestat.ro/

Development

Make sure you have nix installed and run nix develop to get a development shell with all the deps.

See the ./Justfile for common tasks.

When developing the webapp, you only really need to run just serve in a checkout of the repo. Everything gets built/rebuild as needed. You might need to hard reload (Ctrl-Shift-R) the browser after every incremental build, though.

The rough process for building everything is:

# Build the cli
$ just build
# Download the XMLs from the Ministry of Finance
$ just download
# Pre-process the data for the web UI (the files are committed, so you only
# need to do this if the code or source files have changed).
$ just process
# Translate the pre-processed data into English. This requires being in a
# `nix develop` shell beforehand.
$ just translate
# Generate the CSV file dumps
$ just dump-csv
# Run the dev web server
$ just serve
# Deploy everything
$ just deploy

Data (RO)

Budget data

GDP (nominal) numbers