10000 GitHub - aj11anuj/CodePathik: A Web tool to help devs explore and understand codebases without manually reading through it
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aj11anuj/CodePathik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CodePathik 🧭

This interactive web tool helps developers explore and understand GitHub repositories more effectively. By combining a file tree visualisation with LLM-powered analysis, it enables users to grasp project structure, purpose, and individual file functionality without manually reading through the codebase.

Features

  • Paste a GitHub repo URL to visualise its file structure.
  • Get project architecture and overview of the project.
  • Analyse any file in the repository to understand its purpose, components, and functionality.
  • It also provides insights into areas where you can contribute to the project.
  • FastAPI backend with AI integration (8x more powerful than Mistral 7B).

File Overview

File Description
main.py FastAPI app with CORS and three API routes for analysis
repo_handler.py Handles GitHub API interactions and builds repo file tree
llm_integration.py Sends repo/code data to Together.ai and parses the response
index.html Frontend UI with tree view and analysis controls
requirements.txt Python dependencies for the backend

Requirements

  • Python 3.10+
  • GitHub Personal Access Token (GITHUB_PAT)
  • Together.ai API key (TOGETHER_API_KEY)
  • FastAPI (Backend framework)
  • Uvicorn (Server for FastAPI)
  • Requests (Module for handling requests)
  • Python-dotenv (for .env file)
  • Frontend: Vercel (or any static host)
  • Backend: Render (or any FastAPI-compatible host)

How to Use

    1. Clone the repo and install dependencies
    pip install -r requirements.txt
    1. Create .env file
    TOGETHER_API_KEY=your_together_api_key
    GITHUB_PAT=your_github_pat
    1. Run the backend
    uvicorn main:app --reload
    1. Run frontend on browser and check API calls in Swagger
    Access Swagger at /docs route at port 8000 or Localhost

Sample Output

Screenshot (1232)

About

A Web tool to help devs explore and understand codebases without manually reading through it

Resources

License

Stars

Watchers

Forks

0