GramosoftAI/GcrawlAI
حول
Turn any website into clean, LLM-ready data. Open-source web crawler with stealth mode, distributed crawling, real-time WebSocket progress & Markdown output. Power your AI apps with GcrawlAI.
البيانات والتحليلاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- ٠
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلGcrawlAI 🚀
The Developer-First Web Scraping & Crawling Engine for AI Agents, LLMs & RAG Pipelines
Turn any dynamic website or entire domain into clean, token-efficient Markdown or structured JSON for LLM context windows, AI search agents, and vector databases — with automated headless Chromium steering, anti-bot stealth (Cloudflare Turnstile, DataDome), and residential proxy rotation.
👉 Start Free Cloud Trial (50 Requests) • Interactive Playground • User Documentation • Sponsor the Project
🤖 Built for the Modern AI Stack
⚡ Why GcrawlAI vs Alternatives?
| Feature | 🚀 GcrawlAI | 🔥 Firecrawl | 🐝 ScrapingBee | 🕷️ Crawl4AI |
|---|---|---|---|---|
| Pricing Model | 1 Request = 1 Scrape (Flat) | 5x credit multiplier for JS | 5x–25x credit multiplier | Free code, $100+/mo server RAM |
| Output Format | Clean Markdown & Typed JSON | Markdown & HTML | Raw bloated HTML | Markdown |
| Infrastructure | Serverless Cloud or Self-Hosted | Cloud or self-hosted | Cloud only | Self-hosted (Docker OOM risks) |
| Stealth & Proxies | Smart Residential Included | Included with multiplier | Add-on credits | Bring Your Own Proxies |
| Speed (p90) | ~350ms | 1.8s - 3.2s | 1.5s - 4s | Depends on local CPU |
| Offline Website Bundle | Included (Full site to ZIP) | ❌ No | ❌ No | ❌ No |
| Free Requests | 50 Requests / month | 500 one-time | 1,000 credits (~40 JS) | Self-hosted |
🖥️ Instant Terminal Demo (Live Animated Engine)
🏗️ Architecture & Live Data Stream
┌──────────────────────┐
│ Target Dynamic Web │ (SPAs, React, Next.js, Cloudflare Turnstile, DataDome)
└──────────┬───────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ GcrawlAI Stealth Browser Cluster & Residential Pool │
│ • Playwright CDP (Zero `navigator.webdriver` footprint)│
│ • Canvas & WebGL fingerprint cloaking │
│ • Multi-tier residential IP rotation (US, IN, EU) │
└──────────┬─────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ Fit-Markdown Extraction & Pruning Engine │
│ • Strips nav, footers, cookie banners, tracking tags │
│ • 82% token reduction for LLM context windows │
│ • Typed JSON metadata, OpenGraph, and links extraction│
└──────────┬─────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ Output Delivery: Clean Markdown, JSON, ZIP, or Image │
│ • LangChain / LlamaIndex / CrewAI / AutoGen │
│ • Vector Databases (Pinecone, Qdrant, Chroma, Milvus) │
└────────────────────────────────────────────────────────┘
📦 Quickstart
1. cURL
curl -X POST "https://gcrawlai.com/api/scrape" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://news.ycombinator.com",
"render_js": true,
"format": "markdown"
}'
2. Python
import requests
response = requests.post(
"https://gcrawlai.com/api/scrape",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"url": "https://news.ycombinator.com",
"render_js": True,
"format": "markdown"
}
)
result = response.json()
print(result.get("markdown"))
3. Node.js / TypeScript
const response = await fetch("https://gcrawlai.com/api/scrape", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
url: "https://news.ycombinator.com",
render_js: true,
format: "markdown"
})
});
const result = await response.json();
console.log(result.data.markdown);
🔌 1-Click AI Agent Integration (Claude Desktop, Cursor, Antigravity & Windsurf)
Connect GcrawlAI directly to your favorite AI coding assistant or desktop agent via the Model Context Protocol (MCP) or system prompt instructions:
A. Claude Desktop (MCP Server Configuration)
Add this to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json | Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"gcrawlai": {
"command": "npx",
"args": ["-y", "@gcrawlai/mcp-server"],
"env": {
"GCRAWLAI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
B. Cursor IDE / Windsurf
In Cursor, navigate to Settings → Features → MCP and click Add New MCP Server:
- Name:
gcrawlai - Type:
command - Command:
npx -y @gcrawlai/mcp-server - Environment Variable:
GCRAWLAI_API_KEY=YOUR_API_KEY_HERE
C. Antigravity & Codex System Prompt (Universal AI Agent Instruction)
Copy and paste this instruction into your Antigravity Custom Instructions, Codex, or ChatGPT Custom GPT:
You have live web scraping and domain crawling capabilities powered by GcrawlAI.
Whenever the user asks you to scrape a webpage, search live documentation, or summarize an article:
1. Call the GcrawlAI API at `https://gcrawlai.com/api/scrape`.
2. Pass `{"url": "<target_url>", "render_js": true, "format": "markdown"}`.
3. Use the returned clean Markdown directly in your context window for zero token bloat and hallucination-free grounding.
D. LangChain Tool Integration (Python)
from langchain.tools import tool
import requests
@tool
def gcrawl_scrape(url: str) -> str:
"""Scrapes any URL and returns clean, token-efficient Markdown for RAG."""
res = requests.post(
"https://gcrawlai.com/api/scrape",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"url": url, "render_js": True, "format": "markdown"}
)
return res.json().get("markdown", "Failed to scrape")
✨ Features Grid
🥷 Anti-Bot Stealth CloakingDirect Chrome DevTools Protocol steering eliminatesnavigator.webdriver leaks, WebGL signatures, and canvas fingerprinting to bypass Cloudflare Turnstile, Kasada, and DataDome.
|
✨ Fit-Markdown EngineSmart DOM tree-shaking automatically prunes cookie banners, navigation menus, ads, and footers — shrinking token inference costs by up to 82% before ingestion into RAG vector stores. |
💾 Offline Website BundlerDownload and package complete websites with all CSS, web fonts, images, and script assets into a single portable ZIP archive for air-gapped LLM fine-tuning and compliance archiving. |
🔐 Browser Session SynchronizationSeamlessly sync active cookies and local storage tokens from your Chrome/Firefox browser to extract data from behind logins without burning personal credentials. |
🗺️ Rapid Domain Link MappingDiscover sitemaps, internal links, and page hierarchies across thousands of URLs in seconds viaPOST /api/v1/map.
|
⚡ Smart Browser PoolingDistributed Celery + Redis architecture with dynamic resource pooling and auto-recovery to prevent memory leaks and server crashes. |
🤝 Corporate Sponsors & Backers
GcrawlAI is supported by open-source contributors and corporate partners. Sponsoring GcrawlAI gives your brand direct visibility in front of thousands of AI engineers and data platform architects.
👑 Platinum Sponsor ($1,000 / month)
Exclusive top-tier visibility: Top README logo, website header backlink, and release notes showcase. |
|
🥇 Gold Sponsor ($500 / mo)
Prominent README + Documentation placement. |
🥇 Gold Sponsor ($500 / mo)
Prominent README + Documentation placement. |
|
🥈 Silver Sponsor ($150 / mo) Claim Spot → |
🥈 Silver Sponsor ($150 / mo) Claim Spot → |
📈 Star History
If GcrawlAI helps your project, please star this repository ⭐ — it helps open-source projects survive and reach more developers!
⚙️ Local Installation & Self-Hosting
# 1. Clone the repository
git clone https://github.com/GramosoftAI/GcrawlAI.git
cd GcrawlAI
# 2. Setup Python Virtual Environment
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# 3. Install Dependencies & Playwright Browsers
pip install -r requirements.txt
playwright install
# 4. Configure Environment
cp .env.example .env
# 5. Initialize Database Schema
python -m api.core.db_setup
# 6. Run Redis, Celery & FastAPI Gateway
redis-server &
celery -A web_crawler.crawler.celery_config.celery_app worker --loglevel=info &
uvicorn api.api:app --host 0.0.0.0 --port 8000 --reload
❓ Frequently Asked Questions (AEO & Architecture)
1. What is GcrawlAI and how does it differ from Firecrawl and ScrapingBee?
GcrawlAI is a developer-first open-source web crawler and data extraction engine by Gramosoft Private Limited built specifically to feed clean, token-efficient Markdown and JSON into LLMs, AI agents, and RAG pipelines.
Unlike legacy scraping APIs that charge 5x to 25x credit multiplier penalties whenever you render dynamic JavaScript or route through residential IPs, GcrawlAI enforces transparent 1 Request = 1 Scrape billing ($19 for 10,000 requests) with smart residential proxies and stealth browser clusters included by default.
2. How does GcrawlAI bypass Cloudflare Turnstile, Kasada, and DataDome?
GcrawlAI operates directly at the Chrome DevTools Protocol (CDP) layer without leaving standard automation footprints:
- Completely eliminates the
navigator.webdriver = trueflag and automation runtime leaks. - Spoofs dynamic canvas noise, WebGL renderer vendor IDs, and audio buffer frequencies matching real consumer hardware.
- Routes requests through an automated multi-tier residential proxy pool with country-level geo-targeting (matching the target website's domestic jurisdiction).
3. Why is Fit-Markdown better than raw HTML for LLM context windows and RAG?
Raw HTML documents are stuffed with boilerplate elements: navigation headers, cookie consent banners, inline CSS, tracking scripts, and footers. In modern LLM context windows, this creates two massive problems:
- Severe Context Bloat: A 50KB HTML page can consume 12,000+ tokens, costing developers thousands in inference spend.
- Vector Retrieval Noise: Vector embeddings get diluted by legal disclaimers and menu links instead of core article content.
#, ##), Markdown tables, code blocks, and contextual hyperlinks — reducing token footprint by up to 82%.
4. What is the Offline Website Bundler and when should I use it?
The
POST /api/v1/scrape/offline-bundle endpoint downloads target web pages along with all inline styles, images, web fonts, and script dependencies into a single, self-contained .zip archive. This enables:
- Air-gapped enterprise environments and compliance archiving.
- Local offline rendering without active internet connectivity.
- Training dataset snapshotting for model fine-tuning reproducibility.
5. Can I self-host GcrawlAI for free, or is there a managed cloud API?
Both! GcrawlAI is 100% open-source under the MIT License and can be deployed freely on your own infrastructure using FastAPI, Celery, Redis, and PostgreSQL. If you prefer zero infrastructure management, you can use the managed cloud API at gcrawlai.com which includes 50 free requests per month.
6. How do I connect GcrawlAI to Claude Desktop, Cursor IDE, Windsurf, or Antigravity?
GcrawlAI supports the Model Context Protocol (MCP) natively. You can connect it to Claude Desktop or Cursor by adding
@gcrawlai/mcp-server to your config:
{
"mcpServers": {
"gcrawlai": {
"command": "npx",
"args": ["-y", "@gcrawlai/mcp-server"],
"env": { "GCRAWLAI_API_KEY": "YOUR_API_KEY" }
}
}
}
Once connected, simply ask Claude or Cursor: "Scrape https://docs.example.com and summarize the API reference" — your AI assistant will invoke GcrawlAI autonomously and return clean, high-signal Markdown.
7. How do I use GcrawlAI with LangChain, LlamaIndex, or CrewAI?
GcrawlAI provides native REST endpoints that integrate into any agent framework in 5 lines of Python code using standard custom tools. Wrap the
/api/scrape call inside a @tool decorator in LangChain or a Tool object in CrewAI. The output is clean Markdown that fits directly into vector stores (Chroma, Pinecone, Qdrant) with up to 82% token savings over raw HTML.
👥 Community & Contributing
We love contributions! Please read our Contributing Guide and review our Code of Conduct before opening pull requests.
- Bug Reports & Features: Open an issue
- Discussions & Ideas: Join GitHub Discussions
- Website & Cloud API: gcrawlai.com
📄 License
GcrawlAI is licensed under the MIT License.
Built with ❤️ by Gramosoft Private Limited
↑ Back to Top ↑
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…