emanartech · transparencia

Cubatão's public spending, made simple

We are rebuilding the Cubatão (SP, Brazil) municipal transparency portal in a simpler, faster way for any visitor, using only the public data the official portal already publishes.

Live from the official portal

Read in real time from the portal's public API (cached for up to 1 hour).

Contracts in 2025…
Contracts last updated on the portal…
Payroll years on the portal…
Payroll last updated on the portal…

What this is

Roadmap

  1. Done Step 1 — Skeleton. Project structure, local Docker with PostgreSQL 16, base API client (Referer header, ~1 request/second, retries), CLI stubs, nightly job at 02:00.
  2. Done Presentation layer. This page on Cloudflare Pages, with an /api layer that reads the portal's public API.
  3. Planned Step 3 — Payroll. Monthly payroll from 2025 on (name, employee id, salary), plus totals by role and department.
  4. Planned Step 4 — Incremental sync. Only download a table when the portal reports a new update.
  5. Planned Step 5 — Public site. Simple search, filters and CSV downloads, served from our own API.