Paste any repository URL — get back a full breakdown of purpose, architecture, key files, dependencies, and a contribution guide. Built for developers, by developers. No config, 0 setup.
From high-level purpose to contribution guide — RepoSage reads the repo so you don't waste hours cloning and grepping around.
Python + FastAPI on the backend, Next.js on the front. GitHub API for repo context, PostgreSQL for caching, Redis for async jobs. Designed to be self-hosted in a single docker-compose up.
async def explain_repo(repo_url: str): # 1. extract context from GitHub API context = await fetch_repo_context( repo_url, files=["README.md", "pyproject.toml"], include_tree=True, recent_commits=10, ) # 2. build structured prompt prompt = build_explainer_prompt(context) # 3. stream response → SSE → browser async with client.messages.stream( messages=[{ "role": "user", "content": prompt, }] ) as s: async for chunk in s.text_stream: yield chunk
RepoSage pulls GitHub context and generates a structured breakdown — streamed live to your browser in under 30 seconds.
RepoSage is open source and actively looking for contributors. Python backend, TypeScript frontend, docs, tests — all help is welcome. Check the good-first-issue label to get started.
RepoSage is free forever. If it saves you time, consider sponsoring development — it helps keep the project alive and maintained.