How beterxie/ai_price_radar works
AI Price Memory aggregates public AI-subscription offers into a verified, comparable catalog and exposes it through a website and read-only feeds. Its main workflow is discovery and scanning, validation and publication, then API-backed browsing and comparison. The graph also includes account/notification, merchant-intake, and auxiliary catalog capabilities documented in the README. Source excerpts confirm API startup and snapshot-route fallback behavior; some subsystem links reflect README documentation rather than sampled implementation.
Main entry points: database.py Catalog database · app Price comparison site · ldxp_crawler Discovery and scanner · publish_catalog.py Catalog sync
Components 24
Source collection
- Discovery and scanner
crawler/ldxp/ldxp_crawler - Crawler database
crawler/ldxp/ldxp_crawler/db.py - Source qualification
detector/worker.py
Catalog publication
- Catalog sync
pipeline/publish_catalog.py - Merchant connectors
pipeline/connectors - Catalog database
apps/api/app/database.py - Classification and pricing
apps/api/app/services/classifier.py
API and website
- FastAPI application
apps/api/app/main.py - Catalog and feed routes
apps/api/app/routers/public.py - Price comparison site
apps/web/app - Web API client
apps/web/lib/api.ts - Snapshot endpoints
apps/web/app/data/latest.json/route.ts
User and merchant features
- Accounts and watchlists
apps/api/app/routers/user.py - Notification services
apps/api/app/services/notification_hub.py - Bot integrations
extensions/bots - Merchant intake
apps/api/app/services/source_intake.py - Review and administration
apps/api/app/routers/admin.py
Catalog extensions
- Buying guides
apps/web/content/guides - Community skills
apps/api/app/services/community_skills.py - Ads and relay directory
apps/api/app/routers/public.py
Other components
- Public indexes
- Public shops
- Price researchers
- Feed consumers
Connections 24
- Public indexes → Discovery and scanner: seed discovery
- Public shops → Discovery and scanner: scan public offers
- Discovery and scanner → Crawler database: store scan results
- Source qualification → FastAPI application: submit qualification
- Discovery and scanner → Catalog sync: provide crawler data
- Merchant connectors → Catalog sync: supply merchant feeds
- Catalog sync → Crawler database: read scan data
- Catalog sync → Catalog database: publish catalog
- Classification and pricing → Catalog database: classify and update
- FastAPI application → Catalog and feed routes: mount routes
- Catalog and feed routes → Catalog database: read catalog
- Price comparison site → Web API client: request catalog data
- Web API client → FastAPI application: call API
- Price researchers → Price comparison site: browse and compare
- Feed consumers → Snapshot endpoints: fetch snapshots
- Snapshot endpoints → FastAPI application: fallback fetch
- Accounts and watchlists → Catalog database: read and update accounts
- Notification services → Catalog database: read subscriptions
- Notification services → Bot integrations: dispatch alerts
- Merchant intake → Catalog database: record submissions
- Review and administration → Catalog database: review and manage
- Price comparison site → Buying guides: present guides
- Price comparison site → Community skills: present community skills
- Catalog and feed routes → Ads and relay directory: serve ads and relays