How obaid1dev/autolead works
AutoLead turns a place-and-category search into a contact-rich local-business lead list. The browser submits search criteria; the API resolves the place, searches OpenStreetMap business data, and returns filtered results for display or CSV export. The graph includes category mapping and API models as internal layers. Source excerpts show the main calls and external requests; frontend presentation details and several advertised capabilities are documented in the README rather than inspected source.
Main entry points: main.py API routes · app.js Search and results · overpass.py Overpass search and processing · index.html Search interface
Components 12
Browser experience
- Search interface
app/static/index.html - Search and results
app/static/app.js - Responsive themes
app/static/styles.css - CSV export
app/static/app.js
Search API
- API routes
app/main.py - Request and response models
app/models.py
Place discovery
- Category catalog
app/categories.py - Place geocoding
app/geo.py
Business data
- Overpass search and processing
app/overpass.py
Other components
- Searcher
- Nominatim
- Overpass API
Connections 15
- Searcher → Search interface: enters search
README.md - Search interface → Search and results: provides controls
README.md - Search and results → API routes: posts search
app/static/app.js - Search and results → API routes: loads categories
app/static/app.js - API routes → Search interface: serves page
app/main.py - API routes → Request and response models: validates and returns
app/main.py - API routes → Category catalog: lists options
app/main.py - API routes → Place geocoding: resolves place
app/main.py - Place geocoding → Nominatim: requests bounds
app/geo.py - API routes → Overpass search and processing: searches bounds
app/main.py - Overpass search and processing → Overpass API: queries OSM
app/overpass.py - Overpass search and processing → Category catalog: builds filters and labels
app/overpass.py - Overpass search and processing → Request and response models: creates businesses
app/overpass.py - Search and results → CSV export: exports results
app/static/app.js - Search and results → Responsive themes: renders styled page
README.md