{"id":29504457,"url":"https://github.com/ananyavrm04/codebase-analyzer","last_synced_at":"2025-08-20T07:11:40.735Z","repository":{"id":303991477,"uuid":"1017312051","full_name":"ananyavrm04/Codebase-Analyzer","owner":"ananyavrm04","description":"AI-Powered Tool that analyzes GitHub repositories and generates structured documentation, key insights, and code summaries using advanced LLMs.","archived":false,"fork":false,"pushed_at":"2025-07-10T15:35:10.000Z","size":3461,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-10T21:03:55.137Z","etag":null,"topics":["ai","code-documentation","devtools","fastapi","github-analyzer","llm","nlp","project-analysis","repo-summarizer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ananyavrm04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-10T10:43:11.000Z","updated_at":"2025-07-10T15:41:16.000Z","dependencies_parsed_at":"2025-07-10T21:14:12.032Z","dependency_job_id":null,"html_url":"https://github.com/ananyavrm04/Codebase-Analyzer","commit_stats":null,"previous_names":["ananyavrm04/codebase-analyzer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ananyavrm04/Codebase-Analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananyavrm04%2FCodebase-Analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananyavrm04%2FCodebase-Analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananyavrm04%2FCodebase-Analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananyavrm04%2FCodebase-Analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ananyavrm04","download_url":"https://codeload.github.com/ananyavrm04/Codebase-Analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananyavrm04%2FCodebase-Analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271280670,"owners_count":24732045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","code-documentation","devtools","fastapi","github-analyzer","llm","nlp","project-analysis","repo-summarizer"],"created_at":"2025-07-15T23:02:05.491Z","updated_at":"2025-08-20T07:11:40.715Z","avatar_url":"https://github.com/ananyavrm04.png","language":"Python","readme":"# 🧠 Codebase Analyzer\n\nAn intelligent LLM-powered tool that downloads and analyzes GitHub repositories, automatically summarizing Python files using Together AI's models. Built with FastAPI and CLI support, it's designed for backend engineers and AI enthusiasts who want to explore and understand large codebases quickly.\n\n## 🚀 Features\n\n- 📥 Downloads GitHub repositories from URL input  \n- 📂 Extracts and parses all `.py` files  \n- 🧠 Summarizes code using Together AI (Llama/Mistral models)  \n- 📊 Calculates total/average lines and detects large files  \n- 🔗 Accessible via both **CLI** and **FastAPI API**  \n- ✅ Clean modular structure and secure API key usage  \n\n## 📁 Project Structure\ncodebase_analyzer/\n│\n├── app/\n│ ├── github_utils.py # Repo downloading \u0026 extraction\n│ ├── file_analyzer.py # Python file parsing\n│ ├── llm_client.py # LLM summarization\n│\n├── main.py # FastAPI backend (optional)\n├── run_analysis.py # CLI version (primary usage)\n├── test_llm.py # Quick LLM summarization test\n├── requirements.txt # Clean dependency list\n└── README.md # You're here\n\n## ⚙️ Installation\n\n```bash\ngit clone https://github.com/your-username/codebase-analyzer.git\ncd codebase-analyzer\n\n# Setup virtual environment\npython -m venv venv\nvenv\\Scripts\\activate     # For Windows\n# source venv/bin/activate  # For macOS/Linux\n\n# Install dependencies\npip install -r requirements.txt\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananyavrm04%2Fcodebase-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fananyavrm04%2Fcodebase-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananyavrm04%2Fcodebase-analyzer/lists"}