AI-Powered Website Intelligence & Dataset Builder
RAGMind is a web crawling and dataset generation platform designed for Retrieval-Augmented Generation (RAG), AI training pipelines, semantic search systems, and knowledge base construction.
The system crawls websites, extracts meaningful content, removes duplicate information, classifies pages, chunks content into AI-friendly segments, and exports structured datasets ready for LLM workflows.
- Internal link discovery
- Sitemap seeding
- Robots.txt compliance
- URL normalization
- Priority-based crawling
- Depth control
- Anti-bot page detection
- Trafilatura-powered extraction
- Boilerplate removal
- XML support
- Dynamic page support via Playwright
- Automatic weak-content detection
- Exact duplicate detection
- Near-duplicate detection
- Content validation
- Block-page filtering
- Page classification
- Content chunking
- Importance scoring
- Metadata enrichment
- JSONL (LLM / RAG Ready)
- CSV
- Live crawl monitoring
- Dataset statistics
- Export controls
- Responsive UI
- LangChain-inspired intelligence dashboard
Website
β
βΌ
Crawler
β
βΌ
Content Extraction
β
βΌ
Quality Filtering
β
βΌ
Deduplication
β
βΌ
Classification
β
βΌ
Chunking
β
βΌ
Dataset Builder
β
βΌ
JSONL / CSV Export
RAGMind/
βββ crawler/
β βββ crawl.py
β βββ playwright_fetcher.py
β
βββ extractor/
β βββ clean.py
β βββ xml_parser.py
βββ processor/
β βββ chunk.py
β βββ dataset_builder.py
β βββ exporter.py
β
βββ classifier/
β βββ page_type.py
β
βββ utils/
β βββ normalize.py
β βββ sitemap.py
β βββ robots.py
β βββ dedupe.py
β βββ page_quality.py
β βββ content_quality.py
β
βββ frontend/
β βββ index.html
β βββ style.css
β βββ app.js
β
βββ output/
β
βββ main.py
βββ README.md
playwright install
Clone the repository:
git clone https://github.com/sharondroid/RAGMind.git
cd RAGMindCreate virtual environment:
python -m venv venvActivate:
Windows
venv\Scripts\activateMac/Linux
source venv/bin/activateInstall dependencies:
pip install -r requirements.txtStart FastAPI:
python -m uvicorn main:app --reloadAPI:
http://127.0.0.1:8000
Dashboard:
http://127.0.0.1:8000/ui
Request:
POST /crawl?url=https://docs.stripe.com&max_pages=20Response:
{
"pages_crawled": 20,
"dataset_records": 143,
"exported": true
}JSONL
{
"id": 11,
"content": "AWS Cloud Practitioner Tutorial ... (full page text)",
"content_stats": {
"length": 1011,
"total_page_length": 1011
},
"source": {
"url": "https://www.w3schools.com/aws/index.php",
"title": "AWS Cloud Practitioner Tutorial",
"page_type": "pricing"
},
"chunk": {
"index": 0
},
"crawl": {
"used_playwright": false,
"priority_score": null,
"depth": null,
"is_duplicate": false
},
"enrichment": {
"keywords": ["cloud", "tutorial", "practitioner", "learn", "skills", "time", "overview", "services", "large", "content"],
"importance_score": 8
}
}- RAG Dataset Creation
- Enterprise Knowledge Bases
- AI Chatbots
- Internal Search Engines
- Semantic Search Systems
- Documentation Mining
- LLM Fine Tuning Pipelines
- Content Intelligence Platforms
- Python
- FastAPI
- BeautifulSoup
- Trafilatura
- Playwright
- HTTPX
- JavaScript
- HTML
- CSS
- Vector Embeddings
- Semantic Search Layer
- LangChain Integration
- LlamaIndex Integration
- Async Concurrent Crawling
- Distributed Crawling
- PostgreSQL Storage
- FAISS Vector Store
- OpenAI Embedding Support
- Crawl Scheduling
Built by Sharon Attafi
AI Systems Developer
Product Manager/ BizOps
Ghana


