Github Repository Analyzer

This is a submission for the Amazon Q Developer "Quack The Code" Challenge: Crushing the Command Line What I Built Github Repository Analyzer A web application that analyzes GitHub repositories and generates comprehensive documentation about their features, functions, and structure. Features API-Based Analysis: Uses GitHub's API to analyze repositories without local cloning Repository Overview: Provides basic information about the repository (stars, forks, etc.) Code Analysis: Identifies key functions and classes in the codebase Technology Detection: Automatically detects programming languages and frameworks Structure Visualization: Displays the repository's directory structure Documentation Export: Generates downloadable Markdown documentation Demo Code Repository https://github.com/dwarshb/github-repository-analyzer/ How I Used Amazon Q Developer Prompt: Build a web application that analyzes GitHub repositories and generates comprehensive documentation. The application should accept a GitHub repository URL as input and use GitHub's API (not local cloning) to analyze the repository. Ask Github Token from user as an optional and if provided then use it in Github API. Make sure that the generate documentation includes repository overview, statistics, language breakdown and technologies used,folder structure. Also add the option to generate README files which uses Google Gemini API. Make sure to ask GEMINI API Key from user. For reference - You can check the AmazonQ.md

May 4, 2025 - 04:21
 0
Github Repository Analyzer

This is a submission for the Amazon Q Developer "Quack The Code" Challenge: Crushing the Command Line

What I Built

Github Repository Analyzer

A web application that analyzes GitHub repositories and generates comprehensive documentation about their features, functions, and structure.

Features

  • API-Based Analysis: Uses GitHub's API to analyze repositories without local cloning
  • Repository Overview: Provides basic information about the repository (stars, forks, etc.)
  • Code Analysis: Identifies key functions and classes in the codebase
  • Technology Detection: Automatically detects programming languages and frameworks
  • Structure Visualization: Displays the repository's directory structure
  • Documentation Export: Generates downloadable Markdown documentation

Demo

Code Repository

https://github.com/dwarshb/github-repository-analyzer/

How I Used Amazon Q Developer

Prompt:
Build a web application that analyzes GitHub repositories and generates comprehensive documentation. The
application should accept a GitHub repository URL as input and use GitHub's API (not local cloning) to analyze the repository. Ask Github Token from user as an optional and if provided then use it in Github API. Make sure that the generate documentation includes repository overview, statistics, language breakdown and technologies used,folder structure. Also add the option to generate README files which uses Google Gemini API. Make sure to ask GEMINI API Key from user.

For reference - You can check the AmazonQ.md