|
1 | | -# video-link-debugger |
| 1 | +# Video Link Debugger |
2 | 2 |
|
3 | | -A CLI built with Bunli |
4 | 3 |
|
5 | | -## Installation |
| 4 | +## Install |
| 5 | + |
| 6 | +Pre-built binaries are published to the [Releases page](https://github.com/TorBox-App/video-link-debugger/releases) for every push. Pick the file matching your OS and CPU: |
| 7 | + |
| 8 | +| OS | File | |
| 9 | +| --- | --- | |
| 10 | +| macOS (Apple Silicon) | `video-link-debugger-darwin-arm64` | |
| 11 | +| Linux x64 | `video-link-debugger-linux-x64` | |
| 12 | +| Linux x64 (older CPUs) | `video-link-debugger-linux-x64-baseline` | |
| 13 | +| Linux ARM64 | `video-link-debugger-linux-arm64` | |
| 14 | +| Windows x64 | `video-link-debugger-windows-x64.exe` | |
| 15 | +| Windows ARM64 | `video-link-debugger-windows-arm64.exe` | |
| 16 | + |
| 17 | +The binaries are unsigned, so the first time you run one you'll see a security warning. The one-time fix per platform: |
| 18 | + |
| 19 | +### macOS |
| 20 | + |
| 21 | +If you see **"video-link-debugger-darwin-arm64 is damaged and can't be opened"**, that's macOS Gatekeeper rejecting the binary because it's unsigned. Run this once to remove the quarantine flag: |
6 | 22 |
|
7 | 23 | ```bash |
8 | | -bun install |
| 24 | +xattr -dr com.apple.quarantine ~/Downloads/video-link-debugger-darwin-arm64 |
| 25 | +chmod +x ~/Downloads/video-link-debugger-darwin-arm64 |
| 26 | +./video-link-debugger-darwin-arm64 |
9 | 27 | ``` |
10 | 28 |
|
11 | | -## Development |
| 29 | +### Windows |
| 30 | + |
| 31 | +If SmartScreen says **"Windows protected your PC"**, click **More info** → **Run anyway**. |
| 32 | + |
| 33 | +You can also right-click the `.exe` → Properties → check **Unblock** → OK before launching. |
| 34 | + |
| 35 | +### Linux |
| 36 | + |
| 37 | +No security prompts. Just make it executable: |
12 | 38 |
|
13 | 39 | ```bash |
14 | | -bun dev -- [command] |
| 40 | +chmod +x ~/Downloads/video-link-debugger-linux-x64 |
| 41 | +./video-link-debugger-linux-x64 |
15 | 42 | ``` |
16 | 43 |
|
17 | | -## Building |
| 44 | +## Usage |
18 | 45 |
|
19 | 46 | ```bash |
20 | | -bun run build |
| 47 | +video-link-debugger test https://example.com/video.mp4 |
| 48 | +# or |
| 49 | +video-link-debugger test --link https://example.com/video.mp4 |
21 | 50 | ``` |
22 | 51 |
|
23 | | -## Testing |
| 52 | +### Commands |
| 53 | + |
| 54 | +- `test` — Tests a video link and reports link information, network timings, seek behavior, and single- vs. multi-connection download speed. |
| 55 | + |
| 56 | +## Development |
24 | 57 |
|
25 | 58 | ```bash |
26 | | -bun test |
| 59 | +bun install |
| 60 | +bun dev -- [command] |
27 | 61 | ``` |
28 | 62 |
|
29 | | -## Usage |
| 63 | +### Building |
30 | 64 |
|
31 | 65 | ```bash |
32 | | -video-link-debugger hello --name World |
| 66 | +bun run build |
33 | 67 | ``` |
34 | 68 |
|
35 | | -## Commands |
| 69 | +### Testing |
36 | 70 |
|
37 | | -- `hello` - A simple greeting command |
| 71 | +```bash |
| 72 | +bun test |
| 73 | +``` |
38 | 74 |
|
39 | 75 | ## License |
40 | 76 |
|
|
0 commit comments