Bytes Radar
Hyper-fast CLOC (*count lines of code) tool for remote repositories.

Features
- Efficient remote repository analysis with async streaming and in-memory decompression, optimized for low memory usage (always <12MB runtime mem)
- Unified URL parsing for GitHub, GitLab, Bitbucket, Codeberg, SourceForge, Gitea and Azure DevOps
- Rule-based language detection supporting 150+ programming languages with Tokei's Language Rules
- Real-time progress tracking with download speed, ETA and adaptive terminal UI
- Multiple output formats (Table, JSON, CSV, XML, YAML, TOML) with schema validation
- OAuth token management for private repository access
- Native binaries for Linux, macOS and Windows
- Experimental parallel processing and streaming analysis
Supported Platforms
| Platform | URL Format | Example |
|---|---|---|
| GitHub | user/repo, user/repo@branch, full URL |
microsoft/vscode, torvalds/linux@master |
| GitLab | Full URL | https://gitlab.com/user/repo |
| Bitbucket | Full URL | https://bitbucket.org/user/repo |
| Codeberg | Full URL | https://codeberg.org/user/repo |
| SourceForge | Full URL | https://sourceforge.net/user/repo |
| Gitea | Full URL | https://gitea.example.com/user/repo |
| Azure DevOps | Full URL | https://dev.azure.com/org/project |
| Direct Archive | tar.gz, tgz, zip URL | https://example.com/archive.tar.gz |
Installation
Download the latest binary from GitHub Releases or install via Cargo:
Usage
Basic Repo Analysis
Branch and Commit Targeting
Specify particular branches or commit hashes for analysis:
Multi-Platform Repository Support
Analyze repositories from different Git hosting platforms:
Output Format Configuration
Generate analysis results in structured data formats:
Private Repository Access
Authenticate with platform tokens for private repository analysis:
Performance and Output Control
Configure analysis behavior and output verbosity:
CLI Options
<URL> Repository )
# Output Options
# Authentication
# Network Options
# Filtering Options
)
)
# Language Options
# Analysis Options
)
# Debug and Logging
# Advanced Options
)
)
# Experimental Features
# General
See CLI USAGE GUIDE for more detailed usage examples and advanced configurations.
Deployment
Cloudflare Workers
[!TIP] The Free Tier of Cloudflare Workers has a 20s request timeout limit (wall time). Analysis of large repositories may fail due to this limitation. Consider upgrading to Cloudflare Workers Pro or using alternative methods for processing large repositories.
For detailed deployment instructions and API documentation, see DEPLOYMENT GUIDE.
Contributing
We welcome contributions! Please see CONTRIBUTING GUIDE for guidelines.