Purpose
Creates AI-specific βboosted pagesβ - SEO-optimized content pages designed to increase visibility in AI search results. Each page targets a specific topic related to the business.
Architecture
4-Step Pipeline
| Step | Service | Purpose |
|---|
| 1 | get_source_deployment | Get AI site URL and existing posts |
| 2 | scrape_ai_site | Scrape deployed AI site for content |
| 3 | generate_boosted_content | Use LLM to create new page content |
| 4 | generate_boosted_files | Generate HTML, update sitemap, llms.txt |
URL Structure
Boosted pages are published at root level for better AI SEO:
https://business.searchcompany.dev/topic-slug/
https://business.searchcompany.dev/another-topic/
Generated Files
| File | Purpose |
|---|
/{slug}/index.html | The boosted page HTML |
/sitemap.xml | Updated with new page |
/llms.txt | Updated with new page reference |
Code Location
src/app/apis/cron/create_boosted_page/
βββ routes.py # HTTP endpoint
βββ mini_orchestrator.py # Main orchestrator
βββ url_utils.py # URL/slug utilities
βββ children/
βββ step_1_get_source.py
βββ step_2_scrape_ai_site.py
βββ step_3_generate_content.py
βββ step_4_generate_files.py
βββ templates/
βββ boosted_html.py
βββ boosted_index.py
βββ boosted_llms_txt.py
βββ llms_txt_update.py
βββ sitemap_update.py
{
"status": "success",
"files": [...],
"boosted_url": "https://business.searchcompany.dev/topic-slug/",
"boosted_path": "/topic-slug/",
"boosted_id": "boosted_abc123",
"title": "Topic Title",
"project_name": "business-abc123",
"ai_site_url": "https://business.searchcompany.dev",
"faq_category": "business_boosted"
}
This endpoint generates files but does NOT deploy. Call deploy-to-vercel separately with the returned files.