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
- Extensive provider configuration with custom headers, credentials, and settings
- Advanced network configuration with proxy support and compression control
- Intelligent file filtering with customizable rules and .gitignore support
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:
Provider Configuration
Configure provider-specific settings and authentication:
# GitHub Enterprise with custom API version
# Multiple provider credentials
Network Configuration
Configure network behavior and proxy settings:
# Using corporate proxy with custom timeout
# Enterprise setup with custom headers
Output Format Configuration
Generate analysis results in structured data formats:
Performance and Output Control
Configure analysis behavior and output verbosity:
CLI Options
<URL> Repository )
# Output Options
# Provider Configuration
# 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.