Skip to content

" 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
Web map: switching between reports, risk grid and heat map, then searching an address
Map of central São Paulo covered in colour-coded crime markers
Map of central São Paulo covered in colour-coded crime markers
Sentinel assistant panel giving a critical-risk analysis of the current location
Sentinel assistant panel giving a critical-risk analysis of the current location
Map with Sentinel active, showing a critical risk pill at the bottom
Map with Sentinel active, showing a critical risk pill at the bottom
iPhone Dynamic Island showing a red risk gauge from Sentinel
iPhone Dynamic Island showing a red risk gauge from Sentinel
Lock screen Live Activity with the current risk level
Lock screen Live Activity with the current risk level

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 ◄─────────────┘

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


habla-mucho →

Need something like this? → work with me

:help portfolio

j / k
scroll down / up, selecting links as you reach them
Enter
open the selected link
gg / G
top / bottom
Ctrl-d / Ctrl-u
half page down / up
/text · n / N
search the page · next / previous match
Ctrl-o / Ctrl-i
jump back / forward
1–4
switch buffer (tabs)
-
go up a directory
:e <name>
open a project, e.g. :e sentinel, :e memoryctl or :e work
:ls
list projects
:q
close the buffer (back to index.md), then try it again

Mouse and touch work too. Esc closes this.