Before · noisy HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Getting started · CrawlForge Docs</title>
<meta name="description" content="Install CrawlForge, fetch your first page and read the Clean Markdown output.">
<link rel="canonical" href="/docs/getting-started">
<link rel="stylesheet" href="/assets/docs.css">
<script src="/assets/analytics.js" defer></script>
</head>
<body>
<header class="site-header">
<a class="logo" href="/">CrawlForge Docs</a>
<nav aria-label="Main navigation">
<ul>
<li><a href="/docs">Guides</a></li>
<li><a href="/reference">Reference</a></li>
<li><a href="https://github.com/crawlforge/crawl-forge">GitHub</a></li>
</ul>
</nav>
</header>
<nav aria-label="breadcrumb">
<ol>
<li><a href="/docs">Guides</a></li>
<li><a href="/docs/getting-started">Getting started</a></li>
</ol>
</nav>
<div class="cookie-banner" role="dialog" aria-label="Cookie consent">
<p>We use cookies to measure documentation traffic.</p>
<button type="button">Accept all</button>
</div>
<aside class="sidebar">
<ul>
<li><a href="/docs/installation">Installation</a></li>
<li><a href="/docs/configuration">Configuration</a></li>
<li><a href="/docs/recipes">Recipes</a></li>
</ul>
</aside>
<article>
<h1>Getting started</h1>
<p>CrawlForge converts noisy HTML into clean GFM Markdown, then validates a typed Extracted Record against a Zod schema. The pipeline is static-first: a plain HTTP request is tried before any headless browser is launched.</p>
<h2>Install</h2>
<p>Install the package and verify the CLI.</p>
<pre><code class="language-bash">npm install crawlforge
crawlforge --help</code></pre>
<h2>Fetch your first page</h2>
<pre><code class="language-bash">crawlforge fetch https://example.com/docs --mode static --json</code></pre>
<h3>Read the Clean Markdown</h3>
<p>The <code>cleanMarkdown</code> field holds the boilerplate-stripped GFM output, and <code>compressionRatio</code> reports the reduction against the raw byte budget of the document.</p>
</article>
<footer class="site-footer">
<p>© 2026 CrawlForge · MIT licensed</p>
</footer>
<script>window.__CF_DOCS__ = { version: '1.4.2', build: 4412 };</script>
</body>
</html> After · clean Markdown
After · validated Zod record
After · snapshot diff
# Getting started
CrawlForge converts noisy HTML into clean GFM Markdown, then validates a typed Extracted Record against a Zod schema. The pipeline is static-first: a plain HTTP request is tried before any headless browser is launched.
## Install
Install the package and verify the CLI.
```bash
npm install crawlforge
crawlforge --help
```
## Fetch your first page
```bash
crawlforge fetch https://example.com/docs --mode static --json
```
### Read the Clean Markdown
The `cleanMarkdown` field holds the boilerplate-stripped GFM output, and `compressionRatio` reports the reduction against the raw byte budget of the document.
{
"title": "Getting started",
"section": "Getting started",
"breadcrumb": [
"Guides",
"Getting started"
],
"codeBlocks": [
{
"language": "bash",
"code": "npm install crawlforge\ncrawlforge --help"
},
{
"language": "bash",
"code": "crawlforge fetch https://example.com/docs --mode static --json"
}
],
"headings": [
{
"level": 1,
"text": "Getting started"
},
{
"level": 2,
"text": "Install"
},
{
"level": 2,
"text": "Fetch your first page"
},
{
"level": 3,
"text": "Read the Clean Markdown"
}
],
"canonicalUrl": "https://crawl.cesarcai.dev/docs/getting-started"
} # Getting started
-CrawlForge converts noisy HTML into clean Markdown. The pipeline is static-first: a plain HTTP request is tried before any headless browser is launched.
+CrawlForge converts noisy HTML into clean GFM Markdown, then validates a typed Extracted Record against a Zod schema. The pipeline is static-first: a plain HTTP request is tried before any headless browser is launched.
## Install
### Read the Clean Markdown
-The `cleanMarkdown` field holds the boilerplate-stripped output.
+The `cleanMarkdown` field holds the boilerplate-stripped GFM output, and `compressionRatio` reports the reduction against the raw byte budget of the document.