Technology
UnGovr is built on an async Python stack with edge caching, spatial databases, GPU-accelerated AI, and distributed relay infrastructure. 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
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
httpx↗
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
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
AI & Machine Learning
Claude↗
Anthropic's Claude Haiku for image analysis and text intelligence
PyTorch↗
Deep learning framework powering OCR 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, and report analysis
Sentence Transformers↗
CrossEncoder re-ranking for improved search result relevance
Transformers↗
Hugging Face model runtime powering Surya OCR and re-ranking
Ultralytics YOLOv8↗
Object detection model for image safety classification
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
Twilio↗
SMS and RCS messaging for alerts, OTP verification, notifications, and message relay
Resend↗
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
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 Tunnel↗
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 serving the static marketing site via Workers
MCP Server↗
Model Context Protocol endpoint on Workers giving AI agents structured access to entity data, with MPP payment support
DevOps
Linode↗
Akamai cloud hosting for all production servers and GPU compute
GitHub↗
Source control, issue tracking, and project management
Claude Code↗
AI-assisted development powering feature work across all codebases
Atlassian Suite↗
Project planning and documentation
tmux↗
Terminal multiplexer for persistent server sessions
cmux↗
Agent-optimized terminal for orchestrating parallel AI coding sessions













