r/coolgithubprojects • u/Novachrono9 • 17h ago
Built torq: a cross-platform Go + Bubble Tea TUI for concurrent magnet search, aria2 queue management, and rqbit streaming
I've been working on torq (v2.1.0), a single-binary terminal UI written in Go with Bubble Tea for searching, managing aria2 background downloads, and streaming media via rqbit.
**What it does:**
- **4-tab Bubble Tea TUI** (`Search`, `Downloads`, `Stream`, `Settings`)
- **Concurrent queries** with automatic resolution (`4K`, `1080p`, `720p`) and codec (`AV1`, `HEVC`, `x264`) classification
- **Local HTTP stream gateway (`rqbit`)**: isolates a single video file from multi-file archives and opens it in `mpv`/`vlc` (or Android video players via `am start` on Termux)
- **Background `aria2` RPC control**: pause/resume/cancel queue and live/persistent bandwidth limits (`torq limit 2M`)
- **Cross-platform**: pre-built binaries for Linux (`amd64`, `arm64`, `armv7`), macOS (`amd64`, `arm64`), Windows (`amd64`, `arm64`), and Termux
Source & install instructions (including shell/PowerShell scripts and `go build`):
https://github.com/novachrono09/torq
Would love feedback on the TUI layout and keyboard navigation!