{"id":51656085,"url":"https://github.com/itsmebelprogrammer/lunar-leads","last_synced_at":"2026-07-14T09:04:26.406Z","repository":{"id":343366016,"uuid":"1177314122","full_name":"itsmebelprogrammer/lunar-leads","owner":"itsmebelprogrammer","description":"B2B SaaS lead generation platform — FastAPI, Celery, Angular, PostgreSQL, Docker","archived":false,"fork":false,"pushed_at":"2026-04-27T23:23:24.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T00:15:56.356Z","etag":null,"topics":["angular","celery","docker","fastapi","lead-generation","python","saas"],"latest_commit_sha":null,"homepage":"https://lunar-leads.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsmebelprogrammer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-09T22:59:28.000Z","updated_at":"2026-04-27T23:23:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/itsmebelprogrammer/lunar-leads","commit_stats":null,"previous_names":["itsmebelprogrammer/lunar-leads"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsmebelprogrammer/lunar-leads","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmebelprogrammer%2Flunar-leads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmebelprogrammer%2Flunar-leads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmebelprogrammer%2Flunar-leads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmebelprogrammer%2Flunar-leads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsmebelprogrammer","download_url":"https://codeload.github.com/itsmebelprogrammer/lunar-leads/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmebelprogrammer%2Flunar-leads/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35453853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","celery","docker","fastapi","lead-generation","python","saas"],"created_at":"2026-07-14T09:04:23.177Z","updated_at":"2026-07-14T09:04:26.393Z","avatar_url":"https://github.com/itsmebelprogrammer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌙 Lunar Leads\n\n**B2B SaaS lead generation platform.**\n\n\u003e **This repository contains a public skeleton of the project.** The proprietary scraper and seed data are not included — see the [Scraper](#scraper) and [Seed Data](#seed-data) sections below.\n\n---\n\n## Live Demo\n\n**[▶ Access the app](https://lunar-leads.vercel.app)**\n\n---\n\n## What is it?\n\nLunar Leads lets small businesses and sales professionals generate qualified lead lists in minutes. The user selects a state and a market niche, the system automatically searches for companies and delivers a CSV file with business name, phone, website, and a direct WhatsApp link.\n\n---\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|------------|\n| API | FastAPI + Python |\n| Database | PostgreSQL |\n| ORM | SQLAlchemy 2.0 async |\n| Migrations | Alembic |\n| Auth | JWT |\n| Worker | Celery + Redis |\n| Frontend | Angular 17+ |\n| Infra | Docker Compose |\n\n---\n\n## Features\n\n- User registration and login with JWT authentication\n- Monthly quota control per user\n- Lead list creation by state + market niche\n- Async processing via Celery workers\n- CSV download with generated leads\n- Admin panel with unlimited quota\n\n---\n\n## Project Structure\n\n```\nlunar-leads/\n├── apps/\n│   └── api/          ← FastAPI backend\n│       ├── app/      ← Models, routers, schemas, services\n│       ├── worker/   ← Celery + scraper (stub)\n│       └── alembic/  ← Database migrations\n├── web/              ← Angular 17+ frontend\n└── infra/            ← Docker Compose\n```\n\n---\n\n## Running Locally\n\n### Prerequisites\n\n- Python 3.11+\n- Node.js 18+\n- Docker\n\n### Backend\n\n```bash\ncd apps/api\n\n# Create virtual environment\npython -m venv .venv\nsource .venv/bin/activate  # Linux/Mac\n# .venv\\Scripts\\activate   # Windows\n\n# Install dependencies\npip install -r requirements.txt\n\n# Copy and fill environment variables\ncp .env.example .env\n\n# Start database and Redis\ndocker-compose -f ../../infra/docker-compose.yml up -d\n\n# Apply migrations\nalembic upgrade head\n\n# Seed states and niches\ncp scripts/seed.example.py scripts/seed.py\n# Edit seed.py and fill in STATES and NICHES, then run:\npython scripts/seed.py\n\n# Start API\nuvicorn app.main:app --reload --port 8000\n```\n\n### Worker\n\n```bash\ncd apps/api\ncelery -A worker.celery_app.celery worker --loglevel=info --pool=solo\n```\n\n### Frontend\n\n```bash\ncd web\nnpm install\nng serve\n```\n\nAccess at `http://localhost:4200`\n\n---\n\n## Scraper\n\nThe `worker/scraper.py` file is not included in this repository — it contains the proprietary implementation.\n\nTo activate the scraper, create `worker/scraper.py` and implement the `scrape_google_maps()` function:\n\n```python\ndef scrape_google_maps(\n    niche_label: str,\n    state_name: str,\n    limit: int = 50\n) -\u003e list[dict]:\n    # Returns a list of dicts with keys:\n    # name, phone, website, whatsapp\n    ...\n```\n\n---\n\n## Seed Data\n\nThe `scripts/seed.py` file is not included in this repository — it contains the proprietary list of states and market niches.\n\nTo seed your own instance, copy the example file and fill in your data:\n\n```bash\ncp scripts/seed.example.py scripts/seed.py\n# Edit seed.py with your STATES and NICHES, then:\npython scripts/seed.py\n```\n\n---\n\n## License\n\nThis project is made available for study and portfolio purposes. The scraper implementation and seed data are not included in this public repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmebelprogrammer%2Flunar-leads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsmebelprogrammer%2Flunar-leads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmebelprogrammer%2Flunar-leads/lists"}