Technology
Indexing 330,000+ government entities takes real engineering: high-throughput data pipelines, geospatial search, AI-driven document and speech processing, and resilient infrastructure spanning origin, cloud, and edge. Here's what powers the platform.
Core Platform
Python↗
Primary language across every service and script
FastAPI↗
Async web framework serving all API endpoints and pages
Uvicorn↗
ASGI server running production workloads
Jinja2↗
Server-side HTML templating with i18n support
Starlette↗
ASGI toolkit for middleware, sessions, and request/response handling
asgi-lifespan↗
Programmatic ASGI lifespan management for background service startup and shutdown
Pydantic↗
Data validation and serialization for API models and configuration
asyncpg↗
High-performance async PostgreSQL driver for all database access
Babel↗
Internationalization engine powering 18-language locale support
Doppler↗
Secrets management injecting credentials across all services
tldextract↗
Accurate eTLD+1 extraction from URLs for referrer domain bucketing
Google Analytics Data API↗
GA4 Data API client powering weekly referrer digest reports
Database
Authentication
Google OAuth↗
Sign in with Google accounts via OpenID Connect, including native Android sign-in with server-side ID-token verification
Microsoft OAuth↗
Azure AD and Office 365 account authentication
Apple OAuth↗
Sign in with Apple for iOS and web users
LinkedIn OAuth↗
Professional identity verification and sign-in
JWT + bcrypt↗
Token-based session management and password hashing
Web Crawling
Playwright↗
Headless Chromium automation for JavaScript-rendered government sites
BeautifulSoup↗
HTML parsing and DOM traversal for content extraction
Trafilatura↗
Main content extraction, stripping navigation and boilerplate
Async HTTP client
Async HTTP client with HTTP/2 support for fast page fetching
Tinyproxy
Authenticated proxy pool across distributed relay servers with weighted load balancing by transfer quota
AI Infrastructure
Claude↗
Anthropic's Claude Haiku for basic image analysis
Voyage AI↗
voyage-3 text embeddings for semantic deduplication of incoming service requests
PyTorch↗
Deep learning framework powering OCR, speech, and embedding models on CUDA
Ollama Embeddings↗
Generates document embeddings via nomic-embed-text for vector search
Ollama LLM↗
Self-hosted inference for text classification, entity extraction, report analysis, and meeting summaries
Sentence Transformers↗
CrossEncoder re-ranking for improved search result relevance
Transformers↗
Hugging Face model runtime and Hub powering OCR and re-ranking, and distributing the speech models
Ultralytics YOLOv8↗
Object detection model for image safety classification
BERTopic↗
Topic modeling that clusters grand-jury findings and recommendations into recurring themes
Document Processing
Surya OCR↗
GPU-accelerated text recognition for scanned government documents
PyMuPDF↗
PDF rendering, text extraction, and page-level manipulation
pdfplumber↗
Fallback text extraction when PyMuPDF output quality is low
pypdfium2↗
PDF page rendering to images for the Surya OCR pipeline
pypdf↗
Page-level structural work: splitting, merging, and extracting from consolidated filings
Speech Processing
FFmpeg↗
Audio/video decoding and 16 kHz mono audio extraction from meeting recordings
WhisperX↗
Word-level speech-to-text transcription of public meeting audio
pyannote.audio↗
Speaker diarization: segmenting who is speaking and when
SpeechBrain↗
ECAPA-TDNN speaker embeddings for voice attribution across meetings
Geospatial
Leaflet↗
Interactive map rendering for entity boundaries and jurisdiction views
OpenStreetMap↗
Base map tiles for all geographic visualizations
Shapely↗
Geometric operations for boundary processing and spatial analysis
GADM↗
Global administrative boundary data for 100+ countries
Nominatim↗
Reverse geocoding and address lookup for jurisdiction routing
Communications
SMS and RCS gateway
SMS and RCS messaging for alerts, OTP verification, notifications, and message relay
Transactional email provider
Transactional email delivery for user notifications and digests
Email Relay Network
Dedicated mail servers for two-way correspondence with government agencies (FOIA, public records, service requests)
Postfix + Rspamd↗
Mail transfer with spam filtering, DKIM signing, and rate limiting
SPF + DKIM + DMARC↗
Sender authentication with enforcement policies on every UnGovr domain, plus automated monitoring of DMARC aggregate reports for spoofing attempts
ClamAV↗
Inbound attachment scanning for malware detection
Payments
Mobile
Edge & CDN
Project Galileo↗
Cloudflare's Project Galileo provides free, robust security to vulnerable Internet properties that are the targets of DDoS and other cyber attacks. As a government transparency platform, UnGovr is proud to be a Galileo-protected site, receiving enterprise-level DDoS mitigation, DNS, SSL, and CDN services at no cost.
Cloudflare DNS & SSL↗
Domain management, DDoS protection, and universal TLS certificates
Cloudflare Zero Trust↗
Secure origin connection without exposing server ports
Cloudflare Workers↗
Edge routing, request rewriting, and error handling at the CDN layer
Cloudflare R2↗
Zero-egress object storage for the static sites, uploaded service-request media, and off-site database backups
MCP Server↗
Model Context Protocol endpoint on Workers giving AI agents structured access to entity data, settling per-request payments via the Machine Payments Protocol over HTTP 402
Cloud Infrastructure
Akamai Linode↗
Cloud compute in Los Angeles hosting UnGovr's interactive tier, built so logins, browsing, and service requests stay available independent of the origin server
WireGuard↗
Encrypted network link carrying database replication and internal traffic between the origin server and the cloud tier
Logical Replication↗
PostgreSQL logical replication streaming entity, geography, and routing reference data to the cloud tier in near real time
Hetzner↗
A separate cloud region providing redundancy across UnGovr systems, from off-site database backups to standby mail-relay capacity, kept independent of the primary region










