https://github.com/mgnsk/FreshRSS-AutoTTL
A FreshRSS extension for automatic feed refresh TTL based on the average frequency of entries.
https://github.com/mgnsk/FreshRSS-AutoTTL
automatic freshrss freshrss-extension rss ttl
Last synced: about 1 year ago
JSON representation
A FreshRSS extension for automatic feed refresh TTL based on the average frequency of entries.
- Host: GitHub
- URL: https://github.com/mgnsk/FreshRSS-AutoTTL
- Owner: mgnsk
- License: agpl-3.0
- Created: 2023-02-03T15:25:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T14:27:01.000Z (over 1 year ago)
- Last Synced: 2024-10-19T17:45:46.573Z (over 1 year ago)
- Topics: automatic, freshrss, freshrss-extension, rss, ttl
- Language: PHP
- Homepage:
- Size: 84 KB
- Stars: 25
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FreshRSS-AutoTTL extension
A FreshRSS extension for automatic feed refresh TTL based on the average frequency of entries.
It dynamically adjusts the update TTL of feeds which use the default TTL option.
# Configuration
The main configurable value is the max TTL.
Feeds that use the default TTL are updated at an interval between the default and max TTL.
It is recommended to configure max TTL to be greater than default TTL.
For example with default TTL of `1h` and max TTL of `1d`, a feed is updated at least once per day but no more often than once per hour
depending on the average frequency of entries.
When a feed becomes idle (the last entry is more than 2x max TTL ago), the feed will fall back to be updated once every max TTL until the feed becomes active again.

# Testing
Run `docker compose up` and open browser at `http://localhost:8080`.
## MySQL credentials
Host: `mysql`
Username: `freshrss`
Password: `freshrss`
Database: `freshrss`
## PostgreSQL credentials
Host: `postgres`
Username: `freshrss`
Password: `freshrss`
Database: `freshrss`
To reset, run `docker compose down`.