" flagship · ../
Mapa de Crimes / Sentinel
Crime map + real-time safety app for São Paulo, with a Portuguese-speaking assistant
Want something like this for your business? → work with me
- status
- live
- started
- 2026-03
- repo
- private
- link
- mapadecrimes.ia.br
GoPostgreSQLPostGISsqlcPythonFlutterDartSwiftKotlinMapLibre GLCaddymultilingual-e5MCP
1.8M+police reports indexed
1,000+commits since March
~63klines of code
149Go test files





The most complex thing I’ve built: public police data → a crime map, a mobile safety app and an assistant that speaks Portuguese.
The problem
SSP-SP publishes every police report as huge spreadsheets: UTF-16 text named .xls, comma decimals, many rows with no coordinates.
What I built
SSP-SP exports ──► Python ETL ──► PostgreSQL + PostGIS ──► Go API ──┬─► web map (MapLibre)
(xls/xlsx, RSS) geocoding grid + zone stats sqlc ├─► Flutter app (iOS/Android)
+ cache news events └─► Sentinel assistant
│
e5 embedding sidecar ◄─────────────┘
- ETL: 5-step geocoding fallback with a Postgres cache. 82% of reports get precise coordinates.
- Go backend: one binary with the web map built in, on a free 1 GB VM.
- Sentinel app: tracks risk as you move, with GPS tuned to save battery. Risk shows in the Dynamic Island and the lock screen. Location stays on the phone.
- News: RSS classified by crime and city, turned into indexable city pages.
The assistant
Ask “is it safe to park here tonight?” in plain Portuguese. It runs on its own NLU, not a chatbot wrapper: local e5 embeddings choose the intent, then resolvers handle places, times and follow-ups. Lab CLIs replay a saved corpus before and after each change.
How I work on it with AI
mapa-opsMCP (14 tools): agents deploy, read logs and query production through typed tools. Writes ask first.memoryctl: shared project memory. It’s what made building this solo possible. 799 items in 7 months.- Review gate: risky changes need a Codex logic review before commit.
/ux-review: an agent uses the app as a real person on iPhone, Android and desktop.
Need something like this? → work with me