A fully local, zero-cost pipeline that autonomously discovers tech startups, scrapes their sites and public sentiment, runs deep analysis via a local LLM, and outputs per-company markdown playbooks alongside a central tracking spreadsheet.
No API keys. No cloud costs. Runs entirely on your machine.
- Discovers startups from Y Combinator's public directory and Hacker News "Launch HN" / "Who is Hiring" threads, filtered by keywords (e.g.
AI,DevTools,Infrastructure). - Scrapes each startup's landing page, engineering blog, docs, and careers page using a headless browser — extracting clean markdown text, tech stack hints, and company size estimates.
- Aggregates negative sentiment from Reddit, Hacker News comments, and ProductHunt reviews, filtering strictly for bugs, outages, performance issues, and user pain points.
- Analyzes everything locally with Ollama (default:
qwen3:8b) and outputs structured JSON validated by Pydantic. - Writes a markdown playbook per company and appends a row to a central CSV tracker.
| Company Name | Sector | Company Size | Tech Stack | Key Contact Name | Contact Role | Main Technical Gap | Outreach Status |
|---|---|---|---|---|---|---|---|
| Acme AI | AI | 11-50 | Go, Kubernetes, Postgres | Jane Smith | CTO | Observability gap | Discovered |
Each playbook contains:
- Core Tech Stack & Estimated Architecture — inferred from site content
- Top 3 Critical Pain Points — sourced from documentation gaps and real user complaints
- Cold Outreach Email Template — tailored to the company's specific technical gaps
startup-scraper/
├── config/
│ └── settings.py # All tuneable constants (keywords, timeouts, paths)
├── discovery/
│ └── yc_discover.py # YC Algolia + HN Firebase/Algolia discovery
├── scrapers/
│ ├── site_analyzer.py # crawl4ai async site scraping + size inference
│ └── sentiment.py # Reddit JSON API + HN Algolia + ProductHunt
├── engine/
│ └── analyzer.py # Ollama orchestration + Pydantic output models
├── outputs/
│ ├── csv_manager.py # Thread-safe pipeline.csv management
│ └── playbooks/ # Generated [company_name].md files
└── main.py # Async orchestration entry point
- Python 3.11+
- Ollama installed and running locally
- 16 GB RAM recommended (pipeline caps at 2 concurrent companies by default)
# 1. Clone and enter the project
git clone <your-repo-url>
cd startup-scraper
# 2. Install Python dependencies
pip install -r requirements.txt
# 3. Install Playwright browsers (used by crawl4ai)
crawl4ai-setup
# 4. Install Ollama and pull a model
# Download Ollama from https://ollama.com/download, then:
ollama pull qwen3:8b
# 5. (Optional) Copy and edit environment config
cp .env.example .env# Dry run — skips Ollama, generates stub playbooks (great for testing)
python main.py --keywords "AI,DevTools" --limit 3 --dry-run
# Full run with defaults (AI, Infrastructure, DevTools — up to 20 companies)
python main.py
# Custom keywords and limit
python main.py --keywords "AI,Infrastructure,DevTools" --limit 10
# Use a different local model
python main.py --model llama3.1:8b --limit 5| Flag | Default | Description |
|---|---|---|
--keywords / -k |
AI,Infrastructure,DevTools |
Comma-separated discovery keywords |
--limit / -n |
20 |
Max companies to process |
--model / -m |
qwen3:8b |
Ollama model to use |
--concurrency / -c |
2 |
Max concurrent pipelines |
--dry-run |
off | Skip Ollama inference; generate stub playbooks |
The pipeline is tuned for a 16 GB RAM machine:
- Max 2 concurrent companies — headless browsers + LLM context are memory-heavy; running more in parallel risks OOM.
- 45-second LLM timeout — if Ollama stalls under memory pressure, the company is logged as
Error-Timeoutand the pipeline moves on. - Graceful degradation — any failure at any step saves a partial CSV row and continues to the next company.
To increase throughput on machines with more RAM, pass --concurrency 4.
| Source | What it provides |
|---|---|
| YC Algolia public index | Company name, URL, sector, team size, batch |
| HN Algolia API | "Launch HN" stories, "Who is Hiring" comment threads |
| HN Firebase API | Story metadata |
| Reddit public JSON API | Posts and comments mentioning the company |
| ProductHunt | Public product pages and reviews (via crawl4ai) |
All constants live in config/settings.py and can be overridden via environment variables or a .env file:
| Variable | Default | Description |
|---|---|---|
OLLAMA_MODEL |
qwen3:8b |
Primary inference model |
OLLAMA_MODEL_FALLBACK |
llama3.1:8b |
Fallback if primary fails |
OLLAMA_TIMEOUT_SECS |
45 |
Per-company LLM timeout |
MAX_CONCURRENCY |
2 |
Concurrent company pipelines |
MIT