An auto fetch, filter, download and load torrents automation program.
Written in Typescript, type safed.
npm i --production
cp config-example.ts config.ts
vim config.ts
npm start
To config pt-autorss, you would learn a little about Javascript.
Recommend using Visual Studio Code to edit the config.ts
, which has full support of error and syntax hints.
More custom rule see lib/NexusPHP-utils.ts
.
PR welcome.
If you have root access, use this template.
[Unit]
Description=pt-autorss
After=network-online.target
[Service]
Type=simple
User=userTest
Group=groupTest
UMask=007
WorkingDirectory=/somedir/pt-autorss
ExecStart=/usr/bin/npm start
Restart=on-failure
[Install]
WantedBy=multi-user.target
And put the file into /etc/systemd/system/pt-autorss.service
Usage: systemctl start/stop/restart/enable/disable pt-autorss.service
View log: journalctl -u pt-autorss