Back to Home
ValerianRey icon

RagThisCode

Verified Safe

by ValerianRey

Overview

Set up a RAG (Retrieval-Augmented Generation) system to chat with the code of any public or private GitHub repository.

Installation

Run Command
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 ragthiscode

Environment 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

Stats

Interest Score35
Security Score8
Cost ClassHigh
Avg Tokens15000
Stars4
Forks0
Last Update2025-12-03

Tags

RAGGitHubAIChatbotLLM