Skip to content
Local-first internal tool with AI assistance, Freelance web services, local business sales

Lead to Launch

A local-first dashboard and Claude Code skill that runs a five-phase freelance website pipeline: scrape Google Maps, audit, rank, build a site prompt and draft outreach with a day-3 follow-up.

Lead to Launch ranked prospects screen with a top-three podium and a scored table of twelve leads
Phase three: a top-three podium and a scored table with a one-line reason per lead. Sample data and a stubbed AI response.

Lead to Launch is a tool for freelancers who sell websites to local businesses. The user enters a niche and a location. The tool pulls matching businesses from Google Maps, audits their online presence, ranks them by how likely they are to buy, writes a website-builder prompt for the best prospect and drafts a first message plus a day-3 follow-up.

It ships in two forms that follow the same five phases: a Next.js dashboard that runs on localhost, and a Claude Code skill that runs the pipeline as a conversation with no browser. The first phase uses Apify for live scraping, or a bundled demo dataset when no token is set. Phases two to five call the Claude Code command line installed on the same machine, under the user's own subscription.

The project is an internal tool built for the team's own freelance work, not a hosted product. The screenshots below use clearly generic sample data and a stubbed AI response, and no results or revenue figures are claimed.

Problem

Finding the right local client is slow manual work

A freelancer selling websites to local businesses has to do the same chain of work for every prospect: search a map for candidates, check whether each one has a site and how good it is, decide who is worth contacting, work out what to build and write a message that does not read like a template.

Done by hand, that is a spreadsheet, a dozen browser tabs and a lot of copy and paste. The steps depend on each other, so a weak early step wastes every later one.

Scrape screen with niche, location and count fields, a live map of lead markers and a results table
Phase one: target fields, a live map and the scraped results. Sample data.
Approach

One pipeline, confirmed at each step

The five phases are fixed and run in order: scrape, audit, rank, build, outreach. Each phase shows its result and waits for the user before moving on, so a person stays in charge of who gets pitched and what is sent.

The AI work runs locally. The dashboard calls the Claude Code command line as a subprocess, pinned to the standard-context model, and reads structured JSON back. No API key is stored in the app, and a status badge shows whether the command line was found.

The same logic is packaged as a Claude Code skill, so the pipeline also works as a chat with no dashboard at all.

Audit screen with summary tiles and a card per lead showing gaps and estimated monthly loss
Phase two: a card per lead with gaps, a score ring and the estimated monthly loss. Sample data and a stubbed AI response.
Solution

From a niche and a city to a first message

Phase one takes a niche, a location and a count, then returns businesses with contact details, rating, review count, photo count and map position, plotted on a live map. With no Apify token it serves a bundled demo dataset instead.

Phase two asks Claude to audit each selected lead and return the gaps it finds, the single biggest gap and an estimated monthly revenue loss. Phase three scores every audited lead from 0 to 100 with a one-line reason, shows the top three on a podium and lists the rest in a table.

Phase four writes a complete builder prompt for the chosen lead and a target platform (Lovable, Claude Code, Bolt.new or Codex), with pitch points for the owner. Phase five drafts a first message and a day-3 follow-up for WhatsApp, email or Instagram, in English or Hinglish, with a suggested send time.

Key features
  • Five phases, one dashboard

    A stepper moves through scrape, audit, rank, build and outreach. Completed phases are marked, and each phase can be revisited.

  • Live scrape or bundled demo data

    Google Maps results through an Apify actor when a token is set, and a bundled demo dataset when it is not, so the tool runs on first launch.

  • Audit with a stated loss estimate

    Each lead gets a list of gaps, one biggest gap and an estimated monthly loss in rupees, worked out from review count with a higher base for businesses without a website and a floor of 20,000.

  • Ranking with a reason

    A 0 to 100 score per lead, weighted toward missing or slow sites, review volume and rating, how reachable the owner is, category fit and revenue left on the table.

  • Builder prompt for four platforms

    A full website prompt with mobile-first layout, a floating WhatsApp button, click-to-call, a trust strip, FAQ, location section and local-business schema markup, adapted to the chosen platform.

  • Outreach with a day-3 follow-up

    WhatsApp, email and Instagram drafts with channel-specific length rules, English or Hinglish, and a follow-up that restates the cost of waiting.

Build screen with a generated website-builder prompt beside a sample layout preview and pitch points
Phase four: the builder prompt, a layout preview and pitch points. Sample data and a stubbed AI response.
Outreach screen with channel buttons, a language switch, a first message and a day-3 follow-up
Phase five: a first message and a day-3 follow-up. Sample data and a stubbed AI response.
Ranked prospects screen on a phone with the podium cards stacked above the table
The ranked prospects screen on a phone. Sample data.
Outreach drafts screen on a phone showing the first message and follow-up stacked
The outreach drafts on a phone. Sample data.
Under the hood
  1. 01

    No API key, by design

    A small wrapper runs the local Claude Code command line with a timeout, parses the JSON envelope and extracts the first JSON value from the reply. If the command line is missing, the AI phases show an install panel and the scrape phase still works.

  2. 02

    Defensive handling of model output

    Each API route fills missing fields with safe defaults, clamps scores to the 0 to 100 range and enforces the loss floor, so a partial reply does not break the screen.

  3. 03

    Next.js 16 with a local-first footprint

    Next.js 16, React 19, Tailwind CSS 4, Framer Motion for phase transitions and Leaflet for the map. Fonts are system stacks so the build does not need network access.

  4. 04

    One logic, two front ends

    The dashboard routes and the Claude Code skill describe the same phases and the same loss formula, so the pipeline behaves the same in a browser or in chat.

  5. 05

    One-click launchers

    Launch scripts for macOS and Windows start the server and open the browser, with a setup guide that covers first-launch behaviour and common errors.

  6. 06

    Tests around the data layer

    The repository has Vitest suites for the audit, persistence and CSV export code that sits beside the dashboard.

Outcome
  • A freelancer can go from a niche and a city to a ranked prospect list, a website prompt and two outreach drafts in one place.
  • The AI phases run under the user's own Claude Code subscription, with no API key to store or rotate.
  • A person confirms each phase before the next one runs, so nothing is sent without being read.
  • The same pipeline is available as a dashboard and as a chat skill.

Next project

Orrisian Motion StudioMotion graphics, launch and product video