Show HN: Clean HTML for Semantic Extraction(page-replica.github.io)
page-replica.github.io
Show HN: Clean HTML for Semantic Extraction
https://page-replica.github.io/pure-html-for-rag/demo/
4 comments
A colleague shared it with me, and I found it pretty cool because it’s simple. actually we will use this for our scraping workflow. thx
- Reduces token count by 60-90% (fewer API costs) - Improves embedding quality (less noise = better semantic search) - Speeds up processing (smaller payloads = faster inference) - Preserves structure (headings, paragraphs, links stay intact) - Zero dependencies (pure JavaScript, no bloat)