Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qianbinbin/transmission-add-trackers
为 Transmission 自动添加 Tracker 服务器 | For Transmission to add trackers automatically
https://github.com/qianbinbin/transmission-add-trackers
bittorrent torrent transmission transmission-daemon
Last synced: 3 months ago
JSON representation
为 Transmission 自动添加 Tracker 服务器 | For Transmission to add trackers automatically
- Host: GitHub
- URL: https://github.com/qianbinbin/transmission-add-trackers
- Owner: qianbinbin
- License: mit
- Created: 2023-05-09T17:42:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-03T14:38:17.000Z (10 months ago)
- Last Synced: 2024-03-03T15:38:19.655Z (10 months ago)
- Topics: bittorrent, torrent, transmission, transmission-daemon
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[English](#English)
Transmission 辅助脚本,自动添加 Tracker 服务器。
## 使用
```sh
$ curl https://raw.githubusercontent.com/qianbinbin/transmission-add-trackers/master/trans-add-trackers.sh -o /path/to/trans-add-trackers.sh
$ chmod +x /path/to/trans-add-trackers.sh
```编辑脚本,按需修改以下参数:
```sh
# 主机:端口
# 通常无需修改
HOST="localhost:9091"# 用户名:密码
AUTH="username:password"
```然后运行即可。
### Systemd
```sh
$ curl https://raw.githubusercontent.com/qianbinbin/transmission-add-trackers/master/transmission-add-trackers.service -o /etc/systemd/system/transmission-add-trackers.service
```修改 `/etc/systemd/system/transmission-add-trackers.service` 中以下参数:
```sh
# 用户
User=debian-transmission
# 脚本路径
ExecStart=/path/to/trans-add-trackers.sh
```执行:
```sh
$ systemctl daemon-reload
$ systemctl enable transmission-add-trackers.service # 开机启动
$ systemctl start transmission-add-trackers.service # 立即启动
$ systemctl status transmission-add-trackers.service # 查看状态
```## 已知问题
- [不支持 WebSocket Tracker 服务器](https://github.com/transmission/transmission/issues/5509)。
- `transmission-remote` 无法正确获取已添加的 IPv6 Tracker 服务器,导致重复添加时失败。## 感谢
- https://github.com/XIU2/TrackersListCollection
# English
A shell script for Transmission to add trackers automatically.
## Usage
```sh
$ curl https://raw.githubusercontent.com/qianbinbin/transmission-add-trackers/master/trans-add-trackers.sh -o /path/to/trans-add-trackers.sh
$ chmod +x /path/to/trans-add-trackers.sh
```Change these values in the script:
```sh
# host:port
# Usually no need to change
HOST="localhost:9091"AUTH="username:password"
```Then run the script.
### Systemd
```sh
$ curl https://raw.githubusercontent.com/qianbinbin/transmission-add-trackers/master/transmission-add-trackers.service -o /etc/systemd/system/transmission-add-trackers.service
```Edit `/etc/systemd/system/transmission-add-trackers.service`:
```sh
User=debian-transmission
ExecStart=/path/to/trans-add-trackers.sh
```Then:
```sh
$ systemctl daemon-reload
$ systemctl enable transmission-add-trackers.service
$ systemctl start transmission-add-trackers.service
$ systemctl status transmission-add-trackers.service
```## Known issues
- [Doesn't support WebSocket trackers](https://github.com/transmission/transmission/issues/5509).
- Can't retrieve existing IPv6 trackers with `transmission-remote` properly, which will cause errors when adding duplicates.## Credits
- https://github.com/XIU2/TrackersListCollection