Simple utility to re-announce torrents for Deluge on a timed interval (single run or indefinitely via CRON)
Project description
Deluge Announce
A script that will announce torrents on a timed interval (CRON).
Prerequisites
- Python 3.10 or higher
- Docker (if using Docker setup)
Setup
Options for Use
- Docker (link)
Running the Docker Container
To run the Docker container with the appropriate environment variables, use the following command:
docker run -e "WEB_URL=<your_web_url>" -e "PASSWORD=<your_web_url_password>" -e "CRON_SCHEDULE=0 * * * *" -v "app_data:/app_data"
This command will mount the app_data volume to persist logs across container restarts.
Checking Logs
Outside of Docker, you can view the logs in ./app_data/logs/.
Notes
- The
app_datavolume is used for persistent storage. - If you're running the script outside Docker, the
app_datafolder will be created in your local directory to store logs and the database. - The cron_schedule format follows standard cron syntax for scheduling tasks. For example,
0 * * * *runs the script every hour.
Troubleshooting
- Error Logs: If something goes wrong, check the logs at
./app_data/logs/for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deluge_announce-0.1.0.tar.gz.
File metadata
- Download URL: deluge_announce-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
144fa2ec996ed9ebd84a64ff2a859e019f4d5a6fadb13acb4f976fc1a6838fba
|
|
| MD5 |
98be5ceb529004327fe7ccf0daa13c04
|
|
| BLAKE2b-256 |
845036b4065185301814d8bfd5996c4ebaff0b99f582e0e6b8a251910ea758f5
|
File details
Details for the file deluge_announce-0.1.0-py3-none-any.whl.
File metadata
- Download URL: deluge_announce-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c6370a8840dac08b461c9ac5035dd407e89b329afc91ff8a0ee98da102e4f7d
|
|
| MD5 |
566d4a27ffa40f533ba1e0e7b33aa2f0
|
|
| BLAKE2b-256 |
163d54630df8dafac13ebd27cdc479b300cf83f8689750ce23f51e74cf183e04
|