Devr.AI icon indicating copy to clipboard operation
Devr.AI copied to clipboard

FEATURE REQUEST: Efficient Chunking Strategy to create a GitHub Repository profile

Open smokeyScraper opened this issue 1 year ago • 2 comments

Is your feature request related to a problem?

  • [x] Yes, it is related to a problem

Describe the feature you'd like

🌟 Feature Description

Implement a comprehensive repository chunking system that creates fine-grained, searchable representations of entire codebases. This system will parse repositories file-by-file, creating intelligent chunks that preserve code structure, relationships, and context, enabling users to query specific implementations, functions, or patterns across the entire codebase through natural language.

🔍 Problem Statement

Current limitations in codebase assistance:

  • Cannot answer questions like "Where is authentication implemented?" or "Show me all API endpoints"
  • No way to understand code relationships across files (imports, dependencies, call graphs)
  • Difficult to locate specific implementations in large codebases
  • Cannot provide context-aware code suggestions based on existing patterns
  • Missing ability to track code evolution and architectural decisions

Simply indexing raw files creates poor search results and loses crucial context about how code components interact.

🎯 Expected Outcome

A sophisticated code indexing system that:

Probably a workaround tree-based strategies.

  1. Preserves Code Structure: Maintains relationships between files, functions, and classes
  2. Enables Precise Queries: Support questions like "How does the payment service connect to the database?"
  3. Tracks Dependencies: Understands import chains and function call graphs
  4. Provides Context: Returns not just code, but surrounding context and related files
  5. Supports Multiple Languages: Intelligently chunks Python, JavaScript, TypeScript, Go, etc.

Record

  • [x] I agree to follow this project's Code of Conduct
  • [x] I want to work on implementing this feature

smokeyScraper avatar May 27 '25 04:05 smokeyScraper

Refer Gist: GitHubInterfacing.py

smokeyScraper avatar May 27 '25 04:05 smokeyScraper

@smokeyScraper Heyy!!!!! I would love to work on this issue. Could you please assign it to me ?

aditi25srivastava avatar Sep 24 '25 14:09 aditi25srivastava