mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
Updated Features (markdown)
parent
4d694ae66d
commit
6994db806d
1 changed files with 57 additions and 3 deletions
60
Features.md
60
Features.md
|
|
@ -18,11 +18,11 @@ Ftp storage provides following filters:
|
|||
|
||||
_* `yggtracker` is default namespace and depends of `APP_TORRENT_WANTED_FTP_FOLDER` settings, provided in `.env`_
|
||||
|
||||
When the wanted torrent get at least one seeder, YGGtracker scraper (which running with [Crontab](https://github.com/YGGverse/YGGtracker/wiki/Crontab)) auto-removes deprecated files from storage.
|
||||
When the wanted torrent get at least one seeder, YGGtracker scraper (which running in [Crontab](https://github.com/YGGverse/YGGtracker/wiki/Crontab)) auto-removes deprecated files from storage.
|
||||
|
||||
On Linux systems, remote FTP folder could be mounted using [curlftpfs](https://curlftpfs.sourceforge.net/), [rclone](https://rclone.org/) and other tools.
|
||||
|
||||
### Server setup
|
||||
### FTP setup
|
||||
|
||||
Example of FTP server setup on Debian-based systems, where YGGtracker installation placed in `/var/www/YGGverse/YGGtracker` directory
|
||||
|
||||
|
|
@ -61,4 +61,58 @@ ufw allow proto tcp from 0200::/7 to any port 40000:50000
|
|||
|
||||
```
|
||||
service vsftpd restart
|
||||
```
|
||||
```
|
||||
|
||||
### BitTorrent client setup
|
||||
|
||||
Popular clients like qBittorrent, Transmission, etc allows to listen local directory for new torrents and auto download them. This feature pretty useful for YGGtracker instance administrators or independent seedbox operators who interested in Yggdrasil popularity grow.
|
||||
|
||||
On this example used `qbittorrent-nox` server-side client to auto-sync and download wanted files.
|
||||
|
||||
1. As our files hosted on remote FTP server, and bittorrent clients usually works with local directory only, let's mount `/yggtracker/torrents/wanted/all` directory using `rclone`
|
||||
|
||||
```
|
||||
apt install rclone
|
||||
```
|
||||
2. At second step, we need to create remote FTP configuration
|
||||
|
||||
```
|
||||
rclone config
|
||||
|
||||
n) New remote
|
||||
|
||||
name> yggtracker
|
||||
Storage> ftp
|
||||
host> [201:23b4:991a:634d:8359:4521:5576:15b7] // official node
|
||||
port>21
|
||||
user>anonymous
|
||||
password>anonymous
|
||||
...
|
||||
|
||||
```
|
||||
Other by default.
|
||||
|
||||
3. Let's create mount dir and set permissions for `qbittorrent-nox` user/group
|
||||
|
||||
```
|
||||
mkdir /home/qbittorrent-nox/yggtracker
|
||||
chown qbittorrent-nox:qbittorrent-nox /home/qbittorrent-nox/yggtracker
|
||||
```
|
||||
4. Now we can mount remote storage to this folder
|
||||
|
||||
```
|
||||
rclone mount yggtracker:/yggtracker/torrents/wanted/all /home/qbittorrent-nox/yggtracker &
|
||||
```
|
||||
_* make sure that remote directory exists, as YGGtracker creates dirs only when wanted file available_
|
||||
|
||||
_** to unmount directory, use `umount /home/qbittorrent-nox/yggtracker`_
|
||||
|
||||
Make sure we have mounted remote folder successfully
|
||||
|
||||
```
|
||||
df -h
|
||||
```
|
||||
|
||||
5. In last step, lets provide `/home/qbittorrent-nox/yggtracker` folder in `qbittorrent-nox` web-UI:
|
||||
|
||||
Preferences - Download - Automatically add torrents from
|
||||
Loading…
Add table
Add a link
Reference in a new issue