RagThisCode
Verified Safeby ValerianRey
Overview
Set up a RAG (Retrieval-Augmented Generation) system to chat with the code of any public or private GitHub repository.
Installation
docker run -p 7070:7070 -p 9000:9000 -e OPENAI_API_KEY=$OPENAI_API_KEY -e GITHUB_ACCESS_TOKEN=$GITHUB_ACCESS_TOKEN -v $PWD/data/chroma_langchain_db:/app/data/chroma_langchain_db --cpus="1.0" --memory="2g" -d ragthiscodeEnvironment Variables
- OPENAI_API_KEY
- GITHUB_ACCESS_TOKEN
Security Notes
Secrets (API keys, tokens) are correctly handled via environment variables. CORS is configured for local development and should be adapted for production. The frontend uses `dangerouslySetInnerHTML` with LLM-generated content, which carries a minor risk if an LLM generates malicious HTML/JS, though the `marked.parse` function mitigates this for standard markdown.
Similar Servers
MaxKB
An enterprise-grade intelligent agent platform for building knowledge bases, RAG, complex workflows, and AI agents, targeting intelligent customer service and office assistants.
Context-Engine
A Retrieval-Augmented Generation (RAG) stack for codebases, enabling context-aware AI agents for developers and IDEs through unified code indexing, hybrid search, and local LLM integration.
mcp-local-rag
A privacy-first, local document search server that leverages semantic search for Model Context Protocol (MCP) clients.
mcp-github-pr-issue-analyser
Automates GitHub Pull Request analysis, issue management, and release tracking for seamless LLM integration.