โโโ โโโโโโโโ โโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโ โโโ
โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโ
โโโ โโโโโโ โโโโโโโโโโโ โโโโโโ โโโโโโโโโโ โโโโโโ โโโ
โโโ โโโโโโ โโโโโโโโโโโ โโโโโโ โโโโโโโโโ โโโโโโโโโโ
โโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ
โโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโ โโโโโโโ โโโโโโโโโโโ โโโโโ
Autonomous Multi-Tenant Website Builder & Infrastructure Deployment Pipeline
๐บ๐ธ English โข ๐จ๐ณ ไธญๆๆๆกฃ
LeadGen is a zero-friction, fully autonomous multi-tenant website builder and cloud deployment orchestration system. It bridges the gap between merchant lead discovery, LLM-powered Generative UI synthesis, dynamic Vercel custom domain mounting, and automated GoDaddy DNS record injectionโachieving 100% closed-loop execution without human intervention.
๐ Zero Rigid Templates: LeadGen dynamically synthesizes bespoke CSS color tokens (
primary,secondary,accent), typography, and component variants (bento-hero,price-list-table,bento-masonry) for every single merchant based on real business context and industry domain patterns!
|
|
|
|
graph TD
A[๐ Merchant Discovery / Scraping] -->|Scraped Metadata & Reviews| B(๐ค Lead Enrichment Agent)
B -->|Structured Lead Object| C(๐จ AI Design Synthesizer / Website Builder)
C -->|Site Config JSON Schema| D[(๐๏ธ Neon PostgreSQL DDD Schema)]
D -->|Deploy Lead Credentials| E(๐ Vercel Agent)
E -->|Request Domain Mount & Fetch TXT Token| F[โ๏ธ Vercel Custom Domains API]
F -->|Return TXT Verification Token & CNAME| G(๐ GoDaddy DNS Agent)
G -->|Inject TXT & Specialized CNAME Node| H[๐ก GoDaddy DNS API]
H -->|Trigger Verification Check| E
E -->|Domain Fully Active & Live| I[โ
100% Live Merchant Site]
The system enforces a decoupled Domain-Driven Design schema across Neon Serverless PostgreSQL:
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ leads โโโโโโโ<โ lead_enrichmentsโโโโโโโ<โ site_configs โโโโโโโ<โ deployments โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ id (PK) โ โ id (PK) โ โ id (PK) โ โ id (PK) โ
โ name, city โ โ lead_id (FK) โ โ lead_id (FK) โ โ lead_id (FK) โ
โ category, phone โ โ google_rating โ โ site_config JSONโ โ subdomain โ
โ subdomain โ โ reviews_json โ โ admin_pass โ โ cname_target โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
| CLI Command | Description | Status / Purpose |
|---|---|---|
python tools/provision_single_merchant.py <subdomain> |
1-by-1 Merchant Provisioner: Runs scraping, LLM UI synthesis, Vercel mount, and GoDaddy DNS injection synchronously. | ๐ข Production Ready |
python tools/rebuild_all_site_configs.py |
Batch UI Design Refresh: Executes LLM Generative UI Engine across all 14 database merchants. | ๐จ Generative Synthesizer |
python tools/deploy_all_merchants_bulletproof.py |
Full Fleet DNS Deployment: Bulk mounts Vercel subdomains and configures GoDaddy DNS records idempotently. | ๐ Fleet Automation |
python tools/inspect_vercel_real_domain.py <subdomain> |
Vercel Payload Auditor: Inspects Vercel custom domain configuration & authoritative CNAME target nodes. | ๐ Diagnostics Tool |
swiss-leadgen/
โโโ agents/
โ โโโ website_builder.py # LLM Generative UI & Design Synthesizer Engine
โ โโโ vercel_agent.py # Vercel Custom Domain Mounting & Verification Agent
โ โโโ godaddy_agent.py # GoDaddy Auto DNS Record Injector Agent
โ โโโ lead_enrichment.py # Google Maps Ratings & Reviews Scraper Agent
โ โโโ deploy_agent.py # Pipeline Orchestrator & Multi-Agent Coordinator
โโโ multi_tenant_site/ # Next.js 14 Multi-Tenant App Router Platform
โ โโโ src/app/site/[domain]/
โ โโโ TenantClientView.tsx # Dynamic Component Renderer (Generative UI)
โโโ docs/
โ โโโ Workflow.md # Multi-Tenant Deployment Workflow Standard
โ โโโ Site_Config.md # Standard Site Config JSON Schema Spec
โโโ tools/ # Standardized CLI Automation Scripts
โโโ crm.py # Neon PostgreSQL Database Access Layer (DDD)
โโโ requirements.txt # Python Dependencies
Copy .env.example to .env and fill in your API credentials:
cp .env.example .envDATABASE_URL=postgresql://user:password@neon-db-url/neondb?sslmode=require
OPENAI_API_KEY=sk-proj-...
VERCEL_TOKEN=...
VERCEL_PROJECT_ID=...
VERCEL_TEAM_ID=...
GODADDY_API_KEY=...
GODADDY_API_SECRET=...# Install Python dependencies
pip install -r requirements.txt
# Build Next.js Multi-Tenant Application
cd multi_tenant_site && npm install && npm run build && cd ..python tools/provision_single_merchant.py backerei-muller.tubban.com- ๐ Multi-Tenant Deployment Workflow Standard (Workflow.md)
- ๐ Standard Site Config JSON Schema Specification (Site_Config.md)
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Distributed under the MIT License. See LICENSE for more information.