# egoist/sitefetch

Fetch an entire site and save it as a text file (to be used with AI models).

Repository: https://github.com/egoist/sitefetch
Canonical: https://ross.abutalabs.com/products/sitefetch
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2025-01-18T05:30:04+00:00

## Health v2 (maintenance only)
Score: 22/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 2, release rhythm 35, longevity 43
- inputs: {"age_days": 603, "days_push": 592, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1736, forks 162 (observed 2026-08-28T04:05:29.141945+00:00)

## What it is
A Node.js CLI tool that crawls an entire website and saves its pages as a single text file, using Mozilla Readability to extract clean content. It is designed to prepare site content as context for AI/LLM models.

## Use cases
- scrape a whole website into one text file for LLM context
- fetch only blog and docs pages from a site
- extract readable content from web pages for AI models
- crawl documentation sites to feed into a chatbot
- convert a website to plain text offline

## When to choose
- you need a site's content as plain text for AI model input
- you want a quick zero-config CLI crawler with glob page matching
- you want readable-content extraction with optional CSS selectors

## When to avoid
- you need JavaScript-rendered SPA content at scale
- you need structured data exports like JSON or CSV
- you need a full-featured scraping framework with scheduling or proxies

## Facets
- artifact type: cli-tool
- maturity: active
- function: web-scraping, cli, nlp
- domain: developer-tools, large-language-models, crawlers
- platform: cli, cross-platform
- tags: site-crawler, readability, llm-context, typescript, command-line, nodejs

## Member repositories
- egoist/sitefetch (main) score 22

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:29.141945+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:30:40.918117+00:00, confidence not recorded.
  - readme: https://github.com/egoist/sitefetch (fetched 2026-08-28T04:05:29.141945+00:00, sha faca90372fcf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
