An open API service indexing awesome lists of open source software.

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: 3 months ago
JSON representation

A FreshRSS extension for automatic feed refresh TTL based on the average frequency of entries.

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.

![Screenshot 2024-10-17 at 16-42-11 AutoTTL · Extensions · FreshRSS](https://github.com/user-attachments/assets/ba712811-d65b-4cd7-ba91-c8cba5c40d64)

# Testing

- `docker compose pull`
- `docker compose up`
- 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`.

Run `docker compose exec freshrss php /var/www/FreshRSS/app/actualize_script.php` to run the actualization script manually.