|
|
|
|
|
|
GitInfo is a lightweight tool for analyzing Git repositories, offering an efficient way to count lines of code and gather repository statistics. It's a simple yet powerful tool for developers and teams.
-
🧮 Count Lines of Code
Measure the total number of lines in supported programming files in the repository. -
📂 Language Support
Analyze repositories with files in Python, JavaScript, C++, Java, HTML, CSS, Markdown, and more. -
⚡ Fast Processing
Utilizes multi-threaded file parsing for optimized performance. -
🌐 Planned Features
Future updates will include integration with GitHub to fetch stars, forks, and followers.
To install GitInfo, clone the repository and install dependencies:
git clone https://github.com/rompelhd/GitInfo.git
cd GitInfo
pip install -r requirements.txt
Run GitInfo by providing the repository URL:
python GitInfo.py <repository_url>
python GitInfo.py https://github.com/torvalds/linux
- Lines of Code: Total lines across supported files.
- Repository Details: Owner, name, and other metadata.
.py
, .js
, .java
, .c
, .cpp
, .html
, .css
, .md
, and others.
-
GitHub API Integration
Retrieve repository stars, forks, and followers. -
Custom Extensions
Allow users to specify additional or excluded file types. -
Enhanced Reporting
Generate charts and statistics with detailed insights.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a branch for your feature or bugfix.
- Submit a pull request for review.
This project is licensed under the Apache License.