{"repo":"sepiropht/rag","free":true,"listed":false,"github":"https://github.com/sepiropht/rag","clone":"git clone https://github.com/sepiropht/rag.git","description":"self-hosted rag in bun.js","language":"TypeScript","stars":42,"topics":[],"license":"MIT","category":"ai-agents","readme_excerpt":"RAG An open-source Retrieval-Augmented Generation (RAG) system that allows you to chat with any website using AI. Features - Website Scraping : Automatically scrapes and processes website content - Intelligent Chunking : Adapts chunking strategy based on website type (blog, documentation, e-commerce, etc.) - Vector Search : Uses local sentence-transformers for embeddings (no API key needed!) - Chat Interface : Clean, modern UI for chatting with website content - No Authentication : Simple, ready-to-use setup Tech Stack - Next.js 15 - React framework - Prisma - Database ORM (SQLite) - Transformers.js - Local ML embeddings (all-MiniLM-L6-v2) - OpenRouter - Chat completions (Llama 3.2 3B - Free tier) - Puppeteer - Website scraping - Tailwind CSS - Styling Prerequisites - Docker & Docker Compose (for Docker setup) - Node.js 18+ or Bun (for local development) - OpenRouter API key - Get one free at https://openrouter.ai/ Getting Started Docker (Recommended) Useful commands: Local Development 1. Clone the repository 2. Install dependencies 3. Set up environment variables Edit .env and add your OpenRouter API key: 4. Set up the database 5. Run the development server Open http://localhost:3000 in your browser. How It Works 1. Add a Website : Enter any website URL on the home page 2. Processing : The system scrapes the website, detects its type, and creates embeddings 3. Chat : Once processing is complete, click on the website card to start chatting 4. Ask Questions : Ask questions abo","default_branch":null,"files":null,"tree":[],"storefront":"/r/sepiropht","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sepiropht/rag/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}