Skip to content
bhavyam2Public

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Startup Intelligence & Recruiting Aggregator

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.


What it does

  1. 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).
  2. 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.
  3. Aggregates negative sentiment from Reddit, Hacker News comments, and ProductHunt reviews, filtering strictly for bugs, outages, performance issues, and user pain points.
  4. Analyzes everything locally with Ollama (default: qwen3:8b) and outputs structured JSON validated by Pydantic.
  5. Writes a markdown playbook per company and appends a row to a central CSV tracker.

Output

outputs/pipeline.csv

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

outputs/playbooks/acme_ai.md

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

Architecture

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

Requirements

  • Python 3.11+
  • Ollama installed and running locally
  • 16 GB RAM recommended (pipeline caps at 2 concurrent companies by default)

Setup

# 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

Usage

# 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

CLI flags

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

Hardware & Memory Notes

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-Timeout and 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.


Data Sources (all free, no auth required)

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)

Configuration

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

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages