Advanced AI Lead Intelligence and Sales Strategy Assistant
Generate business strategy, discover high-potential leads, and create conversion-focused outreach templates using Google Gemini, Google Maps, and Google Search.
LeadGenius AI is a Next.js web application that helps sales teams, agencies, and founders move from planning to outreach in one workflow:
- Define your business profile
- Generate strategic analysis
- Discover qualified leads in target geographies
- Produce personalized outreach sequences
- Build a final summary report with opportunity insights
The project was originally bootstrapped from Google AI Studio app tooling and extended into a complete, production-ready web app.
- Business profile intake with structured targeting inputs
- Magic Auto-Fill using Gemini to convert a plain-language description into form data
- AI strategy generation (business model, 30-day plan, 90-day scaling path)
- Lead discovery powered by Google Maps and Google Search tools
- Lead qualification labels (Hot/Warm/Cold) with in-app status tracking
- CSV export for downstream CRM workflows
- General and lead-specific outreach templates
- Final report generation with conversion and revenue potential framing
- Secure login with role-based access (admin/member)
- Next.js 15
- React 19 + TypeScript
- Google GenAI SDK (@google/genai)
- Tailwind CSS 4
- React Markdown + remark-gfm
- Lucide icons
- app/page.tsx: Main application workflow UI and AI actions
- app/layout.tsx: Global layout and metadata
- app/globals.css: Global styles
- lib/utils.ts: Shared utility helpers
- hooks/use-mobile.ts: Responsive helper hook
- Node.js 18+ (Node.js 20 LTS recommended)
- npm 9+
- A Google Gemini API key from Google AI Studio
- Clone the repository.
- Install dependencies:
npm install- Create an environment file:
cp .env.example .env.local- Add required values in .env.local:
GEMINI_API_KEY=YOUR_GEMINI_API_KEY
AUTH_SECRET=YOUR_STRONG_SECRET
APP_ADMIN_EMAIL=admin@example.com
APP_ADMIN_PASSWORD=YOUR_ADMIN_PASSWORD
APP_MEMBER_EMAIL=member@example.com
APP_MEMBER_PASSWORD=YOUR_MEMBER_PASSWORD- Start development server:
npm run devSign in from the in-app login modal using one of the configured credentials.
- npm run dev: Start local development server
- npm run build: Build for production
- npm run start: Start production server
- npm run lint: Run ESLint
- npm run clean: Clean Next.js artifacts
- GEMINI_API_KEY: Gemini API key used by backend API routes
- AUTH_SECRET: Signing secret for session cookies
- APP_ADMIN_EMAIL / APP_ADMIN_PASSWORD: Admin login
- APP_MEMBER_EMAIL / APP_MEMBER_PASSWORD: Member login
Security model:
- AI calls run server-side through Next.js API routes
- API key is never stored in browser localStorage
- Access is restricted via signed HTTP-only session cookies
Deploy on Vercel (recommended) or any platform that supports Next.js.
Basic Vercel flow:
- Import repository into Vercel
- Set all required environment variables from .env.example in project environment variables
- Deploy
- Installation guide: INSTALL.md
- User manual: USER_MANUAL.md
- Contribution guide and credits: CONTRIBUTING.md
- Keep
screenshot.pngupdated when major UI changes are introduced. - If login or setup flow changes, update README, INSTALL, and USER_MANUAL in the same PR.
- Project contributor: Zain Sardar
This repository currently does not define a root project license. Add a LICENSE file before public/commercial reuse.
