https://github.com/aj11anuj/codepathik

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

https://github.com/aj11anuj/codepathik

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

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 bash pip install -r requirements.txt
  • 2. Create .env file bash TOGETHER_API_KEY=your_together_api_key GITHUB_PAT=your_github_pat
  • 3. Run the backend bash uvicorn main:app --reload
  • 4. Run frontend on browser and check API calls in Swagger bash Access Swagger at /docs route at port 8000 or Localhost

Sample Output

Screenshot (1232)

Owner

  • Name: Anuj Tiwari
  • Login: aj11anuj
  • Kind: user
  • Location: Delhi, India

Diving deep into the MLOps World

GitHub Events

Total
  • Watch event: 2
  • Push event: 8
  • Create event: 2
Last Year
  • Watch event: 2
  • Push event: 8
  • Create event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 11
  • Total Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 11
  • Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Anuj Tiwari a****3@g****m 11

Issues and Pull Requests

Last synced: about 1 year ago


Dependencies

Backend/requirements.txt pypi
  • fastapi *
  • python-dotenv *
  • requests *
  • uvicorn *