In active development

agol_fdw Console

A browser UI for agol_fdw — a map viewer and admin console, built as GeoLibre plugins.

Heads up on maturity. The Console is in active development. The shell, plugin contract, both plugins (map viewer + admin), and the thin API surface are scaffolded. Read/identify on the map works now; map editing follows the sync worker.

What it is

The Console is a frontend web app that drives agol_fdw from the browser instead of SQL. It's built as a GeoLibre plugin host: a small plugin contract ({ id, title, mount, unmount }) and a registry, with two plugins sharing one shell:

How it talks to the database

The Console holds no SQL. It calls a thin FastAPI layer that wraps the existing agol_fdw.* functions over HTTP — no new business logic. Vector tiles come from an MVT endpoint over the data.* tables, gated by an identifier allow-list and a registered-layer check.

# run the thin API
export DATABASE_URL=postgresql://...
export CONSOLE_API_TOKEN=$(openssl rand -hex 24)
uvicorn app.main:app --port 8000

# run the frontend
npm run dev   # http://localhost:5173

Why it matters

Related

← Back to home