Meet CodeSloth β because Ctrl + Click is not a software architecture strategy.
Ever opened an open-source repo to make a tiny contribution and ended up questioning your career choices? Yeah, same.
π Problem Statement
Unfamiliar codebases are a maze of files, dependencies, APIs, and databases. Understanding how everything connects can take longer than the actual contribution.
π©Ή Current Workaround
Open 37 tabs, chase imports, search for API routes, and pray the original developer left a comment. Spoiler: they didn't.
π‘ Proposed Solution β CodeSloth
A local-first codebase explorer that turns GitHub repositories into:
- π³ Project Tree β Navigate the codebase without archaeological equipment.
- πΈοΈ Dependency Graph β See which files depend on what.
- ποΈ Architecture Flow β Visualize frontend β APIs β backend β databases.
- π€ Ask CodeSloth β Get AI-assisted code explanations using local Ollama models.
**π» Source Code - https://github.com/praniket01/Codesloth
Demo
π¬ Live Demo: https://www.youtube.com/watch?v=cesLtzG88_s
Live Website: https://frontend-kappa-two-86.vercel.app/
βοΈ Working Model
Paste a public GitHub repository URL β CodeSloth indexes the codebase β explore its structure and connections β ask questions about the code using local AI.
Stack: Next.js Β· React Flow Β· FastAPI Β· SQLite Β· Ollama
π― The Mission
Make open-source contributions less intimidating by reducing the time spent understanding unfamiliar code and increasing the time spent building, fixing, and contributing.
The goal? Less spelunking. Fewer tabs. Faster pull requests.
Because life's too short to reverse-engineer an entire codebase just to fix one bug.
π Explore the demo, inspect the architecture, and let the sloth do the digging.
Top comments (0)