đ„ letâs go! I built you a cPanel-ready âJD Sales GEN 2.0â web app scaffold that matches that sleek dark/gradient style and wires in the core flow you described:
Splash + app shell + PWA (installable).
âMy Servicesâ grid (House cleaning, Pressure washing, Yard organization, Demolition, Pool & paver sealer, Screen enclosures, Tile installation, Gutter installation , General services, Cabinet installation).
Service tools page:
URL Capture â Email Extractor (via api/fetch.php + regex).
Recipients editor (up to 10).
Lead form (name/company/phone/address/notes) + save to data/leads.json via api/leads.php.
Dynamic proposal generator (subject/body templated by service).
One-click email (mailto:), Copy , and Social share (Web Share API fallback to FB/X/LinkedIn share URLs).
Ads Generator (separate page) to make a banner:
Canvas âflash bannerâ (headline, subhead, contact, CTA, optional background image) â Download PNG .
Export SVG markup for vector use.
Offline caching with sw.js, manifest + icons so it installs like an app.
upgraded Ads page with the Research Tool moved to the bottom of /tools/ads/index.html, pulling results from the web via DuckDuckGo (server-side cURL), plus URLâemail capture, a proposal composer, and optional Google Sign-In.
Download
Whatâs inside (and how it maps to your asks)
Research Tool = real web search
Endpoint: ads/api/search.php uses DuckDuckGo HTML with server-side cURL, so it doesnât âsearch your siteââit fetches public web results.
Results show Title + URL + snippet. Clicking a result auto-fills the URL into the URL â Email Capture box above it.
URL â Email Capture (auto-extract up to 10 emails)
Endpoint: ads/api/fetch.php fetches any webpage and extracts emails (filters out obvious no-replys).
Captured emails get added to the Recipients list (up to 10), ready to drop into a proposal email.
Proposal Composer (right on the Ads page)
Generate a ready-to-send proposal (one-click).
Compose in Gmail button opens Gmail with recipients/subject/body prefilled.
Open in Email uses mailto: if youâre not on Gmail.
Copy button for quick paste.
More Social options & lightweight ad banner canvas
Quick banner maker remains on top for simple promos (download as PNG).
You can paste that image into social posts, the sales page, or email outreach.
Optional Google Sign-In (simple front-end)
The header includes Google Identity Services (no Gmail API yetâjust sign-in).
Replace REPLACE_WITH_YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com in ads/index.html with your Client ID.
Shows âSigned in with Googleâ status; later we can enable Gmail API / Google Drive (requires a small backend + OAuth consent screen).
Install steps (cpanel)
Upload & extract to: /public_html/tools/ads/
This creates index.html, assets/, and api/ in that folder.
Make sure PHP has cURL enabled . (In cPanel â Select PHP version â enable âcurlâ.)
ads/api/search.php and ads/api/fetch.php both require cURL.
(Optional) Google Sign-In
In Google Cloud Console â OAuth credentials â Web Client â add your domain as an Authorized JavaScript origin.
Put your Client ID into the data-client_id in index.html.
đ„ letâs go! I built you a cPanel-ready âJD Sales GEN 2.0â web app scaffold that matches that sleek dark/gradient style and wires in the core flow you described:
api/fetch.php+ regex).data/leads.jsonviaapi/leads.php.mailto:), Copy, and Social share (Web Share API fallback to FB/X/LinkedIn share URLs).sw.js, manifest + icons so it installs like an app.upgraded Ads page with the Research Tool moved to the bottom of
/tools/ads/index.html, pulling results from the web via DuckDuckGo (server-side cURL), plus URLâemail capture, a proposal composer, and optional Google Sign-In.Download
Whatâs inside (and how it maps to your asks)
ads/api/search.phpuses DuckDuckGo HTML with server-side cURL, so it doesnât âsearch your siteââit fetches public web results.ads/api/fetch.phpfetches any webpage and extracts emails (filters out obvious no-replys).mailto:if youâre not on Gmail.REPLACE_WITH_YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.cominads/index.htmlwith your Client ID.Install steps (cpanel)
/public_html/tools/ads/index.html,assets/, andapi/in that folder.ads/api/search.phpandads/api/fetch.phpboth require cURL.data-client_idinindex.html.AUTHOR
Dede