IdeaCredIdeaCred

plater7/docrawl

59

Web crawler para sitios de documentación — convierte páginas a Markdown limpio usando Playwright, markdownify y Ollama (local) u OpenRouter/OpenCode (cloud)

What's novel

Web crawler para sitios de documentación — convierte páginas a Markdown limpio usando Playwright, markdownify y Ollama (local) u OpenRouter/OpenCode (cloud)

Code Analysis

10 files read · 3 rounds

A FastAPI-based web documentation crawler that transforms documentation websites into clean Markdown or structured JSON through a multi-stage pipeline of URL discovery, LLM-based filtering, multi-fallback page scraping, DOM noise removal, and optional LLM cleanup.

Strengths

Genuinely thoughtful engineering in the scraping fallback chain (native markdown → proxy → HTTP fast-path → Playwright), adaptive LLM cleanup classification with heuristics for broken tables/LaTeX/code density, and robust job management with pause/resume, SSE streaming, and content deduplication. Security is well-handled with SSRF validation, defusedxml, API key auth, and rate limiting.

Weaknesses

The LLM cleanup is fundamentally prompt-dependent with no deterministic post-processing to verify content integrity, and the structured JSON output is a basic BeautifulSoup flattening that loses nested structure. The reasoning_model is declared but unused, and LLM calls are sequential per-page with no batching.

Score Breakdown

Innovation
5 (25%)
Craft
55 (35%)
Traction
8 (15%)
Scope
59 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+8
Polish+3
Releases+5
Has License+5
Code Quality+24
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+3
Early Traction+0
Devto Reactions+0
Community Contribs+4

Scope

Commits+8
Languages+8
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+7
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

281

Contributors

4

Files

153

Active weeks

5

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT