Skip to content

Latest commit

ย 

History

History
665 lines (494 loc) ยท 23.1 KB

File metadata and controls

665 lines (494 loc) ยท 23.1 KB

๐Ÿ” GitHub Repository Analyzer

Analyze any GitHub repository and generate a comprehensive AI-ready report in seconds.

One command. Full codebase. Ready for AI.

Python Colab Kaggle License Version

English ย ย  Arabic


Stop manually copying files to share with AI. This tool scans any GitHub repository and creates a single, well-structured text file containing the entire codebase โ€” perfectly formatted for ChatGPT, Claude, Gemini, and other AI assistants.

ุจุทู‘ู„ ุชู†ุณุฎ ุงู„ู…ู„ูุงุช ูˆุงุญุฏ ูˆุงุญุฏ. ุงู„ุฃุฏุงุฉ ุฏูŠ ุจุชุญู„ู„ ุฃูŠ ู…ุณุชูˆุฏุน ุนู„ู‰ GitHub ูˆุจุชุทู„ุนู„ูƒ ู…ู„ู ูˆุงุญุฏ ููŠู‡ ูƒู„ ุงู„ุฃูƒูˆุงุฏ โ€” ุฌุงู‡ุฒ ุชุจุนุชู‡ ู„ู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ ู…ุจุงุดุฑุฉ.


๐Ÿ‡ฌ๐Ÿ‡ง English Documentation

โšก Quick Start

One command โ€” works in Google Colab, Kaggle, or any terminal:

!git clone https://github.com/YousefAutomates/repo-analyzer.git && cd repo-analyzer && pip install -q -r requirements.txt && python run.py

That's it. The tool will guide you through the rest interactively.


๐ŸŽฏ What Does This Tool Do?

This tool scans any GitHub repository and generates a single comprehensive TXT file containing:

Section What's Included
๐Ÿ“‹ Repository Info Name, description, stars, forks, license, topics, visibility
๐ŸŒณ Project Structure Complete visual directory tree
๐Ÿ“Š Statistics Total lines of code, file sizes, language breakdown
๐Ÿ“ฆ Dependencies Parsed from requirements.txt, package.json, go.mod, etc.
๐Ÿ“„ ALL Source Code Full content of every text file with syntax highlighting
๐Ÿ‘ฅ Contributors Who contributed and how many commits
๐Ÿ“ Commit History Latest changes with authors and dates
๐Ÿค– AI Token Estimate Shows compatibility with GPT-4, Claude, Gemini context windows
๐Ÿ“Œ AI Prompt Template Ready-to-use instructions for your AI request

๐Ÿ’ก Why Use This?

The Problem

When you want AI to understand, modify, or build upon an existing project, you need to share the complete codebase. Manually copying dozens of files is:

  • โฐ Time-consuming โ€” especially for large projects
  • ๐Ÿ˜ต Error-prone โ€” you might miss important files
  • ๐Ÿ”€ Unstructured โ€” AI loses context without proper organization
  • ๐Ÿ“ Uncertain โ€” you don't know if it fits the AI's context window

The Solution

This tool does everything automatically in seconds:

1. ๐Ÿ” Run the analyzer on any GitHub repo
2. ๐Ÿ“„ Get a single, perfectly structured TXT file
3. ๐Ÿ“‹ Copy and paste into your AI assistant
4. ๐Ÿ’ฌ Add your request (modify, explain, fix, improve)
5. โœจ Get AI-powered results!

๐ŸŒŸ Key Features

๐Ÿ” Security

Feature Description
๐Ÿ”‘ Secure Token Input Token is hidden when you type (uses getpass)
๐ŸŒ Environment Variables Supports GITHUB_TOKEN env variable
๐Ÿงน Memory Cleanup Token is cleared from memory after use
โœ… Permission Check Validates token scopes before scanning

๐Ÿ›ก๏ธ Reliability

Feature Description
๐Ÿ”„ Auto Retry Automatically retries failed API requests (3 attempts)
โณ Rate Limit Handling Detects rate limits and waits automatically
๐ŸŒ Connection Recovery Handles network timeouts gracefully
โš ๏ธ Error Messages Clear, helpful error messages for every situation

๐Ÿ“Š Smart Analysis

Feature Description
๐Ÿงฎ Token Estimation Estimates token count for AI context windows
๐Ÿ“ฆ Dependency Parsing Analyzes requirements.txt, package.json, go.mod, etc.
๐Ÿšซ Smart Filtering Automatically skips node_modules, pycache, .git, etc.
๐Ÿ“ Size Limits Configurable max file size (default 500KB)
๐Ÿท๏ธ File Categorization Groups files by language/type

๐Ÿ–ฅ๏ธ User Experience

Feature Description
โšก Smart Defaults Optimal settings out of the box โ€” just press Enter
๐Ÿ“‚ 3 Modes Public repo, private repo, or browse your repos
๐ŸŒฟ Branch Selection Analyze any branch, not just main
๐Ÿ” Repo Browser Search, filter, and paginate through your repos
โฌ‡๏ธ Auto Download File downloads automatically in Colab/Kaggle

๐Ÿค– AI Compatibility

AI Model Context Window Status
GPT-3.5 Turbo 16K tokens โœ… Small projects
GPT-4 / GPT-4o 128K tokens โœ… Most projects
Claude 3.5 Sonnet 200K tokens โœ… Large projects
Gemini 1.5/2.0 1M tokens โœ… Very large projects

๐Ÿ“– Usage Guide

Mode 1: Analyze a Public Repository (No Token)

Choice: 1
Repository: facebook/react

That's it! No authentication needed for public repos.

Mode 2: Analyze a Private Repository

Choice: 2
Token: ghp_xxxxxxxxxxxx (hidden input)
Repository: mycompany/private-api

Mode 3: Browse & Select Your Repos

Choice: 3
Token: ghp_xxxxxxxxxxxx (hidden input)
โ†’ Shows your repos with search, filter, and pagination
โ†’ Select by number

๐Ÿ”‘ Creating a GitHub Token

  1. Go to github.com/settings/tokens
  2. Click "Generate new token (classic)"
  3. Give it a name (e.g., "repo-analyzer")
  4. Select scopes:
    • โœ… repo โ€” Full control (required for private repos)
    • โœ… read:user โ€” Read user info (optional)
  5. Click "Generate token"
  6. Copy the token immediately (you won't see it again!)

๐Ÿ’ก Tip: For public repos only, you don't need a token at all!

๐Ÿ’ก Tip: You can set the GITHUB_TOKEN environment variable to skip the input prompt.


๐Ÿค– Using the Report with AI

Step 1: Generate the Report

Run the tool and get your TXT file.

Step 2: Send to AI

Open the TXT file, copy ALL content, and paste it into your AI assistant.

Step 3: Add Your Request

After pasting, add your specific request:

I've shared my complete project above. Please:

1. Explain how the authentication flow works
2. Find any security vulnerabilities
3. Add rate limiting to the API endpoints
4. Write unit tests for the user module
5. Suggest performance improvements

Please provide the modified code for each change.

๐Ÿ’ก Creative Use Cases

Use Case Description
๐Ÿ” Code Review Ask AI to review the entire codebase for bugs and improvements
๐Ÿ“ Documentation Generate comprehensive docs from the code
๐Ÿ”’ Security Audit Find vulnerabilities and security issues
๐Ÿงช Test Generation Auto-generate unit tests for all modules
๐Ÿ”„ Language Conversion Convert a Python project to JavaScript (or vice versa)
๐Ÿ“š Learning Understand how an open-source project works
๐Ÿ‘‹ Onboarding Help new developers understand the codebase quickly
๐Ÿ—๏ธ Architecture Review Get AI feedback on project structure and design patterns
๐Ÿ“Š Comparison Generate reports for 2 projects and ask AI to compare them
โ™ป๏ธ Refactoring Get suggestions for cleaner, more maintainable code

๐Ÿ“ Project Structure

repo-analyzer/
โ”œโ”€โ”€ run.py                      # Entry point with dependency management
โ”œโ”€โ”€ requirements.txt            # Python dependencies
โ”œโ”€โ”€ LICENSE                     # MIT License
โ”œโ”€โ”€ README.md                   # This file
โ”œโ”€โ”€ .gitignore                  # Git ignore rules
โ””โ”€โ”€ analyzer/                   # Main package
    โ”œโ”€โ”€ __init__.py             # Package init (version info)
    โ”œโ”€โ”€ github_client.py        # GitHub API client with retry & rate limiting
    โ”œโ”€โ”€ repo_scanner.py         # Repository scanning & file analysis
    โ”œโ”€โ”€ report_generator.py     # AI-ready report generation
    โ”œโ”€โ”€ file_exporter.py        # TXT export with auto-download
    โ””โ”€โ”€ main.py                 # Interactive CLI application

โš™๏ธ Configuration

Default Settings (Optimal)

Setting Default Description
Output Format TXT Best for AI consumption
Max File Size 500 KB Skip files larger than this
Max Files 500 Limit total files to scan
Include Contents Yes Include full source code
Include Stats Yes Include statistics section
Include Commits Yes Include commit history
Include Contributors Yes Include contributors list
Auto Download Yes Download file in Colab/Kaggle

Skipped Directories (Automatic)

These directories are automatically excluded from scanning:

node_modules/    __pycache__/    .git/           vendor/
venv/            dist/           build/          .idea/
.vscode/         coverage/       .tox/           .terraform/

Environment Variables

Variable Description
GITHUB_TOKEN GitHub personal access token (skips input prompt)

๐Ÿ› ๏ธ Technical Details

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  RepoAnalyzerApp                โ”‚
โ”‚                   (main.py)                     โ”‚
โ”‚            Interactive CLI Interface            โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ GitHub  โ”‚   Repo   โ”‚   Report    โ”‚    File      โ”‚
โ”‚ Client  โ”‚ Scanner  โ”‚ Generator   โ”‚  Exporter    โ”‚
โ”‚         โ”‚          โ”‚             โ”‚              โ”‚
โ”‚ โ€ข Auth  โ”‚ โ€ข Tree   โ”‚ โ€ข Header    โ”‚ โ€ข TXT Export โ”‚
โ”‚ โ€ข Retry โ”‚ โ€ข Filter โ”‚ โ€ข Stats     โ”‚ โ€ข Auto-DL    โ”‚
โ”‚ โ€ข Rate  โ”‚ โ€ข Scan   โ”‚ โ€ข Code      โ”‚ โ€ข Colab      โ”‚
โ”‚ โ€ข API   โ”‚ โ€ข Stats  โ”‚ โ€ข Tokens    โ”‚ โ€ข Kaggle     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

API Rate Limits

Authentication Rate Limit
No token 60 requests/hour
With token 5,000 requests/hour

The tool automatically handles rate limiting. If you hit the limit, it will wait and retry.

Dependencies

Package Purpose
requests HTTP requests to GitHub API
rich Enhanced terminal output (optional)

โ“ FAQ

Can I analyze private repositories?

Yes! Use Mode 2 or Mode 3 with a GitHub token that has repo scope.

What if the repo is too large for AI?

The tool shows token estimates and compatibility with each AI model. For very large repos, consider:

  • Reducing max file size
  • The tool automatically skips binary files and common junk directories
  • Use a model with a larger context window (Gemini 1.5 Pro supports 1M tokens)
Is my token safe?

Yes. The token is:

  • Hidden during input (not displayed on screen)
  • Cleared from memory after the scan completes
  • Never stored to disk or logged
  • You can also use the GITHUB_TOKEN environment variable
What file formats are supported?

The tool generates TXT files, which are the most compatible format for AI assistants. The report includes markdown-style code blocks with syntax highlighting hints.

Can I use this on my local machine?

Yes! Clone the repo and run python run.py in your terminal. It works on Windows, macOS, and Linux.

Does it work with GitLab or Bitbucket?

Currently, only GitHub repositories are supported. GitLab and Bitbucket support is planned for future versions.


๐Ÿ—บ๏ธ Roadmap

  • Core repository scanning
  • AI-ready TXT report generation
  • Token estimation & AI compatibility check
  • Dependency analysis
  • Secure token handling
  • Auto retry & rate limit handling
  • Smart directory filtering
  • Auto-download in Colab/Kaggle
  • Local repository analysis (without GitHub)
  • Markdown report format
  • Custom ignore patterns (.analyzerignore)
  • GitLab & Bitbucket support
  • Command-line arguments (non-interactive mode)
  • Report splitting for very large repos
  • Web interface (Streamlit)
  • Direct AI API integration
  • VS Code extension
  • GitHub Action

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  1. ๐Ÿด Fork this repository
  2. ๐ŸŒฟ Create a feature branch (git checkout -b feature/amazing-feature)
  3. ๐Ÿ’พ Commit your changes (git commit -m 'Add amazing feature')
  4. ๐Ÿ“ค Push to the branch (git push origin feature/amazing-feature)
  5. ๐Ÿ”„ Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.





๐Ÿ‡ธ๐Ÿ‡ฆ ุงู„ุชูˆุซูŠู‚ ุจุงู„ุนุฑุจูŠ

โšก ุงู„ุจุฏุงูŠุฉ ุงู„ุณุฑูŠุนุฉ

ุฃู…ุฑ ูˆุงุญุฏ โ€” ูŠุดุชุบู„ ููŠ Google Colab ุฃูˆ Kaggle ุฃูˆ ุฃูŠ Terminal:

!git clone https://github.com/YousefAutomates/repo-analyzer.git && cd repo-analyzer && pip install -q -r requirements.txt && python run.py

ูˆุจุณ ูƒุฏู‡! ุงู„ุฃุฏุงุฉ ู‡ุชูˆุฌู‡ูƒ ุฎุทูˆุฉ ุจุฎุทูˆุฉ.


๐ŸŽฏ ุฅูŠู‡ ุงู„ู„ูŠ ุจุชุนู…ู„ู‡ ุงู„ุฃุฏุงุฉ ุฏูŠุŸ

ุงู„ุฃุฏุงุฉ ุจุชุนู…ู„ ุชุญู„ูŠู„ ุดุงู…ู„ ู„ุฃูŠ ู…ุณุชูˆุฏุน ุนู„ู‰ GitHub ูˆุจุชุทู„ุน ู…ู„ู TXT ูˆุงุญุฏ ููŠู‡ ูƒู„ ุญุงุฌุฉ:

ุงู„ู‚ุณู… ุงู„ู…ุญุชูˆู‰
๐Ÿ“‹ ู…ุนู„ูˆู…ุงุช ุงู„ู…ุณุชูˆุฏุน ุงู„ุงุณู… ูˆุงู„ูˆุตู ูˆุงู„ู†ุฌูˆู… ูˆุงู„ููˆุฑูƒุงุช ูˆุงู„ุฑุฎุตุฉ ูˆุงู„ุชูˆุจูŠูƒุงุช
๐ŸŒณ ู‡ูŠูƒู„ ุงู„ู…ุดุฑูˆุน ุดุฌุฑุฉ ุงู„ู…ุฌู„ุฏุงุช ูˆุงู„ู…ู„ูุงุช ูƒุงู…ู„ุฉ
๐Ÿ“Š ุฅุญุตุงุฆูŠุงุช ุนุฏุฏ ุฃุณุทุฑ ุงู„ูƒูˆุฏ ูˆุฃุญุฌุงู… ุงู„ู…ู„ูุงุช ูˆุงู„ู„ุบุงุช ุงู„ู…ุณุชุฎุฏู…ุฉ
๐Ÿ“ฆ ุงู„ู…ูƒุชุจุงุช ุชุญู„ูŠู„ requirements.txt ูˆ package.json ูˆุบูŠุฑู‡ู…
๐Ÿ“„ ูƒู„ ุงู„ุฃูƒูˆุงุฏ ู…ุญุชูˆู‰ ูƒู„ ู…ู„ู ูƒูˆุฏ ุจุงู„ูƒุงู…ู„ ู…ุน ุชู†ุณูŠู‚ syntax
๐Ÿ‘ฅ ุงู„ู…ุณุงู‡ู…ูŠู† ู…ูŠู† ุณุงู‡ู… ูˆุจูƒุงู… commit
๐Ÿ“ ุณุฌู„ ุงู„ุชุนุฏูŠู„ุงุช ุขุฎุฑ ุงู„ุชุนุฏูŠู„ุงุช ุจุงู„ู…ุคู„ู ูˆุงู„ุชุงุฑูŠุฎ
๐Ÿค– ุชู‚ุฏูŠุฑ ุงู„ุชูˆูƒู†ุงุช ู‡ู„ ุงู„ู…ู„ู ู‡ูŠุฏุฎู„ ููŠ GPT-4 ูˆู„ุง Claude ูˆู„ุง Gemini
๐Ÿ“Œ ู‚ุงู„ุจ ู„ู„ู€ AI ุชุนู„ูŠู…ุงุช ุฌุงู‡ุฒุฉ ุชูƒุชุจ ููŠู‡ุง ุทู„ุจูƒ

๐Ÿ’ก ู„ูŠู‡ ุชุณุชุฎุฏู… ุงู„ุฃุฏุงุฉ ุฏูŠุŸ

ุงู„ู…ุดูƒู„ุฉ

ู„ู…ุง ุชุญุจ ุชุทู„ุจ ู…ู† ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ ูŠูู‡ู… ุฃูˆ ูŠุนุฏู‘ู„ ู…ุดุฑูˆุนุŒ ู…ุญุชุงุฌ ุชุจุนุชู„ู‡ ูƒู„ ุงู„ุฃูƒูˆุงุฏ. ู†ุณุฎ ุงู„ู…ู„ูุงุช ูˆุงุญุฏ ูˆุงุญุฏ:

  • โฐ ุจูŠุงุฎุฏ ูˆู‚ุช ูƒุชูŠุฑ โ€” ุฎุตูˆุตุงู‹ ุงู„ู…ุดุงุฑูŠุน ุงู„ูƒุจูŠุฑุฉ
  • ๐Ÿ˜ต ู…ู…ูƒู† ุชู†ุณู‰ ู…ู„ูุงุช โ€” ูˆุชุถูŠุน ุงู„ุณูŠุงู‚
  • ๐Ÿ”€ ู…ุด ู…ู†ุธู… โ€” ุงู„ู€ AI ู…ุด ู‡ูŠูู‡ู… ุจุฏูˆู† ุชู†ุธูŠู…
  • ๐Ÿ“ ู…ุด ู…ุชุฃูƒุฏ โ€” ู‡ู„ ุงู„ูƒูˆุฏ ู‡ูŠุฏุฎู„ ููŠ context ุงู„ู€ AI ูˆู„ุง ู„ุฃ

ุงู„ุญู„

ุงู„ุฃุฏุงุฉ ุฏูŠ ุจุชุนู…ู„ ูƒู„ ุฏู‡ ุฃูˆุชูˆู…ุงุชูŠูƒ ููŠ ุซูˆุงู†ูŠ:

1. ๐Ÿ” ุดุบู‘ู„ ุงู„ุฃุฏุงุฉ ุนู„ู‰ ุฃูŠ ุฑูŠุจูˆ
2. ๐Ÿ“„ ู‡ุชุงุฎุฏ ู…ู„ู TXT ูˆุงุญุฏ ู…ู†ุธู…
3. ๐Ÿ“‹ ุงู†ุณุฎ ุงู„ู…ุญุชูˆู‰ ููŠ ChatGPT / Claude / Gemini
4. ๐Ÿ’ฌ ุงูƒุชุจ ุทู„ุจูƒ (ุนุฏู‘ู„ุŒ ุงุดุฑุญุŒ ุตู„ู‘ุญุŒ ุญุณู‘ู†)
5. โœจ ุฎุฏ ุงู„ู†ุชูŠุฌุฉ!

๐ŸŒŸ ุงู„ู…ู…ูŠุฒุงุช ุงู„ุฑุฆูŠุณูŠุฉ

๐Ÿ” ุงู„ุฃู…ุงู†

  • ๐Ÿ”‘ ุงู„ุชูˆูƒู† ู…ุฎููŠ โ€” ู…ุด ุจูŠุธู‡ุฑ ูˆุฃู†ุช ุจุชูƒุชุจู‡
  • ๐ŸŒ Environment Variable โ€” ู…ู…ูƒู† ุชุญุท ุงู„ุชูˆูƒู† ููŠ ู…ุชุบูŠุฑ ุจูŠุฆุฉ
  • ๐Ÿงน ุชู†ุธูŠู ุงู„ุฐุงูƒุฑุฉ โ€” ุงู„ุชูˆูƒู† ุจูŠุชู…ุณุญ ุจุนุฏ ุงู„ุงุณุชุฎุฏุงู…

๐Ÿ›ก๏ธ ุงู„ู…ูˆุซูˆู‚ูŠุฉ

  • ๐Ÿ”„ ุฅุนุงุฏุฉ ุงู„ู…ุญุงูˆู„ุฉ โ€” ู„ูˆ ุงู„ุงุชุตุงู„ ูุดู„ ุจูŠุญุงูˆู„ 3 ู…ุฑุงุช
  • โณ Rate Limit โ€” ุจูŠุณุชู†ู‰ ุชู„ู‚ุงุฆูŠุงู‹ ู„ูˆ ูˆุตู„ ู„ู„ุญุฏ ุงู„ุฃู‚ุตู‰
  • ๐ŸŒ ุงุณุชู‚ุฑุงุฑ โ€” ุจูŠุชุนุงู…ู„ ู…ุน ู…ุดุงูƒู„ ุงู„ุดุจูƒุฉ ุจุฐูƒุงุก

๐Ÿ“Š ุชุญู„ูŠู„ ุฐูƒูŠ

  • ๐Ÿงฎ ุชู‚ุฏูŠุฑ ุงู„ุชูˆูƒู†ุงุช โ€” ุจูŠุญุณุจู„ูƒ ู‡ู„ ุงู„ู…ู„ู ู‡ูŠุฏุฎู„ ููŠ ุงู„ู€ AI ูˆู„ุง ู„ุฃ
  • ๐Ÿ“ฆ ุชุญู„ูŠู„ ุงู„ู…ูƒุชุจุงุช โ€” ุจูŠู‚ุฑุฃ requirements.txt ูˆ package.json
  • ๐Ÿšซ ูู„ุชุฑุฉ ุฐูƒูŠุฉ โ€” ุจูŠุชุฌุงู‡ู„ node_modules ูˆ pycache ุชู„ู‚ุงุฆูŠุงู‹

๐Ÿ–ฅ๏ธ ุณู‡ูˆู„ุฉ ุงู„ุงุณุชุฎุฏุงู…

  • โšก ุฅุนุฏุงุฏุงุช ู…ุซุงู„ูŠุฉ โ€” ุจุณ ุงุถุบุท Enter ูˆู‡ูˆ ูŠุดุชุบู„
  • ๐Ÿ“‚ 3 ุฃูˆุถุงุน โ€” ุฑูŠุจูˆ ุนุงู… ุฃูˆ ุฎุงุต ุฃูˆ ุชุตูุญ ุฑูŠุจูˆุฒุงุชูƒ
  • โฌ‡๏ธ ุชุญู…ูŠู„ ุชู„ู‚ุงุฆูŠ โ€” ุงู„ู…ู„ู ุจูŠู†ุฒู„ ุฃูˆุชูˆู…ุงุชูŠูƒ ููŠ Colab

๐Ÿ”‘ ุฅู†ุดุงุก ุชูˆูƒู† GitHub

  1. ุฑูˆุญ ุนู„ู‰ github.com/settings/tokens
  2. ุงุถุบุท "Generate new token (classic)"
  3. ุณู…ู‘ูŠู‡ (ู…ุซู„ุงู‹ "repo-analyzer")
  4. ุงุฎุชุงุฑ ุงู„ุตู„ุงุญูŠุงุช:
    • โœ… repo โ€” ุชุญูƒู… ูƒุงู…ู„ (ู„ุงุฒู… ู„ู„ุฑูŠุจูˆุฒ ุงู„ุฎุงุตุฉ)
  5. ุงุถุบุท "Generate token"
  6. ุงู†ุณุฎ ุงู„ุชูˆูƒู† ููˆุฑุงู‹ (ู…ุด ู‡ูŠุธู‡ุฑู„ูƒ ุชุงู†ูŠ!)

๐Ÿ’ก ู„ู„ุฑูŠุจูˆุฒ ุงู„ุนุงู…ุฉ ู…ุด ู…ุญุชุงุฌ ุชูˆูƒู† ุฎุงู„ุต!


๐Ÿค– ุงู„ุงุณุชุฎุฏุงู… ู…ุน ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ

ุงู„ุฎุทูˆุฉ 1: ูˆู„ู‘ุฏ ุงู„ุชู‚ุฑูŠุฑ

ุดุบู‘ู„ ุงู„ุฃุฏุงุฉ ูˆุฎุฏ ู…ู„ู ุงู„ู€ TXT.

ุงู„ุฎุทูˆุฉ 2: ุงุจุนุช ู„ู„ู€ AI

ุงูุชุญ ุงู„ู…ู„ู ูˆุงู†ุณุฎ ูƒู„ ุงู„ู…ุญุชูˆู‰ ูˆุงู„ุตู‚ู‡ ููŠ ChatGPT ุฃูˆ Claude ุฃูˆ Gemini.

ุงู„ุฎุทูˆุฉ 3: ุงูƒุชุจ ุทู„ุจูƒ

ุจุนุฏ ู…ุง ุชู„ุตู‚ ุงู„ู…ุญุชูˆู‰ุŒ ุงูƒุชุจ ุงู„ู„ูŠ ุนุงูˆุฒู‡:

ุฏู‡ ู…ุดุฑูˆุนูŠ ุงู„ูƒุงู…ู„ ุจูƒู„ ุงู„ุฃูƒูˆุงุฏ. ุนุงูˆุฒ:

1. ุงุดุฑุญู„ูŠ ุฅุฒุงูŠ ุงู„ู€ authentication ุจูŠุดุชุบู„
2. ุฏูˆู‘ุฑ ุนู„ู‰ ุฃูŠ ู…ุดุงูƒู„ ุฃู…ู†ูŠุฉ
3. ุฃุถู rate limiting ู„ู„ู€ API
4. ุงูƒุชุจู„ูŠ unit tests ู„ู„ู€ user module
5. ุงู‚ุชุฑุญ ุชุญุณูŠู†ุงุช ู„ู„ุฃุฏุงุก

ุงุฏูŠู†ูŠ ุงู„ูƒูˆุฏ ุงู„ู…ุนุฏู‘ู„ ู„ูƒู„ ุชุบูŠูŠุฑ.

๐Ÿ’ก ุงุณุชุฎุฏุงู…ุงุช ุฅุจุฏุงุนูŠุฉ

ุงู„ุงุณุชุฎุฏุงู… ุงู„ูˆุตู
๐Ÿ” ู…ุฑุงุฌุนุฉ ุงู„ูƒูˆุฏ ุงู„ู€ AI ูŠุฑุงุฌุนู„ูƒ ุงู„ูƒูˆุฏ ูƒู„ู‡ ูˆูŠู„ุงู‚ูŠ ุงู„ุฃุฎุทุงุก
๐Ÿ“ ุชูˆุซูŠู‚ ุชู„ู‚ุงุฆูŠ ูŠูˆู„ู‘ุฏู„ูƒ documentation ูƒุงู…ู„ุฉ ู…ู† ุงู„ูƒูˆุฏ
๐Ÿ”’ ูุญุต ุฃู…ู†ูŠ ูŠุฏูˆู‘ุฑ ุนู„ู‰ ุงู„ุซุบุฑุงุช ุงู„ุฃู…ู†ูŠุฉ
๐Ÿงช ูƒุชุงุจุฉ Tests ูŠูƒุชุจู„ูƒ unit tests ู„ูƒู„ ุงู„ู…ูˆุฏูŠูˆู„ุงุช
๐Ÿ”„ ุชุญูˆูŠู„ ุงู„ู„ุบุฉ ูŠุญูˆู‘ู„ูƒ ุงู„ู…ุดุฑูˆุน ู…ู† Python ู„ู€ JavaScript ุฃูˆ ุงู„ุนูƒุณ
๐Ÿ“š ุชุนู„ู‘ู… ูŠุดุฑุญู„ูƒ ุฅุฒุงูŠ ู…ุดุฑูˆุน open source ุจูŠุดุชุบู„
๐Ÿ‘‹ Onboarding ูŠุณุงุนุฏ ุงู„ู…ุทูˆุฑูŠู† ุงู„ุฌุฏุฏ ูŠูู‡ู…ูˆุง ุงู„ูƒูˆุฏ ุจุณุฑุนุฉ
๐Ÿ—๏ธ ู…ุฑุงุฌุนุฉ ู…ุนู…ุงุฑูŠุฉ ูŠุฏูŠูƒ ุฑุฃูŠู‡ ููŠ ุจู†ูŠุฉ ุงู„ู…ุดุฑูˆุน
โ™ป๏ธ Refactoring ูŠู‚ุชุฑุญ ูƒูˆุฏ ุฃู†ุธู ูˆุฃุณู‡ู„ ููŠ ุงู„ุตูŠุงู†ุฉ

โ“ ุฃุณุฆู„ุฉ ุดุงุฆุนุฉ

ู‡ู„ ูŠู‚ุฏุฑ ูŠุญู„ู„ ุฑูŠุจูˆุฒ ุฎุงุตุฉุŸ

ุฃูŠูˆุง! ุงุณุชุฎุฏู… ุงู„ูˆุถุน 2 ุฃูˆ 3 ู…ุน ุชูˆูƒู† GitHub ุนู†ุฏู‡ ุตู„ุงุญูŠุฉ repo.

ู„ูˆ ุงู„ุฑูŠุจูˆ ูƒุจูŠุฑ ุฃูˆูŠุŸ

ุงู„ุฃุฏุงุฉ ุจุชุนุฑุถ ุชู‚ุฏูŠุฑ ุงู„ุชูˆูƒู†ุงุช ูˆุชูˆุงูู‚ ูƒู„ AI. ู„ู„ุฑูŠุจูˆุฒ ุงู„ูƒุจูŠุฑุฉ ุฌุฏุงู‹:

  • ุงู„ุฃุฏุงุฉ ุจุชุชุฌุงู‡ู„ ุงู„ู…ู„ูุงุช ุงู„ุซู†ุงุฆูŠุฉ ูˆุงู„ู…ุฌู„ุฏุงุช ุงู„ุบูŠุฑ ู…ู‡ู…ุฉ ุชู„ู‚ุงุฆูŠุงู‹
  • ู…ู…ูƒู† ุชู‚ู„ู„ ุญุฌู… ุงู„ู…ู„ู ุงู„ุฃู‚ุตู‰
  • ุงุณุชุฎุฏู… Gemini 1.5 Pro (ุจูŠุฏุนู… ู…ู„ูŠูˆู† ุชูˆูƒู†)
ู‡ู„ ุงู„ุชูˆูƒู† ุจุชุงุนูŠ ุขู…ู†ุŸ

ุฃูŠูˆุง! ุงู„ุชูˆูƒู†:

  • ู…ุด ุจูŠุธู‡ุฑ ุนู„ู‰ ุงู„ุดุงุดุฉ ูˆุฃู†ุช ุจุชูƒุชุจู‡
  • ุจูŠุชู…ุณุญ ู…ู† ุงู„ุฐุงูƒุฑุฉ ุจุนุฏ ุงู„ุงุณุชุฎุฏุงู…
  • ู…ุด ุจูŠุชุญูุธ ุนู„ู‰ ุงู„ู‡ุงุฑุฏ ูˆู„ุง ุจูŠุชุณุฌู„ ููŠ ุฃูŠ log
ุจูŠุดุชุบู„ ุนู„ู‰ GitLab ุฃูˆ BitbucketุŸ

ุญุงู„ูŠุงู‹ ุจูŠุฏุนู… GitHub ุจุณ. ุฏุนู… GitLab ูˆ Bitbucket ู…ุฎุทุท ููŠ ุงู„ู†ุณุฎ ุงู„ู‚ุงุฏู…ุฉ.


๐Ÿ—บ๏ธ ุฎุทุฉ ุงู„ู…ุณุชู‚ุจู„

  • ุชุญู„ูŠู„ ุงู„ู…ุณุชูˆุฏุนุงุช ุงู„ุฃุณุงุณูŠ
  • ุชู‚ุฑูŠุฑ TXT ุฌุงู‡ุฒ ู„ู„ู€ AI
  • ุชู‚ุฏูŠุฑ ุงู„ุชูˆูƒู†ุงุช ูˆุงู„ุชูˆุงูู‚
  • ุชุญู„ูŠู„ ุงู„ู…ูƒุชุจุงุช
  • ุฃู…ุงู† ุงู„ุชูˆูƒู†
  • ุฅุนุงุฏุฉ ุงู„ู…ุญุงูˆู„ุฉ ุงู„ุชู„ู‚ุงุฆูŠุฉ
  • ูู„ุชุฑุฉ ุงู„ู…ุฌู„ุฏุงุช ุงู„ุฐูƒูŠุฉ
  • ุชุญู…ูŠู„ ุชู„ู‚ุงุฆูŠ ููŠ Colab/Kaggle
  • ุชุญู„ูŠู„ ู…ุณุชูˆุฏุนุงุช ู…ุญู„ูŠุฉ
  • ุชู‚ุฑูŠุฑ ุจุตูŠุบุฉ Markdown
  • ุฃู†ู…ุงุท ุชุฌุงู‡ู„ ู…ุฎุตุตุฉ (.analyzerignore)
  • ุฏุนู… GitLab ูˆ Bitbucket
  • ูˆุถุน ุณุทุฑ ุงู„ุฃูˆุงู…ุฑ (ุจุฏูˆู† ุชูุงุนู„)
  • ุชู‚ุณูŠู… ุงู„ุชู‚ุงุฑูŠุฑ ุงู„ูƒุจูŠุฑุฉ
  • ูˆุงุฌู‡ุฉ ูˆูŠุจ (Streamlit)
  • ุฑุจุท ู…ุจุงุดุฑ ู…ุน API ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ
  • ุฅุถุงูุฉ VS Code
  • GitHub Action

๐Ÿ“„ ุงู„ุฑุฎุตุฉ

ุงู„ู…ุดุฑูˆุน ู…ุฑุฎู‘ุต ุชุญุช ุฑุฎุตุฉ MIT โ€” ุดูˆู ู…ู„ู LICENSE ู„ู„ุชูุงุตูŠู„.



๐Ÿ‘ค About the Author

Yousef Elsherbiny

Automation & AI Solutions

Website GitHub



Built with โค๏ธ by YousefAutomates

โญ If this tool saved you time, please star the repo! โญ


Stars