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


