Skip to content

Repository files navigation

Lead Mapper

Local-first lead scanner for finding Google Business Profile listings that do not have a website.

Setup

  1. Install dependencies:
npm install
  1. Create .env.local:
NEXT_PUBLIC_GOOGLE_MAPS_BROWSER_KEY=your_browser_key_here
GOOGLE_PLACES_SERVER_KEY=your_server_key_here

Enable these Google Cloud APIs:

Browser key:

  • Restriction: Websites
  • APIs: Maps JavaScript API, Places API
  • Referrers: http://localhost:3000/*, http://127.0.0.1:3000/*

Server key:

  • Restriction: None for local dev, or IP addresses if you have a stable outbound IP
  • APIs: Places API (New)
  1. Start the app:
npm run dev

Open http://localhost:3000/scan.

Notes

  • Scans are manual only. The app only calls Google Places when you click Scan This Area.
  • Results are stored in data/lead-mapper.sqlite.
  • Nearby Search (New) currently returns up to 20 places per request and supports websiteUri in the response field mask.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages