An r/Entrepreneurs thread suggested building demo sites for businesses without websites and using them as cold outreach. This tutorial automates the pipeline: find lead → get business info → generate site → deploy → outreach.
Prerequisites
- Scavio API key
- GitHub account with Pages enabled
- Template site generator (Hugo, 11ty, or plain HTML)
Walkthrough
Step 1: Fetch business data
Use Scavio to get business info from Google.
import requests, os
H = {'x-api-key': os.environ['SCAVIO_API_KEY']}
def get_business_info(business_name, location):
return requests.post('https://api.scavio.dev/api/v1/search',
headers=H,
json={'platform': 'google', 'query': f'{business_name} {location}'}).json()Step 2: Generate the demo site
Fill a template with business data.
def generate_site(business):
template = open('template.html').read()
return template.replace('{{name}}', business['title'])\
.replace('{{phone}}', business.get('phone', ''))\
.replace('{{address}}', business.get('address', ''))\
.replace('{{hours}}', business.get('hours', 'Call for hours'))Step 3: Deploy to GitHub Pages
Push each demo site to a GitHub Pages subdirectory.
import subprocess
def deploy(slug, html):
path = f'demos/{slug}/index.html'
os.makedirs(f'demos/{slug}', exist_ok=True)
with open(path, 'w') as f:
f.write(html)
subprocess.run(['git', 'add', path])
subprocess.run(['git', 'commit', '-m', f'add demo: {slug}'])
subprocess.run(['git', 'push'])Step 4: Send outreach with demo link
Email with the live demo site as the pitch.
# The demo site IS the pitch
# Subject: I made a website for {business_name} (free preview)
# Body: Link to the live demo + offer to customize
# No PDF, no deck, just a working websitePython Example
# Pipeline: Google Maps → filter no-website → generate demo → deploy → email
# Cost: $0.005 per business lookup + free GitHub Pages hosting
# 100 demos = $0.50 in API cost + 2 hours of pipeline timeJavaScript Example
// Same pattern with Node.js + Octokit for GitHub deployment.Expected Output
Auto-generated demo websites for businesses without web presence, deployed to GitHub Pages, with cold outreach email templates.