Metadata-Version: 2.4
Name: stratixleadscraper
Version: 1.3.4
Summary: Lead scraping tool for Google Maps
Project-URL: Homepage, https://stratixagency.site
Author-email: Stratix Agency <admin@stratixagency.site>
License: Proprietory
Keywords: google-maps,lead-scraper,leads,scraping
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: flask>=3.0
Requires-Dist: openpyxl>=3.1
Requires-Dist: pandas>=2.0
Requires-Dist: playwright>=1.40
Provides-Extra: prod
Requires-Dist: waitress>=3.0; extra == 'prod'
Description-Content-Type: text/markdown

# Stratix Lead Scraper Server

A hosted lead scraping server. Users sign up in their browser and scrape Google Maps leads — no installation needed on their end.

## How it works

- **You** install this on a server (VPS, cloud VM, or your own machine)
- **Your users** visit your server URL in their browser, sign up, and scrape
- **Admin panel** lets you manage all users, upgrade them to paid, view usage, reset passwords

## Install (server only)

```bash
pipx install stratixleadscraper
pip install waitress  # recommended for production
playwright install chromium  # for headless browser
```

## Run

```bash
stratixleadscraper
```

Opens on `http://0.0.0.0:5000`.

### Production

```bash
HOST=0.0.0.0 PORT=5000 stratixleadscraper
```

Or use environment variables. Point your domain or IP at the server.

## Configuration

Edit `config.json` (auto-created on first run):

| Key | Purpose |
|---|---|
| `site_url` | Your public URL (e.g. `https://leads.yourdomain.com`) — used in password reset emails |
| `smtp_host` | SMTP server for sending password resets |
| `admin_email` | Contact email shown to free users who hit their limit |

## Default admin

- Email: `admin@stratixagency.site`
- Password: `Admin@123`

**Change this immediately** after first login. Admin panel at `/admin`.

## Tiers

- **Free**: 10 scrapes, then prompted to contact admin
- **Paid**: ₹299/month — admin generates a license key linked to the user's email
