devradar-cli
v1.0.0
Published
  
Readme
DevRadar CLI
DevRadar is a developer project scanner CLI that analyzes your local coding projects, reporting:
- Languages used and their percentage
- Lines of code per project
- Last Git commit date
- Optional JSON or HTML report export
Perfect for tracking your coding activity and generating stats for your portfolio.
Features
- Scan multiple projects in a folder
- Detect programming languages and line counts
- Show last Git commit per project
- Export JSON or beautifully styled HTML reports
- Fully offline – no external API required
- Lightweight and fast
Installation
1. Clone the repository
git clone https://github.com/medc-0/devradar-cli.git
cd devradar-cli2. Install dependencies
npm install3. Link globally (optional)
npm linkNow you can run the CLI from anywhere using:
devradar scan "C:\Users\(Your user)\Projects" --htmlUsage Examples
Scan projects (default table output):
devradar scan "C:\Users\(Your user)\Projects"Export JSON report:
devradar scan "C:\Users\(Your user)\Projects" --jsonExport HTML report:
devradar scan "C:\Users\(Your user)\Projects" --htmlExample Table Output
| Project | Languages | Lines | Last Commit | |-----------|---------------------------|-------|--------------| | Proj1 | Python (78.5%), JS (21.5%)| 1420 | 2025-10-25 | | Websites | HTML (60.3%), CSS (25.2%), JS (14.5%) | 824 | — |
Example HTML Report Preview
Tips & Tricks
- Use DevRadar to track your coding progress weekly
- Include HTML/JSON reports in your portfolio
Contribution
Pull requests, bug reports, and feature suggestions are welcome!
- Fork the repo
- Create a feature branch:
git checkout -b feature-name- Commit your changes:
git commit -m "Add feature"- Push to your branch:
git push origin feature-name- Open a pull request
License
This project is licensed under the MIT License.
See LICENSE for details.
