You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Token-based authentication for private repositories
17
-
- Cross-platform: Linux, macOS, Windows
12
+
-**Asynchronous Repository Processing**: Implements non-blocking HTTP client with connection pooling and concurrent stream processing for efficient remote repository fetching and decompression
13
+
-**Multi-Platform URL Resolution**: Features intelligent URL parsing engine that normalizes different Git hosting platform APIs (GitHub, GitLab, Bitbucket, Codeberg) into unified archive endpoints with branch/commit resolution
14
+
-**Streaming Archive Analysis**: Processes tar.gz archives directly in memory using streaming decompression without temporary file extraction, reducing I/O overhead and memory footprint
15
+
-**Language Detection Engine**: Implements rule-based file extension and content analysis system supporting 150+ programming languages with configurable pattern matching and statistical computation
16
+
-**Real-time Progress Monitoring**: Features bandwidth-aware progress tracking with download speed calculation, ETA estimation, and adaptive UI rendering for terminal environments
17
+
-**Structured Data Serialization**: Provides multiple output format engines (Table, JSON, CSV, XML) with schema validation and type-safe serialization for integration with external tools
18
+
-**Authentication Layer**: Implements OAuth token management with secure credential handling for accessing private repositories across different hosting platforms
19
+
-**Cross-Platform Binary Distribution**: Supports native compilation targets for Linux, macOS, and Windows with platform-specific optimizations and dependency management
18
20
19
21
## Installation
20
22
@@ -44,50 +46,102 @@ bytes-radar [OPTIONS] <URL>
44
46
45
47
### Examples
46
48
49
+
#### Basic Repository Analysis
50
+
51
+
Analyze GitHub repositories using shorthand notation:
52
+
47
53
```bash
48
-
# GitHub repository
49
54
bytes-radar torvalds/linux
55
+
bytes-radar microsoft/typescript
56
+
bytes-radar rust-lang/cargo
57
+
```
58
+
59
+
#### Branch and Commit Targeting
50
60
51
-
# Specific branch or commit
61
+
Specify particular branches or commit hashes for analysis:
62
+
63
+
```bash
52
64
bytes-radar microsoft/vscode@main
53
-
bytes-radar rust-lang/rust@abc1234
65
+
bytes-radar kubernetes/kubernetes@release-1.28
66
+
bytes-radar rust-lang/rust@abc1234567
67
+
```
54
68
55
-
# Other platforms
56
-
bytes-radar https://gitlab.com/user/repo
57
-
bytes-radar https://bitbucket.org/user/repo
69
+
#### Multi-Platform Repository Support
58
70
59
-
# Output formats
71
+
Analyze repositories from different Git hosting platforms:
72
+
73
+
```bash
74
+
bytes-radar https://gitlab.com/gitlab-org/gitlab
75
+
bytes-radar https://bitbucket.org/atlassian/stash
76
+
bytes-radar https://codeberg.org/forgejo/forgejo
77
+
```
78
+
79
+
#### Output Format Configuration
80
+
81
+
Generate analysis results in structured data formats:
82
+
83
+
```bash
60
84
bytes-radar -f json torvalds/linux
61
-
bytes-radar -f csv user/repo
85
+
bytes-radar -f csv microsoft/typescript
86
+
bytes-radar -f xml rust-lang/cargo
87
+
```
88
+
89
+
#### Private Repository Access
62
90
63
-
# Private repositories
64
-
bytes-radar --token ghp_xxx private/repo
91
+
Authenticate with platform tokens for private repository analysis:
0 commit comments