User Tools

Site Tools


apps:tiny_tiny_rss

Tiny Tiny RSS

Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible. https://tt-rss.org/

Setup

For a full installation documentation see here: https://git.tt-rss.org/fox/tt-rss/wiki/InstallationNotes

example data:

db user: u_ttrss
db name: db_ttrss
db pass: <randompassword>

create empty db.

root@server:~# su - postgres
postgres@server:~$ psql
CREATE USER u_ttrss WITH PASSWORD '<randompassword>';
CREATE DATABASE db_ttrss OWNER u_ttrss;
\q

configure db access.

vi /etc/postgresql/9.1/main/pg_hba.conf

add this two lines.

host    db_ttrss      u_ttrss        127.0.0.1/32            md5
host    db_ttrss      u_ttrss        ::1/128                 md5

copy webroot files.

git clone https://tt-rss.org/git/tt-rss.git /var/www/domain.tld/tt-rss

Plugin

ff_feedcleaner

This is a plugin for Tiny Tiny RSS. It allows to modify the content of feeds before Tiny Tiny RSS parses them. Currently, the emphasis is on applying regular expressions to the feed data. https://github.com/wltb/ff_feedcleaner
git clone https://github.com/wltb/ff_feedcleaner /var/www/domain.tld/tt-rss/plugins.local/ff_feedcleaner

FeedCleaner config.

[
	{
		"URL_re": "#https?:\/\/.*\\.srf\\.ch\/.*#",
		"type": "regex",
		"pattern": "/<img [^>]*>/",
		"replacement": ""
	},
	{
		"URL_re": "#https?:\/\/.*\\.srf\\.ch\/.*#",
		"type": "regex",
		"pattern": "/<enclosure [^>]*>/",
		"replacement": ""
	},
	{
		"URL_re": "#.*#",
		"type": "regex",
		"pattern": "/<img [^>]*>/",
		"replacement": ""
	}
]
  1. remove img tags on srf.ch feed
  2. remove all enclosure tags (contains images)
  3. remove img tags on all feeds (replaces first rule)

Android

Setup Android client and buy unlocker for unlimited version.

Debugging

apps/tiny_tiny_rss.txt · Last modified: 2018-05-16 21:03 by root