macOS
brew install torf-clilocal Homebrew formula metadata
安装
brew install torf-clilocal Homebrew formula metadata
概览
CLI tool for creating, reading and editing torrent files
历史
torf-cli is a command-line interface around the Python torf library for creating, reading, editing, and verifying BitTorrent .torrent files and magnet URIs.
The official README presents torf-cli as a focused packaging of torrent metadata operations for terminal users. It depends only on torf and pyxdg, provides both human-readable output and parseable output for standard CLI tools, and ships documentation as a man page mirrored on the project's GitHub Pages site.
The tool's history is best understood as part of the BitTorrent metainfo tooling niche: rather than being a downloader, it handles the .torrent metadata layer, including creating torrents, inspecting existing torrents, editing fields such as comments, verifying files against torrent metadata, and reusing existing piece hashes to avoid rehashing.
Official installation notes say the latest release is available on PyPI and AUR, and recommend pipx as the cleanest install method. The input package facts add Homebrew packaging, which places torf-cli in the package-manager niche for users who want a single torf executable rather than writing Python against the torf library.
The README examples show creating private torrents with trackers and fixed creation dates, displaying torrent information, editing an existing torrent into a revised output file, verifying a filesystem path against torrent contents with detailed errors, and emitting JSON/metainfo that can be piped into tools such as grep, cut, and jq.
For package nerds, torf-cli is useful because it makes BitTorrent metadata reproducible and scriptable. It can fit into release pipelines, archival workflows, tracker/private-torrent preparation, and integrity checks without opening a graphical torrent client.
torf-cli is significant in a narrow but real CLI niche: it turns torrent metainfo into inspectable, editable, and automatable terminal output. Its package-manager value is strongest for users who manage torrent files as artifacts and want predictable command output and JSON for shell pipelines.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
torf | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:torf-cli |
|---|---|
| 版本 | 5.2.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/rndusr/torf-cli |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.